@modern-js/plugin-ssg 2.7.0 → 2.9.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 +16 -0
- package/README.md +2 -2
- package/dist/types/types.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @modern-js/plugin-ssg
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @modern-js/utils@2.9.0
|
|
8
|
+
|
|
9
|
+
## 2.8.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1f6ca2c7fb: fix: nested routes in ssg
|
|
14
|
+
fix: 修复嵌套路由在 SSG 中的问题
|
|
15
|
+
- Updated dependencies [1104a9f18b]
|
|
16
|
+
- Updated dependencies [1f6ca2c7fb]
|
|
17
|
+
- @modern-js/utils@2.8.0
|
|
18
|
+
|
|
3
19
|
## 2.7.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -19,8 +19,8 @@ Please follow [Quick Start](https://modernjs.dev/en/guides/get-started/quick-sta
|
|
|
19
19
|
|
|
20
20
|
## Contributing
|
|
21
21
|
|
|
22
|
-
Please read the [Contributing Guide](https://github.com/
|
|
22
|
+
Please read the [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md).
|
|
23
23
|
|
|
24
24
|
## License
|
|
25
25
|
|
|
26
|
-
Modern.js is [MIT licensed](https://github.com/
|
|
26
|
+
Modern.js is [MIT licensed](https://github.com/web-infra-dev/modern.js/blob/main/LICENSE).
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ServerRoute as ModernRoute } from '@modern-js/types';
|
|
2
|
-
import { SSGConfig, SSGRouteOptions, SSGMultiEntryOptions, SSGSingleEntryOptions } from '@modern-js/
|
|
2
|
+
import { SSGConfig, SSGRouteOptions, SSGMultiEntryOptions, SSGSingleEntryOptions } from '@modern-js/types';
|
|
3
3
|
export type { SSGConfig, SSGRouteOptions, SSGMultiEntryOptions, SSGSingleEntryOptions };
|
|
4
4
|
export type AgreedRoute = {
|
|
5
5
|
path?: string;
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "@modern-js/plugin-ssg",
|
|
3
3
|
"description": "A Progressive React Framework for modern web development.",
|
|
4
4
|
"homepage": "https://modernjs.dev",
|
|
5
|
-
"bugs": "https://github.com/
|
|
6
|
-
"repository": "
|
|
5
|
+
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
|
|
6
|
+
"repository": "web-infra-dev/modern.js",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"react",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.9.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"node-mocks-http": "^1.10.1",
|
|
58
58
|
"normalize-path": "^3.0.0",
|
|
59
59
|
"portfinder": "^1.0.28",
|
|
60
|
-
"@modern-js/utils": "2.
|
|
60
|
+
"@modern-js/utils": "2.9.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react-router-dom": ">=5.1.2"
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"react": "^18",
|
|
75
75
|
"react-router-dom": "^6.8.1",
|
|
76
76
|
"typescript": "^4",
|
|
77
|
-
"@modern-js/app-tools": "2.
|
|
78
|
-
"@modern-js/prod-server": "2.
|
|
79
|
-
"@modern-js/types": "2.
|
|
80
|
-
"@scripts/
|
|
81
|
-
"@scripts/
|
|
77
|
+
"@modern-js/app-tools": "2.9.0",
|
|
78
|
+
"@modern-js/prod-server": "2.9.0",
|
|
79
|
+
"@modern-js/types": "2.9.0",
|
|
80
|
+
"@scripts/build": "2.9.0",
|
|
81
|
+
"@scripts/jest-config": "2.9.0"
|
|
82
82
|
},
|
|
83
83
|
"sideEffects": false,
|
|
84
84
|
"publishConfig": {
|