@stealthscale/provider-router 0.1.0 → 0.4.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.
@@ -0,0 +1,16 @@
1
+ {
2
+ "about": "Links to a route by the ID a manifest declares. RouteLink resolves the ID through the route map at render time, so a link keeps working when the route's path changes.",
3
+ "after": "to see every axis it offers.",
4
+ "before": "Open",
5
+ "inline": {
6
+ "about": "A link inside a sentence. useRouteHref resolves the route ID to its path, and createLink(Link) links to the path with the navigation package's link ink and underline.",
7
+ "title": "In a sentence"
8
+ },
9
+ "named": "the button's page",
10
+ "opens": "Open the page",
11
+ "resolving": {
12
+ "about": "One link per route ID, each resolved through the router's route map. Following a link opens the page at its current path.",
13
+ "title": "Resolving an ID"
14
+ },
15
+ "title": "Route link"
16
+ }
package/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "@stealthscale/provider-router",
3
- "version": "0.1.0",
3
+ "version": "0.4.1",
4
4
  "description": "Publishes the routes an application navigates by, and the options every router starts from.",
5
5
  "keywords": [
6
6
  "react",
7
7
  "router",
8
8
  "routing"
9
9
  ],
10
- "homepage": "https://github.com/stealth-scale/config/tree/main/foundations/providers/router#readme",
11
- "bugs": "https://github.com/stealth-scale/config/issues",
10
+ "homepage": "https://github.com/stealth-scale/scale/tree/main/foundations/providers/router#readme",
11
+ "bugs": "https://github.com/stealth-scale/scale/issues",
12
12
  "license": "MIT",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "git+https://github.com/stealth-scale/config.git",
15
+ "url": "git+https://github.com/stealth-scale/scale.git",
16
16
  "directory": "foundations/providers/router"
17
17
  },
18
18
  "files": [
19
19
  "dist",
20
20
  "LICENSE",
21
+ "locales",
21
22
  "README.md"
22
23
  ],
23
24
  "type": "module",
@@ -32,30 +33,36 @@
32
33
  "publishConfig": {
33
34
  "access": "public"
34
35
  },
36
+ "dependencies": {
37
+ "@standard-schema/spec": "^1.1",
38
+ "@tanstack/router-core": "1.171.34"
39
+ },
35
40
  "devDependencies": {
36
- "@arethetypeswrong/core": "^0.18.5",
37
- "@rolldown/plugin-babel": "^0.2.4",
38
- "@stealthscale/testing-config": "^0.4.0",
39
- "@stealthscale/vite-config": "^0.6.0",
40
- "@stealthscale/vite-config-react": "^0.8.0",
41
+ "@arethetypeswrong/core": "^0.18",
42
+ "@stealthscale/component-layout": "^0.2.2",
43
+ "@stealthscale/component-navigation": "^0.3.2",
44
+ "@stealthscale/component-typography": "^0.3.2",
45
+ "@stealthscale/testing-config": "^0.6.0",
46
+ "@stealthscale/vite-config": "^0.8.0",
47
+ "@stealthscale/vite-config-react": "^0.9.1",
48
+ "@stealthscale/vite-config-specimen": "^0.3.0",
41
49
  "@stealthscale/vite-config-typescript": "^0.3.0",
42
- "@tanstack/react-router": "1.170.34",
43
- "@testing-library/react": "^16.3.0",
44
- "@types/react": "^19.3.0",
45
- "@types/react-dom": "^19.3.0",
46
- "@vitest/coverage-v8": "4.1.11",
47
- "babel-plugin-react-compiler": "^1.0.0",
48
- "happy-dom": "^20.14.3",
49
- "oxc-transform-react": "^0.149.0",
50
- "publint": "^0.3.24",
51
- "react": "^19.3.0",
52
- "react-dom": "^19.3.0",
53
- "typescript": "^7.0.2",
54
- "vitest": "4.1.11"
50
+ "@tanstack/react-router": "1.170.41",
51
+ "@testing-library/react": "^16.3",
52
+ "@types/react": "^19.3",
53
+ "@types/react-dom": "^19.3",
54
+ "@vitest/coverage-v8": "5.0.3",
55
+ "happy-dom": "^20.14",
56
+ "oxc-transform-react": "^0.153",
57
+ "publint": "^0.3",
58
+ "react": "^19.3",
59
+ "react-dom": "^19.3",
60
+ "typescript": "^7.0",
61
+ "vitest": "5.0.3"
55
62
  },
56
63
  "peerDependencies": {
57
- "@tanstack/react-router": "1.170.34",
58
- "react": "^19.3.0"
64
+ "@tanstack/react-router": "1.170.41",
65
+ "react": "^19.3"
59
66
  },
60
67
  "engines": {
61
68
  "node": ">=26.0.0"
@@ -1,27 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __exportAll = (all, no_symbols) => {
7
- let target = {};
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
13
- return target;
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
17
- key = keys[i];
18
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
- get: ((k) => from[k]).bind(null, key),
20
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
- });
22
- }
23
- return to;
24
- };
25
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
26
- //#endregion
27
- export { __reExport as n, __exportAll as t };