@modern-js/monorepo-generator 1.3.3 → 1.4.0
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/dist/js/node/main.js +38648 -20565
- package/package.json +7 -7
- package/templates/base-template/.eslintrc.js.handlebars +4 -0
- package/templates/base-template/monorepo.code-workspace +6 -8
- package/templates/base-template/package.json.handlebars +7 -11
- package/templates/base-template/tsconfig.json +0 -7
- package/templates/pnpm-template/.npmrc.handlebars +0 -14
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.4.0",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"main": "./dist/js/node/main.js",
|
17
17
|
"files": [
|
@@ -20,15 +20,15 @@
|
|
20
20
|
],
|
21
21
|
"devDependencies": {
|
22
22
|
"@babel/runtime": "^7",
|
23
|
-
"@modern-js/base-generator": "^1.
|
24
|
-
"@modern-js/changeset-generator": "^1.
|
25
|
-
"@modern-js/plugin-i18n": "^1.2.
|
23
|
+
"@modern-js/base-generator": "^1.4.0",
|
24
|
+
"@modern-js/changeset-generator": "^1.3.0",
|
25
|
+
"@modern-js/plugin-i18n": "^1.2.4",
|
26
26
|
"@modern-js/codesmith": "^1.0.8",
|
27
27
|
"@modern-js/codesmith-api-app": "^1.0.8",
|
28
|
-
"@modern-js/codesmith-tools": "^1.0
|
28
|
+
"@modern-js/codesmith-tools": "^1.1.0",
|
29
29
|
"@modern-js/codesmith-api-json": "^1.0.7",
|
30
|
-
"@modern-js/generator-common": "^1.4.
|
31
|
-
"@modern-js/generator-utils": "^1.2.
|
30
|
+
"@modern-js/generator-common": "^1.4.9",
|
31
|
+
"@modern-js/generator-utils": "^1.2.2",
|
32
32
|
"@scripts/build": "0.0.0",
|
33
33
|
"@types/jest": "^26",
|
34
34
|
"@types/node": "^14",
|
@@ -61,23 +61,21 @@
|
|
61
61
|
//
|
62
62
|
"cSpell.diagnosticLevel": "Hint",
|
63
63
|
"[javascript]": {
|
64
|
-
"editor.defaultFormatter": "
|
64
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
65
65
|
},
|
66
66
|
"[javascriptreact]": {
|
67
|
-
"editor.defaultFormatter": "
|
67
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
68
68
|
},
|
69
69
|
"[typescript]": {
|
70
|
-
"editor.defaultFormatter": "
|
70
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
71
71
|
},
|
72
72
|
"[typescriptreact]": {
|
73
|
-
"editor.defaultFormatter": "
|
73
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
74
74
|
},
|
75
75
|
"[vue]": {
|
76
|
-
"editor.defaultFormatter": "
|
76
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
77
77
|
},
|
78
78
|
"eslint.alwaysShowStatus": true,
|
79
|
-
// "eslint.nodePath": "./node_modules",
|
80
|
-
// "eslint.packageManager": "yarn",
|
81
79
|
"eslint.run": "onType",
|
82
80
|
"eslint.options": {
|
83
81
|
"rules": {
|
@@ -154,4 +152,4 @@
|
|
154
152
|
"typescript.tsdk": "node_modules/typescript/lib",
|
155
153
|
"deno.enable": false
|
156
154
|
}
|
157
|
-
}
|
155
|
+
}
|
@@ -14,11 +14,6 @@
|
|
14
14
|
"engines": {
|
15
15
|
"node": ">=14.17.6"
|
16
16
|
},
|
17
|
-
"eslintConfig": {
|
18
|
-
"extends": [
|
19
|
-
"@modern-js"
|
20
|
-
]
|
21
|
-
},
|
22
17
|
"husky": {
|
23
18
|
"hooks": {
|
24
19
|
"pre-commit": "lint-staged"
|
@@ -26,12 +21,10 @@
|
|
26
21
|
},
|
27
22
|
"lint-staged": {
|
28
23
|
"*.{ts,tsx}": [
|
29
|
-
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
|
30
|
-
"git add"
|
24
|
+
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
|
31
25
|
],
|
32
26
|
"*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
|
33
|
-
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
|
34
|
-
"git add"
|
27
|
+
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
|
35
28
|
]
|
36
29
|
},
|
37
30
|
"eslintIgnore": [
|
@@ -48,9 +41,12 @@
|
|
48
41
|
]
|
49
42
|
},
|
50
43
|
"devDependencies": {
|
51
|
-
"@modern-js/core": "^1.0.0",
|
52
44
|
"@modern-js/monorepo-tools": "^1.2.0",
|
53
|
-
"@modern-js/plugin-jarvis": "^1.1.1"
|
45
|
+
"@modern-js/plugin-jarvis": "^1.1.1",
|
46
|
+
"@modern-js/tsconfig":"^1.0.0",
|
47
|
+
"del-cli": "^4.0.1",
|
48
|
+
"lint-staged": "^11.2.6",
|
49
|
+
"prettier": "^2.6.2"
|
54
50
|
},
|
55
51
|
"publishConfig": {
|
56
52
|
"access": "public",
|
@@ -1,14 +0,0 @@
|
|
1
|
-
public-hoist-pattern[]=@modern-js/eslint-config
|
2
|
-
public-hoist-pattern[]=@modern-js-app/eslint-config
|
3
|
-
public-hoist-pattern[]=@babel/eslint-plugin
|
4
|
-
public-hoist-pattern[]=@modern-js/tsconfig
|
5
|
-
public-hoist-pattern[]=@typescript-eslint/eslint-plugin
|
6
|
-
public-hoist-pattern[]=@commitlint/cli
|
7
|
-
public-hoist-pattern[]=lint-staged
|
8
|
-
public-hoist-pattern[]=eslint
|
9
|
-
public-hoist-pattern[]=prettier
|
10
|
-
public-hoist-pattern[]=@babel/eslint-parser
|
11
|
-
public-hoist-pattern[]=eslint-plugin-*
|
12
|
-
public-hoist-pattern[]=*eslint*
|
13
|
-
public-hoist-pattern[]=ts-transform-paths
|
14
|
-
public-hoist-pattern[]=tailwindcss
|