@modern-js/plugin-ssg 1.2.9 → 1.2.10

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,23 @@
1
1
  # @modern-js/plugin-ssg
2
2
 
3
+ ## 1.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 895fa0ff: chore: using "workspace:\*" in devDependencies
8
+ - b54a15ed: fix ssg with server plugin
9
+ - Updated dependencies [2d155c4c]
10
+ - Updated dependencies [123e432d]
11
+ - Updated dependencies [e5a9b26d]
12
+ - Updated dependencies [0b26b93b]
13
+ - Updated dependencies [123e432d]
14
+ - Updated dependencies [f9f66ef9]
15
+ - Updated dependencies [592edabc]
16
+ - Updated dependencies [895fa0ff]
17
+ - Updated dependencies [3578913e]
18
+ - Updated dependencies [1c3beab3]
19
+ - @modern-js/utils@1.6.0
20
+
3
21
  ## 1.2.9
4
22
 
5
23
  ### Patch Changes
@@ -13,8 +13,7 @@ export const createServer = (api, ssgRoutes, pageRoutes, apiRoutes, options, app
13
13
  silent: true
14
14
  });
15
15
  const appContext = api.useAppContext();
16
- const serverPlugins = appContext.plugins.filter(p => p.server).map(p => p.server);
17
- const plugins = serverPlugins.map(p => p.name);
16
+ const plugins = appContext.plugins.filter(p => p.server).map(p => p.server);
18
17
  cp.send(JSON.stringify({
19
18
  options,
20
19
  renderRoutes: ssgRoutes,
@@ -29,8 +29,7 @@ const createServer = (api, ssgRoutes, pageRoutes, apiRoutes, options, appDirecto
29
29
  });
30
30
 
31
31
  const appContext = api.useAppContext();
32
- const serverPlugins = appContext.plugins.filter(p => p.server).map(p => p.server);
33
- const plugins = serverPlugins.map(p => p.name);
32
+ const plugins = appContext.plugins.filter(p => p.server).map(p => p.server);
34
33
  cp.send(JSON.stringify({
35
34
  options,
36
35
  renderRoutes: ssgRoutes,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.9",
14
+ "version": "1.2.10",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -55,15 +55,15 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@babel/runtime": "^7",
58
- "@modern-js/utils": "^1.5.0",
58
+ "@modern-js/utils": "^1.6.0",
59
59
  "node-mocks-http": "^1.10.1",
60
60
  "normalize-path": "^3.0.0",
61
61
  "portfinder": "^1.0.28",
62
62
  "react-router-dom": "^5.2.1"
63
63
  },
64
64
  "devDependencies": {
65
- "@modern-js/types": "^1.5.0",
66
- "@modern-js/prod-server": "^1.1.1",
65
+ "@modern-js/types": "1.5.1",
66
+ "@modern-js/prod-server": "1.1.2",
67
67
  "@types/jest": "^26",
68
68
  "@types/node": "^14",
69
69
  "@types/react": "^17",
@@ -71,7 +71,7 @@
71
71
  "@types/react-router": "^5.1.16",
72
72
  "@types/react-router-dom": "^5.1.8",
73
73
  "typescript": "^4",
74
- "@modern-js/core": "1.8.0",
74
+ "@modern-js/core": "1.9.0",
75
75
  "@scripts/build": "0.0.0",
76
76
  "jest": "^27",
77
77
  "@scripts/jest-config": "0.0.0"