@modern-js/plugin-docsite 1.1.4-rc.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -5
- package/jest.config.js +8 -0
- package/package.json +17 -11
- package/tests/index.test.ts +7 -0
- package/tsconfig.json +1 -3
package/CHANGELOG.md
CHANGED
@@ -1,13 +1,23 @@
|
|
1
1
|
# @modern-js/plugin-docsite
|
2
2
|
|
3
|
-
## 1.
|
3
|
+
## 1.2.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- cfe11628: Make Modern.js self bootstraping
|
4
8
|
|
5
9
|
### Patch Changes
|
6
10
|
|
7
|
-
- Updated dependencies [
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
+
- Updated dependencies [2da09c69]
|
12
|
+
- Updated dependencies [5597289b]
|
13
|
+
- Updated dependencies [fc71e36f]
|
14
|
+
- Updated dependencies [4a85378c]
|
15
|
+
- Updated dependencies [e453e421]
|
16
|
+
- Updated dependencies [c3d46ee4]
|
17
|
+
- Updated dependencies [cfe11628]
|
18
|
+
- @modern-js/utils@1.2.0
|
19
|
+
- @modern-js/webpack@1.2.0
|
20
|
+
- @modern-js/core@1.3.0
|
11
21
|
|
12
22
|
## 1.1.3
|
13
23
|
|
package/jest.config.js
ADDED
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",
|
@@ -20,12 +20,16 @@
|
|
20
20
|
"exports": {
|
21
21
|
".": {
|
22
22
|
"node": {
|
23
|
+
"jsnext:source": "./src/index.ts",
|
23
24
|
"import": "./dist/js/modern/index.js",
|
24
25
|
"require": "./dist/js/node/index.js"
|
25
26
|
},
|
26
27
|
"default": "./dist/js/treeshaking/index.js"
|
27
28
|
},
|
28
|
-
"./cli":
|
29
|
+
"./cli": {
|
30
|
+
"jsnext:source": "./src/index.ts",
|
31
|
+
"default": "./dist/js/node/index.js"
|
32
|
+
},
|
29
33
|
"./package.json": "./package.json"
|
30
34
|
},
|
31
35
|
"dependencies": {
|
@@ -33,8 +37,8 @@
|
|
33
37
|
"@babel/runtime": "^7",
|
34
38
|
"@mdx-js/mdx": "^1.6.22",
|
35
39
|
"@mdx-js/react": "^1.6.22",
|
36
|
-
"@modern-js/utils": "^1.
|
37
|
-
"@modern-js/webpack": "^1.
|
40
|
+
"@modern-js/utils": "^1.2.0",
|
41
|
+
"@modern-js/webpack": "^1.2.0",
|
38
42
|
"antd": "^4.16.13",
|
39
43
|
"chokidar": "^3.5.2",
|
40
44
|
"core-js": "^3.17.2",
|
@@ -58,7 +62,7 @@
|
|
58
62
|
"webpack-dev-server": "^4.1.1"
|
59
63
|
},
|
60
64
|
"devDependencies": {
|
61
|
-
"@modern-js/module-tools-hooks": "^1.
|
65
|
+
"@modern-js/module-tools-hooks": "^1.2.0",
|
62
66
|
"@types/core-js": "^2.5.5",
|
63
67
|
"@types/github-slugger": "^1.3.0",
|
64
68
|
"@types/glob": "^7.1.4",
|
@@ -69,12 +73,13 @@
|
|
69
73
|
"@types/react-dom": "^17",
|
70
74
|
"@types/webpack-dev-server": "^4.1.0",
|
71
75
|
"typescript": "^4",
|
72
|
-
"@modern-js/core": "^1.
|
73
|
-
"@
|
74
|
-
"
|
76
|
+
"@modern-js/core": "^1.3.0",
|
77
|
+
"@scripts/build": "0.0.0",
|
78
|
+
"jest": "^27",
|
79
|
+
"@scripts/jest-config": "0.0.0"
|
75
80
|
},
|
76
81
|
"peerDependencies": {
|
77
|
-
"@modern-js/core": "^1.
|
82
|
+
"@modern-js/core": "^1.3.0"
|
78
83
|
},
|
79
84
|
"sideEffects": false,
|
80
85
|
"modernConfig": {
|
@@ -90,12 +95,13 @@
|
|
90
95
|
},
|
91
96
|
"publishConfig": {
|
92
97
|
"registry": "https://registry.npmjs.org/",
|
93
|
-
"access": "public"
|
98
|
+
"access": "public",
|
99
|
+
"types": "./dist/types/index.d.ts"
|
94
100
|
},
|
95
101
|
"scripts": {
|
96
102
|
"new": "modern new",
|
97
103
|
"build": "modern build",
|
98
|
-
"test": "
|
104
|
+
"test": "jest --passWithNoTests"
|
99
105
|
},
|
100
106
|
"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"
|
101
107
|
}
|