Skip to content

Commit 1027724

Browse files
author
Daniel Del Core
committed
changesets
1 parent bc7414f commit 1027724

File tree

6 files changed

+28
-21
lines changed

6 files changed

+28
-21
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

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',

tsconfig.community.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"composite": true,
4-
"strict": true,
5-
"skipLibCheck": true,
6-
"resolveJsonModule": true,
7-
"esModuleInterop": true
8-
},
9-
"include": ["community/**/*", "scripts"],
10-
"exclude": [
11-
"node_modules",
12-
"plugin_packages",
13-
"dist",
14-
"__tests__",
15-
"**/*.test*",
16-
"**/*.spec*"
17-
]
2+
"extends": "./tsconfig.json",
3+
"include": ["community/**/*", "scripts"]
184
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3570,7 +3570,7 @@ color-name@~1.1.4:
35703570

35713571
colors@1.4.0:
35723572
version "1.4.0"
3573-
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
3573+
resolved "https://packages.atlassian.com/api/npm/npm-remote/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
35743574
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
35753575

35763576
combined-stream@^1.0.8:

0 commit comments

Comments
 (0)