@modern-js/plugin-docsite 1.2.11-alhpa.0 → 1.2.13-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,36 @@
|
|
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
|
+
|
17
|
+
## 1.2.12
|
18
|
+
|
19
|
+
### Patch Changes
|
20
|
+
|
21
|
+
- df5e115ad: fix run docsite fail
|
22
|
+
- Updated dependencies [06b411dc3]
|
23
|
+
- Updated dependencies [5d4806f86]
|
24
|
+
- Updated dependencies [63c354ad5]
|
25
|
+
- Updated dependencies [4165e50c7]
|
26
|
+
- Updated dependencies [073e9ad78]
|
27
|
+
- Updated dependencies [cda99c441]
|
28
|
+
- Updated dependencies [b96dcf364]
|
29
|
+
- Updated dependencies [f4a7d49e1]
|
30
|
+
- Updated dependencies [9e36d3a01]
|
31
|
+
- @modern-js/webpack@1.11.1
|
32
|
+
- @modern-js/utils@1.7.8
|
33
|
+
|
3
34
|
## 1.2.11
|
4
35
|
|
5
36
|
### 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
|
-
|
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
|
})();
|
@@ -32,8 +32,7 @@ export function generatorWebpackConfig(appContext, modernConfig, tmpDir, isDev)
|
|
32
32
|
const docsiteNodeModules = [// for yarn
|
33
33
|
pluginDocsiteDir, // for pnpm
|
34
34
|
path.resolve(pluginDocsiteDir, '../..'), // for modern.js repo
|
35
|
-
path.join(pluginDocsiteDir, './node_modules/')];
|
36
|
-
console.info(docsiteNodeModules); // maybe check if outside appDir or monorepoDir
|
35
|
+
path.join(pluginDocsiteDir, './node_modules/')]; // maybe check if outside appDir or monorepoDir
|
37
36
|
|
38
37
|
config.resolve.modules = [...(config.resolve.modules || []), ...docsiteNodeModules];
|
39
38
|
config.resolve.alias['@assets'] = path.resolve(appDirectory, 'assets');
|
@@ -26,11 +26,12 @@ const taskMain = async (appContext, modernConfig) => {
|
|
26
26
|
appContext,
|
27
27
|
resolved
|
28
28
|
} = await core.cli.init([], options);
|
29
|
-
|
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
|
})();
|
@@ -50,8 +50,7 @@ function generatorWebpackConfig(appContext, modernConfig, tmpDir, isDev) {
|
|
50
50
|
const docsiteNodeModules = [// for yarn
|
51
51
|
pluginDocsiteDir, // for pnpm
|
52
52
|
_path.default.resolve(pluginDocsiteDir, '../..'), // for modern.js repo
|
53
|
-
_path.default.join(pluginDocsiteDir, './node_modules/')];
|
54
|
-
console.info(docsiteNodeModules); // maybe check if outside appDir or monorepoDir
|
53
|
+
_path.default.join(pluginDocsiteDir, './node_modules/')]; // maybe check if outside appDir or monorepoDir
|
55
54
|
|
56
55
|
config.resolve.modules = [...(config.resolve.modules || []), ...docsiteNodeModules];
|
57
56
|
config.resolve.alias['@assets'] = _path.default.resolve(appDirectory, 'assets');
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.2.
|
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.
|
41
|
-
"@modern-js/webpack": "^1.11.0",
|
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.0",
|
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",
|