@owlmeans/web-router-react-router 0.1.16-rc.0 → 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,9 @@
1
1
  <!-- owlmeans:agent-guidance:start -->
2
2
  ## Agent guidance
3
3
 
4
- This package ships embedded Claude Code skills and GitHub Copilot instructions under
5
- `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
6
- agent-skills installer to place them into your project's native locations
7
- (`.claude/skills/` and `.github/instructions/`):
4
+ This package ships embedded agent skills under `agent-meta/`. After installing your
5
+ `@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
6
+ your project's skill store (`.agents/skills/`):
8
7
 
9
8
  ```sh
10
9
  npx @owlmeans/agent-skills
@@ -1,8 +1,8 @@
1
1
  {
2
- "schemaVersion": 1,
2
+ "schemaVersion": 2,
3
3
  "package": "@owlmeans/web-router-react-router",
4
- "version": "0.1.16-rc.0",
5
- "generatedAt": "2026-08-11T14:02:34.980Z",
4
+ "version": "0.1.17",
5
+ "generatedAt": "2026-08-15T13:01:19.932Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -10,14 +10,7 @@
10
10
  "name": "web-router-react-router",
11
11
  "category": "package-specific",
12
12
  "file": "skills/web-router-react-router/SKILL.md",
13
- "canonicalPath": ".claude/skills/web-router-react-router/SKILL.md"
14
- },
15
- {
16
- "kind": "instruction",
17
- "name": "web-router-react-router",
18
- "category": "package-specific",
19
- "file": "instructions/web-router-react-router.instructions.md",
20
- "canonicalPath": ".github/instructions/web-router-react-router.instructions.md"
13
+ "canonicalPath": ".agents/skills/web-router-react-router/SKILL.md"
21
14
  }
22
15
  ]
23
16
  }
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/web-router-react-router
9
9
 
10
10
  **Layer:** Web (React), build level L2
11
- **Install:** `"@owlmeans/web-router-react-router": "^0.1.16-rc.0"` in `dependencies`
11
+ **Install:** `"@owlmeans/web-router-react-router": "^0.1.17"` in `dependencies`
12
12
 
13
13
  The React Router v7 mechanic as an OwlMeans routing plugin. Extracted from the former `web-router`
14
14
  so react-router is **opt-in**: OwlMeans in-browser routing is the default, and you add this plugin
@@ -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;AAIlE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,CAI5F,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;AAIlE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,KAAG,CAI5F,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/web-router-react-router",
3
- "version": "0.1.16-rc.0",
3
+ "version": "0.1.17",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -22,19 +22,19 @@
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "*",
25
- "react-router": "^7.9.6"
25
+ "react-router": "^8.3.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@owlmeans/dep-config": "workspace:*",
29
29
  "@types/node": "^26.1.0",
30
30
  "@types/react": "^19.2.17",
31
31
  "nodemon": "^3.1.14",
32
- "react-router": "^7.9.6",
33
- "typescript": "^6.0.3"
32
+ "react-router": "^8.3.0",
33
+ "typescript": "^7.0.2"
34
34
  },
35
35
  "dependencies": {
36
- "@owlmeans/context": "^0.1.16-rc.0",
37
- "@owlmeans/router": "^0.1.16-rc.0"
36
+ "@owlmeans/context": "^0.1.17",
37
+ "@owlmeans/router": "^0.1.17"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -1,34 +0,0 @@
1
- ---
2
- description: "How to use @owlmeans/web-router-react-router — the opt-in React Router v7 routing plugin for OwlMeans. Use when an app should route with react-router instead of the default OwlMeans browser router."
3
- applyTo: "**/*.ts, **/*.tsx"
4
- ---
5
- <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
-
7
- # @owlmeans/web-router-react-router
8
-
9
- **Layer:** Web (React), L2
10
- **Install:** `"@owlmeans/web-router-react-router": "^0.1.16-rc.0"` in `dependencies`
11
-
12
- React Router v7 as an OwlMeans routing plugin, extracted from the former `web-router` so react-router
13
- is opt-in. OwlMeans in-browser routing is the default.
14
-
15
- ## Key Exports
16
-
17
- | Export | Description |
18
- |--------|-------------|
19
- | `appendReactRouter(ctx)` | Register the react-router plugin (priority 100 → wins the cascade). |
20
- | `makeReactRouterPlugin()` | The `RouterPlugin` (alias `react-router`); `compile` = `createBrowserRouter`. |
21
- | `REACT_ROUTER`, `REACT_ROUTER_PRIORITY` | Constants. |
22
-
23
- ## Usage
24
-
25
- ```typescript
26
- import { appendReactRouter } from '@owlmeans/web-router-react-router'
27
- export const makeContext = (cfg) => { const c = makeBaseContext(cfg); appendReactRouter(c); return c }
28
- ```
29
-
30
- Route/entrypoint declarations don't change — path descriptions are identical.
31
-
32
- ## Depends On
33
-
34
- - `@owlmeans/router`, `@owlmeans/context`; peer `react`, `react-router@^7.9.6`