@modern-js/plugin-docsite 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @modern-js/plugin-docsite
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 969f172f: fix port problem
8
+ - Updated dependencies [969f172f]
9
+ - Updated dependencies [0ad75faa]
10
+ - Updated dependencies [4c792f68]
11
+ - Updated dependencies [4b5d4bf4]
12
+ - Updated dependencies [0ad75faa]
13
+ - Updated dependencies [62f5b8c8]
14
+ - Updated dependencies [55e18278]
15
+ - Updated dependencies [4499a674]
16
+ - Updated dependencies [0ad75faa]
17
+ - Updated dependencies [403f5169]
18
+ - Updated dependencies [a7f42f48]
19
+ - @modern-js/core@1.4.4
20
+ - @modern-js/webpack@1.4.1
21
+ - @modern-js/utils@1.3.3
22
+
3
23
  ## 1.2.2
4
24
 
5
25
  ### Patch Changes
@@ -26,7 +26,8 @@ export default core.createPlugin(() => ({
26
26
  moduleToolsMenu() {
27
27
  const {
28
28
  appDirectory,
29
- internalDirectory
29
+ internalDirectory,
30
+ port
30
31
  } = core.useAppContext();
31
32
  return {
32
33
  name: 'Docsite 调试',
@@ -34,7 +35,8 @@ export default core.createPlugin(() => ({
34
35
  runTask: async () => features.buildDocs({
35
36
  appDirectory,
36
37
  internalDirectory,
37
- isDev: true
38
+ isDev: true,
39
+ port
38
40
  })
39
41
  };
40
42
  },
@@ -36,7 +36,8 @@ var _default = core.createPlugin(() => ({
36
36
  moduleToolsMenu() {
37
37
  const {
38
38
  appDirectory,
39
- internalDirectory
39
+ internalDirectory,
40
+ port
40
41
  } = core.useAppContext();
41
42
  return {
42
43
  name: 'Docsite 调试',
@@ -44,7 +45,8 @@ var _default = core.createPlugin(() => ({
44
45
  runTask: async () => features.buildDocs({
45
46
  appDirectory,
46
47
  internalDirectory,
47
- isDev: true
48
+ isDev: true,
49
+ port
48
50
  })
49
51
  };
50
52
  },
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.2",
14
+ "version": "1.2.3",
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",
38
38
  "@mdx-js/mdx": "^1.6.22",
39
39
  "@mdx-js/react": "^1.6.22",
40
- "@modern-js/utils": "^1.3.0",
41
- "@modern-js/webpack": "^1.3.0",
40
+ "@modern-js/utils": "^1.3.3",
41
+ "@modern-js/webpack": "^1.4.1",
42
42
  "antd": "^4.16.13",
43
43
  "chokidar": "^3.5.2",
44
44
  "core-js": "^3.17.2",
@@ -73,13 +73,13 @@
73
73
  "@types/react-dom": "^17",
74
74
  "@types/webpack-dev-server": "^4.1.0",
75
75
  "typescript": "^4",
76
- "@modern-js/core": "^1.4.0",
76
+ "@modern-js/core": "^1.4.4",
77
77
  "@scripts/build": "0.0.0",
78
78
  "jest": "^27",
79
79
  "@scripts/jest-config": "0.0.0"
80
80
  },
81
81
  "peerDependencies": {
82
- "@modern-js/core": "^1.4.0"
82
+ "@modern-js/core": "^1.4.4"
83
83
  },
84
84
  "sideEffects": false,
85
85
  "modernConfig": {
@@ -95,8 +95,7 @@
95
95
  },
96
96
  "publishConfig": {
97
97
  "registry": "https://registry.npmjs.org/",
98
- "access": "public",
99
- "types": "./dist/types/index.d.ts"
98
+ "access": "public"
100
99
  },
101
100
  "scripts": {
102
101
  "new": "modern new",