react-router 0.0.0-experimental-e56aa53bc → 0.0.0-experimental-aecfb0db1
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 +19 -0
- package/dist/development/{chunk-RMWJZNG5.mjs → chunk-RXFCVJK2.mjs} +1132 -1142
- package/dist/development/dom-export.d.mts +2 -2
- package/dist/development/dom-export.d.ts +1 -2
- package/dist/development/dom-export.js +34 -6129
- package/dist/development/dom-export.mjs +6 -3
- package/dist/development/index.d.mts +13 -68
- package/dist/development/index.d.ts +1873 -198
- package/dist/development/index.js +1132 -1151
- package/dist/development/index.mjs +2 -19
- package/dist/development/lib/types/route-module.d.mts +1 -2
- package/dist/development/lib/types/route-module.d.ts +1 -2
- package/dist/development/lib/types/route-module.js +1 -1
- package/dist/development/lib/types/route-module.mjs +1 -1
- package/dist/development/{fog-of-war-DrUCUQQ-.d.ts → lib-BJBhVBWN.d.mts} +136 -178
- package/dist/{production/route-data-BIYebJr3.d.mts → development/route-data-BmDen1H_.d.mts} +12 -12
- package/dist/development/{route-data-BIYebJr3.d.mts → route-data-fNWkI-4T.d.ts} +12 -12
- package/dist/production/{chunk-BXBFRMFA.mjs → chunk-TLRBG5AD.mjs} +1132 -1142
- package/dist/production/dom-export.d.mts +2 -2
- package/dist/production/dom-export.d.ts +1 -2
- package/dist/production/dom-export.js +34 -6129
- package/dist/production/dom-export.mjs +6 -3
- package/dist/production/index.d.mts +13 -68
- package/dist/production/index.d.ts +1873 -198
- package/dist/production/index.js +1132 -1151
- package/dist/production/index.mjs +2 -19
- package/dist/production/lib/types/route-module.d.mts +1 -2
- package/dist/production/lib/types/route-module.d.ts +1 -2
- package/dist/production/lib/types/route-module.js +1 -1
- package/dist/production/lib/types/route-module.mjs +1 -1
- package/dist/production/{fog-of-war-DrUCUQQ-.d.ts → lib-BJBhVBWN.d.mts} +136 -178
- package/dist/{development/route-data-BIYebJr3.d.ts → production/route-data-BmDen1H_.d.mts} +12 -12
- package/dist/production/{route-data-BIYebJr3.d.ts → route-data-fNWkI-4T.d.ts} +12 -12
- package/package.json +6 -35
- package/dist/development/data-CQbyyGzl.d.mts +0 -11
- package/dist/development/data-CQbyyGzl.d.ts +0 -11
- package/dist/development/fog-of-war-C5L_Yd5M.d.mts +0 -1778
- package/dist/development/rsc-export.d.mts +0 -1788
- package/dist/development/rsc-export.d.ts +0 -1788
- package/dist/development/rsc-export.js +0 -2778
- package/dist/development/rsc-export.mjs +0 -2743
- package/dist/production/data-CQbyyGzl.d.mts +0 -11
- package/dist/production/data-CQbyyGzl.d.ts +0 -11
- package/dist/production/fog-of-war-C5L_Yd5M.d.mts +0 -1778
- package/dist/production/rsc-export.d.mts +0 -1788
- package/dist/production/rsc-export.d.ts +0 -1788
- package/dist/production/rsc-export.js +0 -2778
- package/dist/production/rsc-export.mjs +0 -2743
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-aecfb0db1",
|
|
4
4
|
"description": "Declarative routing for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -25,14 +25,9 @@
|
|
|
25
25
|
".": {
|
|
26
26
|
"node": {
|
|
27
27
|
"types": "./dist/development/index.d.ts",
|
|
28
|
-
"module": "./dist/development/index.mjs",
|
|
29
28
|
"module-sync": "./dist/development/index.mjs",
|
|
30
29
|
"default": "./dist/development/index.js"
|
|
31
30
|
},
|
|
32
|
-
"module": {
|
|
33
|
-
"types": "./dist/development/index.d.mts",
|
|
34
|
-
"default": "./dist/development/index.mjs"
|
|
35
|
-
},
|
|
36
31
|
"import": {
|
|
37
32
|
"types": "./dist/development/index.d.mts",
|
|
38
33
|
"default": "./dist/development/index.mjs"
|
|
@@ -43,6 +38,9 @@
|
|
|
43
38
|
}
|
|
44
39
|
},
|
|
45
40
|
"./route-module": {
|
|
41
|
+
"node": {
|
|
42
|
+
"types": "./dist/development/lib/types/route-module.d.ts"
|
|
43
|
+
},
|
|
46
44
|
"import": {
|
|
47
45
|
"types": "./dist/development/lib/types/route-module.d.mts"
|
|
48
46
|
},
|
|
@@ -53,14 +51,9 @@
|
|
|
53
51
|
"./dom": {
|
|
54
52
|
"node": {
|
|
55
53
|
"types": "./dist/development/dom-export.d.ts",
|
|
56
|
-
"module": "./dist/development/dom-export.mjs",
|
|
57
54
|
"module-sync": "./dist/development/dom-export.mjs",
|
|
58
55
|
"default": "./dist/development/dom-export.js"
|
|
59
56
|
},
|
|
60
|
-
"module": {
|
|
61
|
-
"types": "./dist/development/dom-export.d.mts",
|
|
62
|
-
"default": "./dist/development/dom-export.mjs"
|
|
63
|
-
},
|
|
64
57
|
"import": {
|
|
65
58
|
"types": "./dist/development/dom-export.d.mts",
|
|
66
59
|
"default": "./dist/development/dom-export.mjs"
|
|
@@ -70,31 +63,11 @@
|
|
|
70
63
|
"default": "./dist/development/dom-export.js"
|
|
71
64
|
}
|
|
72
65
|
},
|
|
73
|
-
"./rsc": {
|
|
74
|
-
"node": {
|
|
75
|
-
"types": "./dist/development/rsc-export.d.ts",
|
|
76
|
-
"module": "./dist/development/rsc-export.mjs",
|
|
77
|
-
"module-sync": "./dist/development/rsc-export.mjs",
|
|
78
|
-
"default": "./dist/development/rsc-export.js"
|
|
79
|
-
},
|
|
80
|
-
"module": {
|
|
81
|
-
"types": "./dist/development/rsc-export.d.mts",
|
|
82
|
-
"default": "./dist/development/rsc-export.mjs"
|
|
83
|
-
},
|
|
84
|
-
"import": {
|
|
85
|
-
"types": "./dist/development/rsc-export.d.mts",
|
|
86
|
-
"default": "./dist/development/rsc-export.mjs"
|
|
87
|
-
},
|
|
88
|
-
"default": {
|
|
89
|
-
"types": "./dist/development/rsc-export.d.ts",
|
|
90
|
-
"default": "./dist/development/rsc-export.js"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
66
|
"./package.json": "./package.json"
|
|
94
67
|
},
|
|
95
68
|
"wireit": {
|
|
96
69
|
"build": {
|
|
97
|
-
"command": "rimraf dist && tsup
|
|
70
|
+
"command": "rimraf dist && tsup",
|
|
98
71
|
"files": [
|
|
99
72
|
"lib/**",
|
|
100
73
|
"*.ts",
|
|
@@ -108,8 +81,7 @@
|
|
|
108
81
|
},
|
|
109
82
|
"dependencies": {
|
|
110
83
|
"cookie": "^1.0.1",
|
|
111
|
-
"set-cookie-parser": "^2.6.0"
|
|
112
|
-
"turbo-stream": "2.4.0"
|
|
84
|
+
"set-cookie-parser": "^2.6.0"
|
|
113
85
|
},
|
|
114
86
|
"devDependencies": {
|
|
115
87
|
"@types/set-cookie-parser": "^2.4.1",
|
|
@@ -140,7 +112,6 @@
|
|
|
140
112
|
},
|
|
141
113
|
"scripts": {
|
|
142
114
|
"build": "wireit",
|
|
143
|
-
"watch": "tsup --watch & tsup --config tsup.config.rsc.ts --watch",
|
|
144
115
|
"typecheck": "tsc"
|
|
145
116
|
}
|
|
146
117
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An object of unknown type for route loaders and actions provided by the
|
|
3
|
-
* server's `getLoadContext()` function. This is defined as an empty interface
|
|
4
|
-
* specifically so apps can leverage declaration merging to augment this type
|
|
5
|
-
* globally: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
|
|
6
|
-
*/
|
|
7
|
-
interface AppLoadContext {
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type { AppLoadContext as A };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An object of unknown type for route loaders and actions provided by the
|
|
3
|
-
* server's `getLoadContext()` function. This is defined as an empty interface
|
|
4
|
-
* specifically so apps can leverage declaration merging to augment this type
|
|
5
|
-
* globally: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
|
|
6
|
-
*/
|
|
7
|
-
interface AppLoadContext {
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type { AppLoadContext as A };
|