@owlmeans/web-router 0.1.16 → 0.1.17

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 CHANGED
@@ -1,10 +1,12 @@
1
1
  # @owlmeans/web-router
2
2
 
3
- React Router DOM integration for the OwlMeans context system.
3
+ The default OwlMeans in-browser routing plugin for the OwlMeans context system. It depends on no
4
+ third-party router — react-router is a separate opt-in plugin,
5
+ [`@owlmeans/web-router-react-router`](../web-router-react-router).
4
6
 
5
7
  ## Overview
6
8
 
7
- - `makeWebRouterService()` — creates a router service backed by React Router DOM
9
+ - `makeWebRouterService()` — creates a router service backed by the OwlMeans browser router
8
10
  - `appendWebRouter(ctx)` — registers the web router service in the context
9
11
  - Provides `useParams`, `useLocation`, `useNavigate`, `outlet()`, `provider()` via the service
10
12
  - Used internally by `@owlmeans/web-client`'s `makeContext` — not typically used directly
@@ -29,7 +31,7 @@ appendWebRouter(context)
29
31
 
30
32
  ### `makeWebRouterService(): RouterService`
31
33
 
32
- Creates a router service with React Router DOM hooks and components.
34
+ Creates a router service with the OwlMeans browser router hooks and components.
33
35
 
34
36
  ### `appendWebRouter<C, T>(ctx): void`
35
37
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/web-router",
4
- "version": "0.1.16",
5
- "generatedAt": "2026-08-14T10:14:48.859Z",
4
+ "version": "0.1.17",
5
+ "generatedAt": "2026-08-15T13:01:19.941Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/web-router
9
9
 
10
10
  **Layer:** Web (React), build level L2
11
- **Install:** `"@owlmeans/web-router": "^0.1.16"` in `dependencies`
11
+ **Install:** `"@owlmeans/web-router": "^0.1.17"` in `dependencies`
12
12
 
13
13
  As of the pluggable-routing rework this package **is the default OwlMeans in-browser router** — a
14
14
  minimal, react-router-free implementation of standard URL routing over the browser History API. It
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIrD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAO,aAIvC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,CAI1F,CAAA"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIrD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAO,aAIvC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,KAAG,CAI1F,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/web-router",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@owlmeans/dep-config": "workspace:*",
29
- "@owlmeans/test-ui": "^0.1.16",
29
+ "@owlmeans/test-ui": "^0.1.17",
30
30
  "@types/node": "^26.1.0",
31
31
  "@types/react": "^19.2.17",
32
32
  "@vitejs/plugin-react": "^6.0.3",
@@ -34,12 +34,12 @@
34
34
  "playwright": "^1.61.1",
35
35
  "react": "^19.2.7",
36
36
  "react-dom": "^19.2.7",
37
- "typescript": "^6.0.3",
37
+ "typescript": "^7.0.2",
38
38
  "vite": "^8.1.2"
39
39
  },
40
40
  "dependencies": {
41
- "@owlmeans/context": "^0.1.16",
42
- "@owlmeans/router": "^0.1.16"
41
+ "@owlmeans/context": "^0.1.17",
42
+ "@owlmeans/router": "^0.1.17"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"