@real-router/solid 0.1.0 → 0.1.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/README.md +6 -0
- package/dist/cjs/index.d.ts +2 -1
- package/dist/esm/index.d.mts +2 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -295,6 +295,12 @@ Full documentation: [Wiki](https://github.com/greydragon888/real-router/wiki)
|
|
|
295
295
|
- [RouterProvider](https://github.com/greydragon888/real-router/wiki/RouterProvider) · [RouteView](https://github.com/greydragon888/real-router/wiki/RouteView) · [Link](https://github.com/greydragon888/real-router/wiki/Link)
|
|
296
296
|
- [useRouter](https://github.com/greydragon888/real-router/wiki/useRouter) · [useRoute](https://github.com/greydragon888/real-router/wiki/useRoute) · [useRouteNode](https://github.com/greydragon888/real-router/wiki/useRouteNode) · [useNavigator](https://github.com/greydragon888/real-router/wiki/useNavigator) · [useRouteUtils](https://github.com/greydragon888/real-router/wiki/useRouteUtils) · [useRouterTransition](https://github.com/greydragon888/real-router/wiki/useRouterTransition)
|
|
297
297
|
|
|
298
|
+
## Examples
|
|
299
|
+
|
|
300
|
+
14 runnable examples — each is a standalone Vite app. Run: `cd examples/solid/basic && pnpm dev`
|
|
301
|
+
|
|
302
|
+
[basic](../../examples/solid/basic) · [nested-routes](../../examples/solid/nested-routes) · [auth-guards](../../examples/solid/auth-guards) · [data-loading](../../examples/solid/data-loading) · [lazy-loading](../../examples/solid/lazy-loading) · [async-guards](../../examples/solid/async-guards) · [hash-routing](../../examples/solid/hash-routing) · [persistent-params](../../examples/solid/persistent-params) · [error-handling](../../examples/solid/error-handling) · [dynamic-routes](../../examples/solid/dynamic-routes) · [store-based-state](../../examples/solid/store-based-state) · [use-link-directive](../../examples/solid/use-link-directive) · [signal-primitives](../../examples/solid/signal-primitives) · [combined](../../examples/solid/combined)
|
|
303
|
+
|
|
298
304
|
## Related Packages
|
|
299
305
|
|
|
300
306
|
| Package | Description |
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -100,4 +100,5 @@ declare function createSignalFromSource<T>(source: RouterSource<T>): Accessor<T>
|
|
|
100
100
|
|
|
101
101
|
declare function createStoreFromSource<T extends object>(source: RouterSource<T>): T;
|
|
102
102
|
|
|
103
|
-
export { Link,
|
|
103
|
+
export { Link, RouteContext, RouteView, RouterContext, RouterProvider, createSignalFromSource, createStoreFromSource, link, useNavigator, useRoute, useRouteNode, useRouteNodeStore, useRouteStore, useRouteUtils, useRouter, useRouterTransition };
|
|
104
|
+
export type { LinkDirectiveOptions, LinkProps, RouteState, MatchProps as RouteViewMatchProps, NotFoundProps as RouteViewNotFoundProps, RouteViewProps };
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -100,4 +100,5 @@ declare function createSignalFromSource<T>(source: RouterSource<T>): Accessor<T>
|
|
|
100
100
|
|
|
101
101
|
declare function createStoreFromSource<T extends object>(source: RouterSource<T>): T;
|
|
102
102
|
|
|
103
|
-
export { Link,
|
|
103
|
+
export { Link, RouteContext, RouteView, RouterContext, RouterProvider, createSignalFromSource, createStoreFromSource, link, useNavigator, useRoute, useRouteNode, useRouteNodeStore, useRouteStore, useRouteUtils, useRouter, useRouterTransition };
|
|
104
|
+
export type { LinkDirectiveOptions, LinkProps, RouteState, MatchProps as RouteViewMatchProps, NotFoundProps as RouteViewNotFoundProps, RouteViewProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@real-router/solid",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Solid.js integration for Real-Router",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -51,28 +51,28 @@
|
|
|
51
51
|
"license": "MIT",
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@real-router/core": "^0.
|
|
55
|
-
"@real-router/route-utils": "^0.1.
|
|
56
|
-
"@real-router/sources": "^0.2.
|
|
57
|
-
"dom-utils": "^0.2.
|
|
54
|
+
"@real-router/core": "^0.39.0",
|
|
55
|
+
"@real-router/route-utils": "^0.1.6",
|
|
56
|
+
"@real-router/sources": "^0.2.6",
|
|
57
|
+
"dom-utils": "^0.2.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@babel/core": "7.
|
|
61
|
-
"@babel/preset-typescript": "7.
|
|
62
|
-
"@rollup/plugin-babel": "
|
|
63
|
-
"@rollup/plugin-node-resolve": "
|
|
60
|
+
"@babel/core": "7.29.0",
|
|
61
|
+
"@babel/preset-typescript": "7.28.5",
|
|
62
|
+
"@rollup/plugin-babel": "7.0.0",
|
|
63
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
64
64
|
"@solidjs/testing-library": "0.8.10",
|
|
65
65
|
"@testing-library/dom": "10.4.1",
|
|
66
66
|
"@testing-library/jest-dom": "6.9.1",
|
|
67
67
|
"@testing-library/user-event": "14.6.1",
|
|
68
68
|
"babel-preset-solid": "1.9.3",
|
|
69
|
-
"rimraf": "6.
|
|
70
|
-
"rollup": "4.
|
|
71
|
-
"rollup-plugin-dts": "6.
|
|
69
|
+
"rimraf": "6.1.3",
|
|
70
|
+
"rollup": "4.60.0",
|
|
71
|
+
"rollup-plugin-dts": "6.4.1",
|
|
72
72
|
"solid-js": "1.9.5",
|
|
73
73
|
"vite-plugin-solid": "2.11.11",
|
|
74
74
|
"vitest": "4.1.0",
|
|
75
|
-
"@real-router/browser-plugin": "^0.10.
|
|
75
|
+
"@real-router/browser-plugin": "^0.10.4"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"solid-js": ">=1.7.0"
|