@modern-js/plugin-router-v5 2.20.0 → 2.21.1
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 +27 -0
- package/dist/types/cli/index.d.ts +0 -2
- package/dist/types/runtime/plugin.d.ts +0 -2
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,32 @@
|
|
1
1
|
# @modern-js/plugin-router-v5
|
2
2
|
|
3
|
+
## 2.21.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- @modern-js/plugin@2.21.1
|
8
|
+
- @modern-js/types@2.21.1
|
9
|
+
- @modern-js/utils@2.21.1
|
10
|
+
|
11
|
+
## 2.21.0
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- 26dcf3a: chore: bump typescript to v5 in devDependencies
|
16
|
+
|
17
|
+
chore: 升级 devDependencies 中的 typescript 版本到 v5
|
18
|
+
|
19
|
+
- Updated dependencies [e81eeaf]
|
20
|
+
- Updated dependencies [26dcf3a]
|
21
|
+
- Updated dependencies [1ef03dc]
|
22
|
+
- Updated dependencies [056627f]
|
23
|
+
- Updated dependencies [0fc15ca]
|
24
|
+
- Updated dependencies [43b4e83]
|
25
|
+
- Updated dependencies [ad78387]
|
26
|
+
- @modern-js/utils@2.21.0
|
27
|
+
- @modern-js/plugin@2.21.0
|
28
|
+
- @modern-js/types@2.21.0
|
29
|
+
|
3
30
|
## 2.20.0
|
4
31
|
|
5
32
|
### Patch Changes
|
@@ -19,12 +19,10 @@ export type SingleRouteConfig = RouteProps & {
|
|
19
19
|
/**
|
20
20
|
* layout component
|
21
21
|
*/
|
22
|
-
|
23
22
|
layout?: React.ComponentType;
|
24
23
|
/**
|
25
24
|
* component would be rendered when route macthed.
|
26
25
|
*/
|
27
|
-
|
28
26
|
component?: React.ComponentType;
|
29
27
|
};
|
30
28
|
export type HistoryConfig = {
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.21.1",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/cli/index.d.ts",
|
21
21
|
"main": "./dist/cjs/cli/index.js",
|
@@ -60,9 +60,9 @@
|
|
60
60
|
"hoist-non-react-statics": "^3.3.2",
|
61
61
|
"react-router-dom": "^5.3.4",
|
62
62
|
"@swc/helpers": "0.5.1",
|
63
|
-
"@modern-js/plugin": "2.
|
64
|
-
"@modern-js/types": "2.
|
65
|
-
"@modern-js/utils": "2.
|
63
|
+
"@modern-js/plugin": "2.21.1",
|
64
|
+
"@modern-js/types": "2.21.1",
|
65
|
+
"@modern-js/utils": "2.21.1"
|
66
66
|
},
|
67
67
|
"peerDependencies": {
|
68
68
|
"react": ">=17",
|
@@ -76,14 +76,14 @@
|
|
76
76
|
"jest": "^29",
|
77
77
|
"react": "^18",
|
78
78
|
"react-dom": "^18",
|
79
|
-
"ts-jest": "^29.0
|
80
|
-
"typescript": "^
|
81
|
-
"@modern-js/app-tools": "2.
|
82
|
-
"@modern-js/core": "2.
|
83
|
-
"@modern-js/runtime": "2.
|
84
|
-
"@modern-js/utils": "2.
|
85
|
-
"@scripts/build": "2.
|
86
|
-
"@scripts/jest-config": "2.
|
79
|
+
"ts-jest": "^29.1.0",
|
80
|
+
"typescript": "^5",
|
81
|
+
"@modern-js/app-tools": "2.21.1",
|
82
|
+
"@modern-js/core": "2.21.1",
|
83
|
+
"@modern-js/runtime": "2.21.1",
|
84
|
+
"@modern-js/utils": "2.21.1",
|
85
|
+
"@scripts/build": "2.21.1",
|
86
|
+
"@scripts/jest-config": "2.21.1"
|
87
87
|
},
|
88
88
|
"sideEffects": false,
|
89
89
|
"modernConfig": {},
|