Skip to content

Commit

Permalink
feat: revert i18n plugin change && update codesmith version
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Oct 14, 2024
1 parent 6c2fd6b commit 617a412
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,18 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"@modern-js/plugin-i18n":"workspace:*",
"@modern-js/codesmith-api-app":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-ejs":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-fs":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-git":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-handlebars":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-json":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-api-npm":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-cli":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-formily":"0.0.0-canary-20240930083622",
"@modern-js/codesmith":"0.0.0-canary-20240930083622",
"@modern-js/inquirer-types":"0.0.0-canary-20240930083622",
"@modern-js/codesmith-utils":"0.0.0-canary-20240930083622"
"@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"
},
"peerDependencyRules": {
"allowedVersions": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/plugin-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@swc/helpers": "0.5.13",
"@modern-js/codesmith-utils": "2.5.1"
"@modern-js/utils": "workspace:*",
"@swc/helpers": "0.5.13"
},
"devDependencies": {
"@scripts/build": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-i18n/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { get } from '@modern-js/codesmith-utils/lodash';
import { get } from '@modern-js/utils/lodash';
import { getObjKeyMap } from './utils';

type Language = string;
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-i18n/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isObject, isString } from '@modern-js/codesmith-utils/lodash';
import { isObject, isString } from '@modern-js/utils/lodash';

interface ITem {
[key: string]: string | ITem;
Expand Down

0 comments on commit 617a412

Please sign in to comment.