@alxia/react-router 0.8.0 → 0.8.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/docs/guide.md +1 -1
- package/docs/troubleshooting.md +1 -1
- package/package.json +9 -9
package/docs/guide.md
CHANGED
|
@@ -820,7 +820,7 @@ export async function action({ context }: ActionFunctionArgs) {
|
|
|
820
820
|
ones.** `LoaderFunctionArgs`, `ActionFunctionArgs`, `MiddlewareFunction` and
|
|
821
821
|
`RouterContextProvider`, imported from `react-router`, see `alxia`. The
|
|
822
822
|
generated `Route.LoaderArgs` does not: the `+types` files import from
|
|
823
|
-
`react-router/internal`, whose types (in react-router 8.4) point at its
|
|
823
|
+
`react-router/internal`, whose types (in react-router 8.4 and 8.5) point at its
|
|
824
824
|
`dist/development` build, while `react-router` itself points at
|
|
825
825
|
`dist/production`. That is a second declaration of `RouterContextProvider`,
|
|
826
826
|
which no exported path reaches, so no package can augment it. With
|
package/docs/troubleshooting.md
CHANGED
|
@@ -785,7 +785,7 @@ or `Route.ActionArgs` reads `context.alxia`. At runtime it is there; only
|
|
|
785
785
|
**Why:** this package augments `RouterContextProvider` as `react-router`
|
|
786
786
|
exports it, whose types are `dist/production`'s. The generated `+types`
|
|
787
787
|
files read their argument types from `react-router/internal`, whose types,
|
|
788
|
-
in react-router 8.4, point at `dist/development`: a second declaration of
|
|
788
|
+
in react-router 8.4 and 8.5, point at `dist/development`: a second declaration of
|
|
789
789
|
the class, which no exported path reaches, so no augmentation can add
|
|
790
790
|
`alxia` to it.
|
|
791
791
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alxia/react-router",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "alxia as the server of a React Router framework app: server rendering behind the app's hooks, loaders reading its typed context, the client's assets served",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@alxia/compress": "^0.3.
|
|
55
|
-
"@alxia/core": "^0.
|
|
56
|
-
"@alxia/openapi": "^0.6.
|
|
57
|
-
"@react-router/dev": "^8.
|
|
54
|
+
"@alxia/compress": "^0.3.10",
|
|
55
|
+
"@alxia/core": "^0.15.0",
|
|
56
|
+
"@alxia/openapi": "^0.6.10",
|
|
57
|
+
"@react-router/dev": "^8.5.0",
|
|
58
58
|
"@types/bun": "^1.4.2",
|
|
59
59
|
"@types/react": "^19.3.0",
|
|
60
60
|
"@types/react-dom": "^19.3.0",
|
|
61
61
|
"isbot": "^5.2.2",
|
|
62
|
-
"react": "^19.3.
|
|
63
|
-
"react-dom": "^19.3.
|
|
64
|
-
"react-router": "^8.
|
|
62
|
+
"react": "^19.3.1",
|
|
63
|
+
"react-dom": "^19.3.1",
|
|
64
|
+
"react-router": "^8.5.0",
|
|
65
65
|
"vite": "^7.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@alxia/core": "^0.
|
|
68
|
+
"@alxia/core": "^0.15.0",
|
|
69
69
|
"react-router": "^8.0.0",
|
|
70
70
|
"typescript": "^6.0.3 || ^7.0.0",
|
|
71
71
|
"vite": "^7.0.0 || ^8.0.0"
|