@modern-js/plugin-router-v5 2.20.0 → 2.21.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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @modern-js/plugin-router-v5
2
2
 
3
+ ## 2.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 26dcf3a: chore: bump typescript to v5 in devDependencies
8
+
9
+ chore: 升级 devDependencies 中的 typescript 版本到 v5
10
+
11
+ - Updated dependencies [e81eeaf]
12
+ - Updated dependencies [26dcf3a]
13
+ - Updated dependencies [1ef03dc]
14
+ - Updated dependencies [056627f]
15
+ - Updated dependencies [0fc15ca]
16
+ - Updated dependencies [43b4e83]
17
+ - Updated dependencies [ad78387]
18
+ - @modern-js/utils@2.21.0
19
+ - @modern-js/plugin@2.21.0
20
+ - @modern-js/types@2.21.0
21
+
3
22
  ## 2.20.0
4
23
 
5
24
  ### Patch Changes
@@ -1,6 +1,4 @@
1
1
  import type { AppTools, CliPlugin } from '@modern-js/app-tools';
2
2
  import './types';
3
-
4
3
  declare const _default: () => CliPlugin<AppTools>;
5
-
6
4
  export default _default;
@@ -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.20.0",
18
+ "version": "2.21.0",
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.20.0",
64
- "@modern-js/types": "2.20.0",
65
- "@modern-js/utils": "2.20.0"
63
+ "@modern-js/plugin": "2.21.0",
64
+ "@modern-js/types": "2.21.0",
65
+ "@modern-js/utils": "2.21.0"
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.4",
80
- "typescript": "^4",
81
- "@modern-js/app-tools": "2.20.0",
82
- "@modern-js/core": "2.20.0",
83
- "@modern-js/runtime": "2.20.0",
84
- "@modern-js/utils": "2.20.0",
85
- "@scripts/build": "2.20.0",
86
- "@scripts/jest-config": "2.20.0"
79
+ "ts-jest": "^29.1.0",
80
+ "typescript": "^5",
81
+ "@modern-js/app-tools": "2.21.0",
82
+ "@modern-js/core": "2.21.0",
83
+ "@modern-js/runtime": "2.21.0",
84
+ "@modern-js/utils": "2.21.0",
85
+ "@scripts/build": "2.21.0",
86
+ "@scripts/jest-config": "2.21.0"
87
87
  },
88
88
  "sideEffects": false,
89
89
  "modernConfig": {},