Skip to content

Commit

Permalink
feat: update modern.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Oct 12, 2024
1 parent 7ed5742 commit 1af7cd0
Show file tree
Hide file tree
Showing 14 changed files with 209 additions and 290 deletions.
6 changes: 3 additions & 3 deletions packages/api/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@modern-js/codesmith-api-npm": "workspace:*",
"@modern-js/codesmith-formily": "workspace:*",
"@modern-js/codesmith-utils": "workspace:*",
"@modern-js/plugin-i18n": "2.60.3-alpha.0",
"@modern-js/plugin-i18n": "2.60.3",
"comment-json": "^4.2.3",
"extra": "^0.2.1",
"inquirer": "8.1.3"
Expand All @@ -47,8 +47,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/inquirer": "^7.3.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class AppAPI {
}

public async checkEnvironment(nodeVersion?: string) {
if (semver.lt(process.versions.node, nodeVersion || '14.18.3')) {
if (semver.lt(process.versions.node, nodeVersion || '16.20.2')) {
this.generatorCore.logger.warn(
`🟡 ${i18n.t(localeKeys.environment.node_version)}`,
);
Expand Down
4 changes: 2 additions & 2 deletions packages/api/ejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/ejs": "^3.1.2",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
Expand Down
4 changes: 2 additions & 2 deletions packages/api/fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"typescript": "^4.9.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/api/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"typescript": "^4.9.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/api/handlebars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"typescript": "^4.9.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/api/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"declaration-update": "^0.0.2"
},
"devDependencies": {
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"typescript": "^4.9.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/api/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"typescript": "^4.9.5"
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"@swc/helpers": "0.5.1",
"@modern-js/codesmith": "workspace:*",
"@modern-js/codesmith-utils": "workspace:*",
"@modern-js/plugin-i18n": "2.60.3-alpha.0"
"@modern-js/plugin-i18n": "2.60.3"
},
"devDependencies": {
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"ts-node": "^10.9.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@modern-js/codesmith-utils": "workspace:*"
},
"devDependencies": {
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
"@types/tar": "^4.0.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/formily/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
},
"devDependencies": {
"@modern-js/codesmith": "workspace:*",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/inquirer": "^7.3.3",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.42",
Expand Down
4 changes: 2 additions & 2 deletions packages/global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"@modern-js/codesmith-api-json": "workspace:*",
"@modern-js/codesmith-formily": "workspace:*",
"@modern-js/codesmith-utils": "workspace:*",
"@modern-js/plugin-i18n": "2.60.3-alpha.0",
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-i18n": "2.60.3",
"@modern-js/module-tools": "2.60.3",
"@types/node": "^14",
"typescript": "^5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/inquirer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"@modern-js/codesmith-utils": "workspace:*"
},
"devDependencies": {
"@modern-js/module-tools": "2.60.2",
"@modern-js/plugin-testing": "2.60.2",
"@modern-js/module-tools": "2.60.3",
"@modern-js/plugin-testing": "2.60.3",
"@types/inquirer": "^7.3.3",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.192",
Expand Down
Loading

0 comments on commit 1af7cd0

Please sign in to comment.