@modern-js/plugin-docsite 1.2.12 → 1.2.13-alpha.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @modern-js/plugin-docsite
2
2
 
3
+ ## 1.2.13-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - f29e9bacf: feat: simplify context usage, no longer depend on containers
8
+ - Updated dependencies [9cd364e06]
9
+ - Updated dependencies [550e2bd18]
10
+ - Updated dependencies [2b06fe3f3]
11
+ - Updated dependencies [3050accbe]
12
+ - Updated dependencies [338496c6b]
13
+ - Updated dependencies [a90bc96bd]
14
+ - @modern-js/utils@1.7.9-alpha.0
15
+ - @modern-js/webpack@1.11.3-alpha.0
16
+
3
17
  ## 1.2.12
4
18
 
5
19
  ### Patch Changes
@@ -22,11 +22,12 @@ const taskMain = async (appContext, modernConfig) => {
22
22
  appContext,
23
23
  resolved
24
24
  } = await core.cli.init([], options);
25
- await core.manager.run(async () => {
25
+
26
+ (async () => {
26
27
  try {
27
28
  await taskMain(appContext, resolved);
28
29
  } catch (e) {
29
30
  console.error(e.message);
30
31
  }
31
- });
32
+ })();
32
33
  })();
@@ -26,11 +26,12 @@ const taskMain = async (appContext, modernConfig) => {
26
26
  appContext,
27
27
  resolved
28
28
  } = await core.cli.init([], options);
29
- await core.manager.run(async () => {
29
+
30
+ (async () => {
30
31
  try {
31
32
  await taskMain(appContext, resolved);
32
33
  } catch (e) {
33
34
  console.error(e.message);
34
35
  }
35
- });
36
+ })();
36
37
  })();
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.12",
14
+ "version": "1.2.13-alpha.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -37,8 +37,8 @@
37
37
  "@babel/runtime": "^7.18.0",
38
38
  "@mdx-js/mdx": "^1.6.22",
39
39
  "@mdx-js/react": "^1.6.22",
40
- "@modern-js/utils": "^1.7.8",
41
- "@modern-js/webpack": "^1.11.1",
40
+ "@modern-js/utils": "^1.7.9-alpha.0",
41
+ "@modern-js/webpack": "^1.11.3-alpha.0",
42
42
  "antd": "^4.16.13",
43
43
  "core-js": "^3.17.2",
44
44
  "github-slugger": "^1.4.0",
@@ -59,7 +59,7 @@
59
59
  "styled-components": "^5.3.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@modern-js/core": "1.12.1",
62
+ "@modern-js/core": "1.12.2-alpha.0",
63
63
  "@scripts/build": "0.0.0",
64
64
  "@scripts/jest-config": "0.0.0",
65
65
  "@types/core-js": "^2.5.5",