@modern-js/plugin-docsite 0.0.0-canary-20211223152722 → 0.0.0-canary-20220118030646

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,32 @@
1
1
  # @modern-js/plugin-docsite
2
2
 
3
- ## 0.0.0-canary-20211223152722
3
+ ## 0.0.0-canary-20220118030646
4
+
5
+ ### Minor Changes
6
+
7
+ - cfe11628: Make Modern.js self bootstraping
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [fc71e36f]
12
+ - Updated dependencies [cfe11628]
13
+ - @modern-js/core@0.0.0-canary-20220118030646
14
+ - @modern-js/webpack@0.0.0-canary-20220118030646
15
+ - @modern-js/utils@0.0.0-canary-20220118030646
16
+
17
+ ## 1.1.3
4
18
 
5
19
  ### Patch Changes
6
20
 
7
21
  - ca7dcb32: add CORE_INIT_OPTION_FILE env
22
+ - Updated dependencies [90eeb72c]
8
23
  - Updated dependencies [e04914ce]
24
+ - Updated dependencies [5a4c557e]
9
25
  - Updated dependencies [e04914ce]
10
26
  - Updated dependencies [ca7dcb32]
11
27
  - Updated dependencies [ecb344dc]
12
- - @modern-js/core@0.0.0-canary-20211223152722
13
- - @modern-js/utils@0.0.0-canary-20211223152722
28
+ - @modern-js/core@1.2.0
29
+ - @modern-js/utils@1.1.5
14
30
 
15
31
  ## 1.1.2
16
32
 
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-20211223152722",
14
+ "version": "0.0.0-canary-20220118030646",
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-20211223152722",
37
- "@modern-js/webpack": "^1.1.2",
40
+ "@modern-js/utils": "^0.0.0-canary-20220118030646",
41
+ "@modern-js/webpack": "^0.0.0-canary-20220118030646",
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-20220118030646",
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-20211223152722",
73
- "@modern-js/plugin-testing": "^1.1.1",
74
- "@modern-js/module-tools": "^0.0.0-canary-20211223152722"
76
+ "@modern-js/core": "^0.0.0-canary-20220118030646",
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-20211223152722"
82
+ "@modern-js/core": "^0.0.0-canary-20220118030646"
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
  }