@modern-js/plugin-docsite 0.0.0-canary-20211223065901 → 0.0.0-canary-20220121061216

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 CHANGED
@@ -1,16 +1,37 @@
1
1
  # @modern-js/plugin-docsite
2
2
 
3
- ## 0.0.0-canary-20211223065901
3
+ ## 0.0.0-canary-20220121061216
4
+
5
+ ### Minor Changes
6
+
7
+ - cfe11628: Make Modern.js self bootstraping
8
+
9
+ ### Patch Changes
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@0.0.0-canary-20220121061216
19
+ - @modern-js/webpack@0.0.0-canary-20220121061216
20
+ - @modern-js/core@0.0.0-canary-20220121061216
21
+
22
+ ## 1.1.3
4
23
 
5
24
  ### Patch Changes
6
25
 
7
26
  - ca7dcb32: add CORE_INIT_OPTION_FILE env
27
+ - Updated dependencies [90eeb72c]
8
28
  - Updated dependencies [e04914ce]
29
+ - Updated dependencies [5a4c557e]
9
30
  - Updated dependencies [e04914ce]
10
31
  - Updated dependencies [ca7dcb32]
11
32
  - Updated dependencies [ecb344dc]
12
- - @modern-js/core@0.0.0-canary-20211223065901
13
- - @modern-js/utils@0.0.0-canary-20211223065901
33
+ - @modern-js/core@1.2.0
34
+ - @modern-js/utils@1.1.5
14
35
 
15
36
  ## 1.1.2
16
37
 
package/jest.config.js ADDED
@@ -0,0 +1,8 @@
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
+ };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20211223065901",
14
+ "version": "0.0.0-canary-20220121061216",
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": "./dist/js/node/index.js",
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": "^0.0.0-canary-20211223065901",
37
- "@modern-js/webpack": "^1.1.2",
40
+ "@modern-js/utils": "^0.0.0-canary-20220121061216",
41
+ "@modern-js/webpack": "^0.0.0-canary-20220121061216",
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.1.1",
65
+ "@modern-js/module-tools-hooks": "^0.0.0-canary-20220121061216",
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": "^0.0.0-canary-20211223065901",
73
- "@modern-js/plugin-testing": "^1.1.1",
74
- "@modern-js/module-tools": "^0.0.0-canary-20211223065901"
76
+ "@modern-js/core": "^0.0.0-canary-20220121061216",
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": "^0.0.0-canary-20211223065901"
82
+ "@modern-js/core": "^0.0.0-canary-20220121061216"
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": "modern test --passWithNoTests"
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
  }
@@ -0,0 +1,7 @@
1
+ import plugin from '../src';
2
+
3
+ describe('plugin-docset', () => {
4
+ it('default', () => {
5
+ expect(plugin).toBeDefined();
6
+ });
7
+ });
package/tsconfig.json CHANGED
@@ -5,9 +5,7 @@
5
5
  "jsx": "preserve",
6
6
  "baseUrl": "./",
7
7
  "isolatedModules": true,
8
- "paths": {
9
- "@/*": ["./src/*"]
10
- }
8
+ "paths": {}
11
9
  },
12
10
  "include": ["src"]
13
11
  }