Skip to content

Commit

Permalink
feat: update codesmith version (#6104)
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin authored Aug 21, 2024
1 parent a1a9373 commit 7715b6d
Show file tree
Hide file tree
Showing 27 changed files with 250 additions and 220 deletions.
31 changes: 31 additions & 0 deletions .changeset/cold-fans-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
'@modern-js/storybook-next-generator': patch
'@modern-js/tailwindcss-generator': patch
'@modern-js/dependence-generator': patch
'@modern-js/module-doc-generator': patch
'@modern-js/changeset-generator': patch
'@modern-js/generator-generator': patch
'@modern-js/router-v5-generator': patch
'@modern-js/packages-generator': patch
'@modern-js/upgrade-generator': patch
'@modern-js/module-generator': patch
'@modern-js/server-generator': patch
'@modern-js/entry-generator': patch
'@modern-js/base-generator': patch
'@modern-js/repo-generator': patch
'@modern-js/bff-generator': patch
'@modern-js/mwa-generator': patch
'@modern-js/ssg-generator': patch
'@modern-js/generator-common': patch
'@modern-js/generator-plugin': patch
'@modern-js/generator-utils': patch
'@modern-js/sandpack-react': patch
'@modern-js/runtime-utils': patch
'@modern-js/new-action': patch
'@modern-js/upgrade': patch
'@modern-js/create': patch
---

feat: update codesmith version

feat: 更新 codesmith 版本
6 changes: 3 additions & 3 deletions packages/generator/generator-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@modern-js/codesmith-formily": "2.4.0",
"@modern-js/codesmith-formily": "2.4.1",
"@modern-js/plugin-i18n": "workspace:*",
"@swc/helpers": "0.5.3"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/utils": "workspace:*",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
Expand Down
10 changes: 5 additions & 5 deletions packages/generator/generator-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"test": "jest"
},
"dependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-git": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith-api-npm": "2.4.0",
"@modern-js/codesmith-formily": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-git": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/codesmith-api-npm": "2.4.1",
"@modern-js/codesmith-formily": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/new-action": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/generator-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@swc/helpers": "0.5.3"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
"@types/jest": "^29",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/generators/base-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@scripts/build": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/generators/bff-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/generators/entry-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-handlebars": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-handlebars": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/module-generator": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/generators/module-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"devDependencies": {
"@modern-js/base-generator": "workspace:*",
"@modern-js/changeset-generator": "workspace:*",
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/generators/mwa-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
},
"devDependencies": {
"@modern-js/base-generator": "workspace:*",
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/entry-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/generators/packages-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@scripts/build": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/generators/repo-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
},
"devDependencies": {
"@modern-js/base-generator": "workspace:*",
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-plugin": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/generators/server-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/generators/ssg-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"@modern-js/utils": "workspace:*"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/dependence-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/generators/upgrade-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-api-app": "2.4.0",
"@modern-js/codesmith-api-json": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-api-app": "2.4.1",
"@modern-js/codesmith-api-json": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/new-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith-formily": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/codesmith-formily": "2.4.1",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
"@modern-js/utils": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/sandpack-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@modern-js/base-generator": "workspace:*",
"@modern-js/codesmith-api-handlebars": "2.4.0",
"@modern-js/codesmith-api-handlebars": "2.4.1",
"@modern-js/entry-generator": "workspace:*",
"@modern-js/generator-common": "workspace:*",
"@modern-js/generator-utils": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/generator-plugin-plugin": "workspace:*",
"@modern-js/plugin-i18n": "workspace:*",
"@modern-js/repo-generator": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/runtime-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"default": "./dist/esm/router.js"
},
"./remix-router": {
"types": "./dist/types/remixRouter.d.ts",
"types": "./dist/types/remixRouter.d.ts",
"jsnext:source": "./src/remixRouter.ts",
"require": "./dist/cjs/remixRouter.js",
"default": "./dist/esm/remixRouter.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/upgrade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@modern-js/codesmith": "2.4.0",
"@modern-js/codesmith": "2.4.1",
"@modern-js/plugin-i18n": "workspace:*",
"@modern-js/utils": "workspace:*",
"@swc/helpers": "0.5.3"
Expand Down
Loading

0 comments on commit 7715b6d

Please sign in to comment.