@modern-js/generator-utils 1.1.3 → 1.2.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/CHANGELOG.md +15 -0
- package/jest.config.js +12 -0
- package/modern.config.js +1 -7
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @modern-js/generator-utils
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cfe11628: Make Modern.js self bootstraping
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 2c049918: feat: polyfill function support enable using new command
|
|
12
|
+
- Updated dependencies [2da09c69]
|
|
13
|
+
- Updated dependencies [c3d46ee4]
|
|
14
|
+
- Updated dependencies [cfe11628]
|
|
15
|
+
- @modern-js/utils@1.2.0
|
|
16
|
+
- @modern-js/plugin-i18n@1.2.0
|
|
17
|
+
|
|
3
18
|
## 1.1.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/jest.config.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const sharedConfig = require('@scripts/jest-config');
|
|
2
|
+
|
|
3
|
+
/** @type {import('@jest/types').Config.InitialOptions} */
|
|
4
|
+
module.exports = {
|
|
5
|
+
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
|
6
|
+
...sharedConfig,
|
|
7
|
+
rootDir: __dirname,
|
|
8
|
+
modulePathIgnorePatterns: [
|
|
9
|
+
// TODO: 很容易超时导致失败,暂时先绕过
|
|
10
|
+
'tests/index.test.ts',
|
|
11
|
+
],
|
|
12
|
+
};
|
package/modern.config.js
CHANGED
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.2.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7",
|
|
32
|
-
"@modern-js/plugin-i18n": "^1.
|
|
33
|
-
"@modern-js/utils": "^1.
|
|
32
|
+
"@modern-js/plugin-i18n": "^1.2.0",
|
|
33
|
+
"@modern-js/utils": "^1.2.0",
|
|
34
34
|
"execa": "^5.1.1",
|
|
35
35
|
"ora": "^5.4.1"
|
|
36
36
|
},
|
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
"@types/jest": "^26",
|
|
40
40
|
"@types/node": "^14",
|
|
41
41
|
"typescript": "^4",
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
42
|
+
"@scripts/build": "0.0.0",
|
|
43
|
+
"jest": "^27",
|
|
44
|
+
"@scripts/jest-config": "0.0.0"
|
|
44
45
|
},
|
|
45
46
|
"sideEffects": false,
|
|
46
47
|
"modernConfig": {
|
|
@@ -50,12 +51,13 @@
|
|
|
50
51
|
},
|
|
51
52
|
"publishConfig": {
|
|
52
53
|
"registry": "https://registry.npmjs.org/",
|
|
53
|
-
"access": "public"
|
|
54
|
+
"access": "public",
|
|
55
|
+
"types": "./dist/types/index.d.ts"
|
|
54
56
|
},
|
|
55
57
|
"scripts": {
|
|
56
58
|
"new": "modern new",
|
|
57
59
|
"build": "modern build",
|
|
58
|
-
"test": "
|
|
60
|
+
"test": "jest --passWithNoTests"
|
|
59
61
|
},
|
|
60
62
|
"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"
|
|
61
63
|
}
|