Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat codesmith #12

Merged
merged 2 commits into from Oct 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/api/app/CHANGELOG.md
@@ -1,5 +1,18 @@
# @modern-js/codesmith-api-app

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith-api-git@1.0.2
- @modern-js/codesmith-api-handlebars@1.0.2
- @modern-js/codesmith-api-npm@1.0.2
- @modern-js/codesmith@1.0.2
- @modern-js/easy-form-cli@1.0.2
- @modern-js/inquirer-types@1.0.2

## 1.0.1

### Patch Changes
Expand Down
14 changes: 7 additions & 7 deletions packages/api/app/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down Expand Up @@ -39,12 +39,12 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith-api-git": "workspace:^1.0.1",
"@modern-js/codesmith-api-handlebars": "workspace:^1.0.1",
"@modern-js/codesmith-api-npm": "workspace:^1.0.1",
"@modern-js/easy-form-cli": "workspace:^1.0.1",
"@modern-js/inquirer-types": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"@modern-js/codesmith-api-git": "workspace:^1.0.2",
"@modern-js/codesmith-api-handlebars": "workspace:^1.0.2",
"@modern-js/codesmith-api-npm": "workspace:^1.0.2",
"@modern-js/easy-form-cli": "workspace:^1.0.2",
"@modern-js/inquirer-types": "workspace:^1.0.2",
"@modern-js/plugin-i18n": "^1.0.0-rc.2",
"comment-json": "^4.1.1",
"execa": "^5.1.1",
Expand Down
8 changes: 8 additions & 0 deletions packages/api/fs/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/codesmith-api-fs

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/fs/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1"
"@modern-js/codesmith": "workspace:^1.0.2"
},
"devDependencies": {
"@modern-js/module-tools": "^1.0.0-rc.2",
Expand Down
8 changes: 8 additions & 0 deletions packages/api/git/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/codesmith-api-git

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/git/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"execa": "^5.1.1",
"fs-extra": "^10.0.0"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/api/handlebars/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/codesmith-api-handlebars

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/handlebars/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"handlebars": "^4.7.7"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/api/json/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/codesmith-api-json

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/json/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand All @@ -37,7 +37,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"comment-json": "^4.1.1",
"declaration-update": "^0.0.2"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/api/npm/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/codesmith-api-npm

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/codesmith@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/npm/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"execa": "^5.1.1"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/api/npm/src/utils/install.ts
Expand Up @@ -18,7 +18,7 @@ export function execaWithStreamLog(
export async function npmInstall(cwd: string, registryUrl?: string) {
const canUse = await canUseNpm();
if (canUse) {
const params = ['install', '--ignore-scripts'];
const params = ['install'];
if (registryUrl) {
params.push(`--registry=${registryUrl}`);
}
Expand All @@ -33,7 +33,7 @@ export async function npmInstall(cwd: string, registryUrl?: string) {
export async function yarnInstall(cwd: string, registryUrl?: string) {
const canUse = await canUseYarn();
if (canUse) {
const params = ['install', '--ignore-scripts'];
const params = ['install'];
if (registryUrl) {
params.push(`--registry=${registryUrl}`);
}
Expand All @@ -45,7 +45,7 @@ export async function yarnInstall(cwd: string, registryUrl?: string) {
export async function pnpmInstall(cwd: string, registryUrl?: string) {
const canUse = await canUsePnpm();
if (canUse) {
const params = ['install', '--ignore-scripts'];
const params = ['install'];
if (registryUrl) {
params.push(`--registry=${registryUrl}`);
}
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
@@ -1,5 +1,11 @@
# @modern-js/codesmith-cli

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params

## 1.0.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/main.js",
Expand Down Expand Up @@ -46,8 +46,8 @@
"@babel/runtime": "^7",
"@modern-js/module-tools": "^1.0.0-rc.2",
"@modern-js/plugin-testing": "^1.0.0-rc.2",
"@modern-js/codesmith": "workspace:^1.0.1",
"@modern-js/codesmith-tools": "workspace:^1.0.1",
"@modern-js/codesmith": "workspace:^1.0.2",
"@modern-js/codesmith-tools": "workspace:^1.0.2",
"@modern-js/i18n-cli-language-detector": "^1.0.0-rc.2",
"@types/commander": "^2.12.2",
"@types/jest": "^26",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @modern-js/codesmith

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/easy-form/cli/CHANGELOG.md
@@ -1,5 +1,13 @@
# @modern-js/easy-form-cli

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params
- Updated dependencies [a6a1c5c]
- @modern-js/easy-form-core@1.0.2

## 1.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/easy-form/cli/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand All @@ -37,7 +37,7 @@
},
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/easy-form-core": "workspace:^1.0.1",
"@modern-js/easy-form-core": "workspace:^1.0.2",
"inquirer": "8.1.3",
"lodash": "^4.17.21",
"rxjs": "^6.6.7"
Expand Down
6 changes: 6 additions & 0 deletions packages/easy-form/core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @modern-js/easy-form-core

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/easy-form/core/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/inquirer/CHANGELOG.md
@@ -1,5 +1,11 @@
# @modern-js/inquirer-types

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/inquirer/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/tools/CHANGELOG.md
@@ -1,5 +1,11 @@
# @modern-js/codesmith-tools

## 1.0.2

### Patch Changes

- a6a1c5c: feat: remove run install '--ignore-scripts' params

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/package.json
Expand Up @@ -11,7 +11,7 @@
"modern",
"modern.js"
],
"version": "1.0.1",
"version": "1.0.2",
"jsnext:source": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"main": "./dist/js/node/index.js",
Expand Down