@modern-js/ssg-generator 3.4.14 → 3.4.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +16440 -16468
- package/package.json +10 -10
- package/src/index.ts +1 -2
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.4.
|
18
|
+
"version": "3.4.16",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -23,21 +23,21 @@
|
|
23
23
|
"/dist/index.js"
|
24
24
|
],
|
25
25
|
"dependencies": {
|
26
|
-
"@modern-js/utils": "2.58.
|
26
|
+
"@modern-js/utils": "2.58.2"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
|
-
"@modern-js/codesmith": "2.
|
30
|
-
"@modern-js/codesmith-api-app": "2.
|
29
|
+
"@modern-js/codesmith": "2.4.1",
|
30
|
+
"@modern-js/codesmith-api-app": "2.4.1",
|
31
31
|
"@types/jest": "^29",
|
32
32
|
"@types/node": "^14",
|
33
33
|
"jest": "^29",
|
34
34
|
"typescript": "^5",
|
35
|
-
"@modern-js/dependence-generator": "3.4.
|
36
|
-
"@modern-js/generator-common": "3.4.
|
37
|
-
"@
|
38
|
-
"@modern-js/plugin-i18n": "2.58.
|
39
|
-
"@
|
40
|
-
"@scripts/jest-config": "2.58.
|
35
|
+
"@modern-js/dependence-generator": "3.4.16",
|
36
|
+
"@modern-js/generator-common": "3.4.16",
|
37
|
+
"@modern-js/generator-utils": "3.4.16",
|
38
|
+
"@modern-js/plugin-i18n": "2.58.2",
|
39
|
+
"@scripts/build": "2.58.2",
|
40
|
+
"@scripts/jest-config": "2.58.2"
|
41
41
|
},
|
42
42
|
"sideEffects": false,
|
43
43
|
"publishConfig": {
|
package/src/index.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
1
|
+
import type { GeneratorContext, GeneratorCore } from '@modern-js/codesmith';
|
2
2
|
import { AppAPI } from '@modern-js/codesmith-api-app';
|
3
3
|
import {
|
4
4
|
chalk,
|
@@ -34,7 +34,6 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
|
|
34
34
|
appApi.i18n.changeLanguage({ locale });
|
35
35
|
|
36
36
|
if (!(await appApi.checkEnvironment())) {
|
37
|
-
// eslint-disable-next-line no-process-exit
|
38
37
|
process.exit(1);
|
39
38
|
}
|
40
39
|
|