Skip to content

Commit dfbd396

Browse files
author
Daniel Del Core
committed
changesets
1 parent e20d66a commit dfbd396

File tree

18 files changed

+68
-381
lines changed

18 files changed

+68
-381
lines changed

.changeset/light-pumas-give.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@codeshift/cli': minor
3+
'@hypermod/cli': minor
4+
---
5+
6+
Implements alternate dependency downloader which is available via the --experimental-loader flag

.changeset/nice-eels-kick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@hypermod/fetcher': patch
3+
---
4+
5+
Added blacklist to remote package fetcher to ensure dependencies such as `javascript` aren't downloaded since they will never contain a hypermod.config file.

.changeset/sour-plants-exist.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@hypermod/initializer': patch
3+
'@codeshift/cli': patch
4+
'@hypermod/validator': patch
5+
'@hypermod/fetcher': patch
6+
'@hypermod/types': patch
7+
'@hypermod/utils': patch
8+
'@hypermod/core': patch
9+
'@hypermod/cli': patch
10+
---
11+
12+
Moves package bundling from Parceljs to TSC

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"docs:start": "cd website && yarn start",
1212
"postinstall": "yarn monorepo:check",
1313
"build": "yarn build:pkgs && yarn build:community",
14-
"build:pkgs": "yarn build:pkgs:clean && tsc --build",
14+
"build:pkgs": "yarn build:pkgs:clean && tsc --build tsconfig.packages.json",
1515
"build:pkgs:clean": "rm -rf packages/*/dist && rm -rf packages/*/tsconfig.tsbuildinfo",
1616
"build:pkgs:watch": "tsc --build --watch",
1717
"build:community": "parcel build community/*",

packages/cli-alias/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.packages.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",

packages/cli/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.packages.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
66
"baseUrl": "./",
77
"target": "es6",
88
"module": "commonjs",
9-
"esModuleInterop": true,
10-
"resolveJsonModule": true,
119
"moduleResolution": "node",
1210
"lib": [
1311
"es5",

packages/core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.packages.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",

packages/fetcher/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.packages.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",

packages/initializer/src/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import fs from 'fs-extra';
22
import path from 'path';
33
import semver from 'semver';
44
import * as recast from 'recast';
5-
import { version as cliVersion } from '@hypermod/cli/package.json';
6-
import { version as utilVersion } from '@hypermod/utils/package.json';
75

86
const TEMPLATE_PATH = path.join(__dirname, '..', 'template');
97

@@ -22,11 +20,11 @@ export function getPackageJson(packageName: string, version = '0.0.0') {
2220
validate: 'hypermod validate .',
2321
},
2422
dependencies: {
25-
'@hypermod/utils': `^${utilVersion}`,
23+
'@hypermod/utils': `^0.3.0`,
2624
jscodeshift: '^0.13.1',
2725
},
2826
devDependencies: {
29-
'@hypermod/cli': `^${cliVersion}`,
27+
'@hypermod/cli': 'latest',
3028
'@types/jest': '^26.0.15',
3129
'@types/node': '^16.11.0',
3230
jest: '^26.6.0',

packages/initializer/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.packages.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",

0 commit comments

Comments
 (0)