@modern-js/plugin-router-v5 2.29.1-alpha.0 → 2.30.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,17 @@
1
1
  # @modern-js/plugin-router-v5
2
2
 
3
+ ## 2.30.0
4
+
5
+ ### Patch Changes
6
+
7
+ - b835d37: fix: inject routes to context in the router v5
8
+ fix: 在 router v5 中,注入路由信息到 context 上
9
+ - Updated dependencies [a5ee81a]
10
+ - Updated dependencies [b6ab299]
11
+ - @modern-js/types@2.30.0
12
+ - @modern-js/utils@2.30.0
13
+ - @modern-js/plugin@2.30.0
14
+
3
15
  ## 2.29.0
4
16
 
5
17
  ### Patch Changes
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const DefaultNotFound: () => JSX.Element;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.29.1-alpha.0",
18
+ "version": "2.30.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/types": "2.29.0",
64
- "@modern-js/plugin": "2.29.0",
65
- "@modern-js/utils": "2.29.0"
63
+ "@modern-js/plugin": "2.30.0",
64
+ "@modern-js/types": "2.30.0",
65
+ "@modern-js/utils": "2.30.0"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": ">=17",
@@ -78,12 +78,12 @@
78
78
  "react-dom": "^18",
79
79
  "ts-jest": "^29.1.0",
80
80
  "typescript": "^5",
81
- "@modern-js/app-tools": "2.29.0",
82
- "@modern-js/runtime": "2.29.0",
83
- "@modern-js/utils": "2.29.0",
84
- "@scripts/build": "2.29.0",
85
- "@scripts/jest-config": "2.29.0",
86
- "@modern-js/core": "2.29.0"
81
+ "@modern-js/app-tools": "2.30.0",
82
+ "@modern-js/core": "2.30.0",
83
+ "@modern-js/runtime": "2.30.0",
84
+ "@modern-js/utils": "2.30.0",
85
+ "@scripts/jest-config": "2.30.0",
86
+ "@scripts/build": "2.30.0"
87
87
  },
88
88
  "sideEffects": false,
89
89
  "publishConfig": {