@c0va23/react-router-dev 7.8.3-alpha.2 → 7.9.4-patch.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 +170 -0
- package/dist/cli/index.js +245 -105
- package/dist/config/default-rsc-entries/entry.client.tsx +9 -1
- package/dist/config/default-rsc-entries/entry.rsc.tsx +12 -1
- package/dist/config/default-rsc-entries/entry.ssr.tsx +5 -1
- package/dist/config/defaults/entry.server.node.tsx +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/routes.js +1 -1
- package/dist/vite/cloudflare.d.ts +2 -2
- package/dist/vite/cloudflare.js +30 -82
- package/dist/vite.d.ts +3 -1
- package/dist/vite.js +1304 -364
- package/package.json +23 -24
- package/LICENSE.md +0 -23
- package/dist/internal.d.ts +0 -9
- package/dist/internal.js +0 -2010
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c0va23/react-router-dev",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.4-patch.1",
|
|
4
4
|
"description": "Dev tools and CLI for React Router",
|
|
5
5
|
"homepage": "https://reactrouter.com",
|
|
6
6
|
"bugs": {
|
|
@@ -29,10 +29,6 @@
|
|
|
29
29
|
"types": "./dist/vite/cloudflare.d.ts",
|
|
30
30
|
"default": "./dist/vite/cloudflare.js"
|
|
31
31
|
},
|
|
32
|
-
"./internal": {
|
|
33
|
-
"types": "./dist/internal.d.ts",
|
|
34
|
-
"default": "./dist/internal.js"
|
|
35
|
-
},
|
|
36
32
|
"./package.json": "./package.json"
|
|
37
33
|
},
|
|
38
34
|
"imports": {
|
|
@@ -44,6 +40,10 @@
|
|
|
44
40
|
"bin": {
|
|
45
41
|
"react-router": "bin.js"
|
|
46
42
|
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "wireit",
|
|
45
|
+
"typecheck": "tsc"
|
|
46
|
+
},
|
|
47
47
|
"wireit": {
|
|
48
48
|
"build": {
|
|
49
49
|
"command": "tsup",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"isbot": "^5.1.11",
|
|
68
67
|
"@babel/core": "^7.27.7",
|
|
69
68
|
"@babel/generator": "^7.27.5",
|
|
70
69
|
"@babel/parser": "^7.27.7",
|
|
@@ -73,13 +72,15 @@
|
|
|
73
72
|
"@babel/traverse": "^7.27.7",
|
|
74
73
|
"@babel/types": "^7.27.7",
|
|
75
74
|
"@npmcli/package-json": "^4.0.1",
|
|
76
|
-
"@
|
|
75
|
+
"@react-router/node": "workspace:*",
|
|
76
|
+
"@remix-run/node-fetch-server": "^0.9.0",
|
|
77
77
|
"arg": "^5.0.1",
|
|
78
78
|
"babel-dead-code-elimination": "^1.0.6",
|
|
79
79
|
"chokidar": "^4.0.0",
|
|
80
80
|
"dedent": "^1.5.3",
|
|
81
81
|
"es-module-lexer": "^1.3.1",
|
|
82
82
|
"exit-hook": "2.2.1",
|
|
83
|
+
"isbot": "^5.1.11",
|
|
83
84
|
"jsesc": "3.0.2",
|
|
84
85
|
"lodash": "^4.17.21",
|
|
85
86
|
"pathe": "^1.1.2",
|
|
@@ -87,13 +88,12 @@
|
|
|
87
88
|
"prettier": "^3.6.2",
|
|
88
89
|
"react-refresh": "^0.14.0",
|
|
89
90
|
"semver": "^7.3.7",
|
|
90
|
-
"set-cookie-parser": "^2.6.0",
|
|
91
91
|
"tinyglobby": "^0.2.14",
|
|
92
|
-
"valibot": "^
|
|
93
|
-
"vite-node": "^3.2.2"
|
|
94
|
-
"@react-router/node": "7.8.2"
|
|
92
|
+
"valibot": "^1.1.0",
|
|
93
|
+
"vite-node": "^3.2.2"
|
|
95
94
|
},
|
|
96
95
|
"devDependencies": {
|
|
96
|
+
"@react-router/serve": "workspace:*",
|
|
97
97
|
"@types/babel__core": "^7.20.5",
|
|
98
98
|
"@types/babel__generator": "^7.27.0",
|
|
99
99
|
"@types/babel__traverse": "^7.20.7",
|
|
@@ -103,28 +103,31 @@
|
|
|
103
103
|
"@types/lodash": "^4.14.182",
|
|
104
104
|
"@types/node": "^20.0.0",
|
|
105
105
|
"@types/npmcli__package-json": "^4.0.0",
|
|
106
|
-
"@types/set-cookie-parser": "^2.4.1",
|
|
107
106
|
"@types/semver": "^7.7.0",
|
|
107
|
+
"@vitejs/plugin-rsc": "0.4.30",
|
|
108
108
|
"esbuild-register": "^3.6.0",
|
|
109
109
|
"execa": "5.1.1",
|
|
110
110
|
"express": "^4.19.2",
|
|
111
111
|
"fast-glob": "3.2.11",
|
|
112
|
+
"react-router": "workspace:^",
|
|
112
113
|
"tsup": "^8.3.0",
|
|
113
114
|
"typescript": "^5.1.6",
|
|
114
115
|
"vite": "^6.1.0",
|
|
115
116
|
"wireit": "0.14.9",
|
|
116
|
-
"wrangler": "^4.23.0"
|
|
117
|
-
"@react-router/serve": "7.8.2",
|
|
118
|
-
"react-router": "^7.8.2"
|
|
117
|
+
"wrangler": "^4.23.0"
|
|
119
118
|
},
|
|
120
119
|
"peerDependencies": {
|
|
120
|
+
"@react-router/serve": "workspace:^",
|
|
121
|
+
"@vitejs/plugin-rsc": "*",
|
|
122
|
+
"react-router": "workspace:^",
|
|
121
123
|
"typescript": "^5.1.0",
|
|
122
124
|
"vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
|
|
123
|
-
"wrangler": "^3.28.2 || ^4.0.0"
|
|
124
|
-
"@react-router/serve": "^7.8.2",
|
|
125
|
-
"react-router": "^7.8.2"
|
|
125
|
+
"wrangler": "^3.28.2 || ^4.0.0"
|
|
126
126
|
},
|
|
127
127
|
"peerDependenciesMeta": {
|
|
128
|
+
"@vitejs/plugin-rsc": {
|
|
129
|
+
"optional": true
|
|
130
|
+
},
|
|
128
131
|
"@react-router/serve": {
|
|
129
132
|
"optional": true
|
|
130
133
|
},
|
|
@@ -145,9 +148,5 @@
|
|
|
145
148
|
"CHANGELOG.md",
|
|
146
149
|
"LICENSE.md",
|
|
147
150
|
"README.md"
|
|
148
|
-
]
|
|
149
|
-
|
|
150
|
-
"build": "wireit",
|
|
151
|
-
"typecheck": "tsc"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
151
|
+
]
|
|
152
|
+
}
|
package/LICENSE.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) React Training LLC 2015-2019
|
|
4
|
-
Copyright (c) Remix Software Inc. 2020-2021
|
|
5
|
-
Copyright (c) Shopify Inc. 2022-2023
|
|
6
|
-
|
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
in the Software without restriction, including without limitation the rights
|
|
10
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
furnished to do so, subject to the following conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
copies or substantial portions of the Software.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
SOFTWARE.
|
package/dist/internal.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Vite from 'vite';
|
|
2
|
-
|
|
3
|
-
declare function reactRouterRSCVitePlugin(): Vite.PluginOption[];
|
|
4
|
-
|
|
5
|
-
declare const __INTERNAL_DO_NOT_USE_OR_YOU_WILL_GET_A_STRONGLY_WORDED_LETTER__: {
|
|
6
|
-
unstable_reactRouterRSC: typeof reactRouterRSCVitePlugin;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export { __INTERNAL_DO_NOT_USE_OR_YOU_WILL_GET_A_STRONGLY_WORDED_LETTER__ };
|