Skip to content

Commit

Permalink
feat: external codesmith utils subpath
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Oct 14, 2024
1 parent 534de78 commit a036f99
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,18 @@
"overrides": {
"@types/react": "^18",
"@types/react-dom": "^18",
"@modern-js/codesmith-api-app":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-ejs":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-fs":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-git":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-handlebars":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-json":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-api-npm":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-cli":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-formily":"0.0.0-canary-20241012064243",
"@modern-js/codesmith":"0.0.0-canary-20241012064243",
"@modern-js/inquirer-types":"0.0.0-canary-20241012064243",
"@modern-js/codesmith-utils":"0.0.0-canary-20241012064243"
"@modern-js/codesmith-api-app":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-ejs":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-fs":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-git":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-handlebars":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-json":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-api-npm":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-cli":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-formily":"0.0.0-canary-20241014021243",
"@modern-js/codesmith":"0.0.0-canary-20241014021243",
"@modern-js/inquirer-types":"0.0.0-canary-20241014021243",
"@modern-js/codesmith-utils":"0.0.0-canary-20241014021243"
},
"peerDependencyRules": {
"allowedVersions": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/build/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ const generatorBuildConfig = {
'@modern-js/codesmith-api-json': 'codesmithApiJson',
'@modern-js/codesmith-formily': 'codesmithFormily',
'@modern-js/codesmith-utils': 'codesmithUtils',
'@modern-js/codesmith-utils/lodash': 'codesmithLodashUtils',
'@modern-js/codesmith-utils/glob': 'codesmithGlobUtils',
'@modern-js/codesmith-utils/fs-extra': 'codesmithFsUtils',
'@modern-js/codesmith-utils/chalk': 'codesmithChalkUtils',
'@modern-js/codesmith-utils/execa': 'codesmithExecaUtils',
'@modern-js/codesmith-utils/npm': 'codesmithNpmUtils',
'@modern-js/codesmith-utils/ora': 'codesmithOraUtils',
'@modern-js/codesmith-utils/semver': 'codesmithSemverUtils',
'@modern-js/plugin-i18n': 'pluginI18N',
},
// externals: [
Expand Down

0 comments on commit a036f99

Please sign in to comment.