@modern-js/monorepo-generator 2.3.4 → 2.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/index.js
CHANGED
@@ -132532,7 +132532,8 @@ var require_chainId2 = __commonJSMin((exports) => {
|
|
132532
132532
|
REACT_FAST_REFRESH: "react-fast-refresh",
|
132533
132533
|
NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
|
132534
132534
|
SUBRESOURCE_INTEGRITY: "subresource-integrity",
|
132535
|
-
ASSETS_RETRY: "ASSETS_RETRY"
|
132535
|
+
ASSETS_RETRY: "ASSETS_RETRY",
|
132536
|
+
AUTO_SET_ROOT_SIZE: "auto-set-root-size"
|
132536
132537
|
},
|
132537
132538
|
MINIMIZER: {
|
132538
132539
|
JS: "js",
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "2.
|
14
|
+
"version": "2.4.0",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"main": "./dist/index.js",
|
17
17
|
"files": [
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"devDependencies": {
|
22
22
|
"@babel/runtime": "^7.18.0",
|
23
|
-
"@modern-js/base-generator": "2.
|
23
|
+
"@modern-js/base-generator": "2.4.0",
|
24
24
|
"@modern-js/changeset-generator": "2.3.4",
|
25
25
|
"@modern-js/codesmith": "^1.5.0",
|
26
26
|
"@modern-js/codesmith-api-app": "^1.5.0",
|
@@ -76,6 +76,5 @@
|
|
76
76
|
"new": "modern new",
|
77
77
|
"build": "wireit",
|
78
78
|
"test": "wireit"
|
79
|
-
}
|
80
|
-
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
79
|
+
}
|
81
80
|
}
|
@@ -7,6 +7,7 @@
|
|
7
7
|
"change": "modern change",
|
8
8
|
"bump": "modern bump",
|
9
9
|
"pre": "modern pre",
|
10
|
+
"prepare": "husky install",
|
10
11
|
"change-status": "modern change-status",
|
11
12
|
"gen-release-note": "modern gen-release-note",
|
12
13
|
"release": "modern release",
|
@@ -17,11 +18,6 @@
|
|
17
18
|
"engines": {
|
18
19
|
"node": ">=14.17.6"
|
19
20
|
},
|
20
|
-
"husky": {
|
21
|
-
"hooks": {
|
22
|
-
"pre-commit": "lint-staged"
|
23
|
-
}
|
24
|
-
},
|
25
21
|
"lint-staged": {
|
26
22
|
"*.{ts,tsx}": [
|
27
23
|
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
|
@@ -48,7 +44,7 @@
|
|
48
44
|
"@modern-js/tsconfig":"{{modernVersion}}",
|
49
45
|
"lint-staged": "^11.2.6",
|
50
46
|
"prettier": "^2.6.2",
|
51
|
-
"husky": "
|
47
|
+
"husky": "^8.0.0"
|
52
48
|
},
|
53
49
|
"publishConfig": {
|
54
50
|
"access": "public",
|