@modern-js/generator-utils 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/js/modern/index.js +1 -1
- package/dist/js/modern/locale/en.js +1 -1
- package/dist/js/modern/locale/zh.js +1 -1
- package/dist/js/node/index.js +1 -1
- package/dist/js/node/locale/en.js +1 -1
- package/dist/js/node/locale/zh.js +1 -1
- package/dist/types/locale/en.d.ts +1 -1
- package/dist/types/locale/index.d.ts +2 -2
- package/dist/types/locale/zh.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @modern-js/generator-utils
|
|
2
2
|
|
|
3
|
+
## 1.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6b0bb5e3b: feat: bump codesmith version
|
|
8
|
+
- 69a728375: fix: remove exports.jsnext:source after publish
|
|
9
|
+
- Updated dependencies [cd7346b0d]
|
|
10
|
+
- Updated dependencies [69a728375]
|
|
11
|
+
- @modern-js/utils@1.7.2
|
|
12
|
+
- @modern-js/plugin-i18n@1.2.5
|
|
13
|
+
|
|
3
14
|
## 1.2.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/js/modern/index.js
CHANGED
|
@@ -99,7 +99,7 @@ export function validatePackagePath(value, projectDir, options) {
|
|
|
99
99
|
if (fs.existsSync(packageDir)) {
|
|
100
100
|
return {
|
|
101
101
|
success: false,
|
|
102
|
-
error: i18n.t(localeKeys.
|
|
102
|
+
error: i18n.t(localeKeys.packagePath.exit, {
|
|
103
103
|
value
|
|
104
104
|
})
|
|
105
105
|
};
|
package/dist/js/node/index.js
CHANGED
|
@@ -197,7 +197,7 @@ function validatePackagePath(value, projectDir, options) {
|
|
|
197
197
|
if (_utils.fs.existsSync(packageDir)) {
|
|
198
198
|
return {
|
|
199
199
|
success: false,
|
|
200
|
-
error: _locale.i18n.t(_locale.localeKeys.
|
|
200
|
+
error: _locale.i18n.t(_locale.localeKeys.packagePath.exit, {
|
|
201
201
|
value
|
|
202
202
|
})
|
|
203
203
|
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.2.
|
|
14
|
+
"version": "1.2.4",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7",
|
|
32
|
-
"@modern-js/plugin-i18n": "^1.2.
|
|
33
|
-
"@modern-js/utils": "^1.
|
|
32
|
+
"@modern-js/plugin-i18n": "^1.2.5",
|
|
33
|
+
"@modern-js/utils": "^1.7.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@modern-js/codesmith": "^1.0.
|
|
36
|
+
"@modern-js/codesmith": "^1.0.10",
|
|
37
37
|
"@types/jest": "^26",
|
|
38
38
|
"@types/node": "^14",
|
|
39
39
|
"typescript": "^4",
|