@softistx/alxia-react-router 0.89.0 → 0.89.2
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 +3 -11
- package/docs/troubleshooting.md +6 -8
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -38,17 +38,9 @@ own app, and make four changes.
|
|
|
38
38
|
bun add @softistx/alxia @softistx/alxia-react-router
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
The `@softistx`
|
|
42
|
-
|
|
43
|
-
`
|
|
44
|
-
|
|
45
|
-
```toml
|
|
46
|
-
[install.scopes]
|
|
47
|
-
"@softistx" = { url = "https://registry.npmjs.org", token = "$NPM_TOKEN" }
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
A 401 or 404 on install means the token is missing
|
|
51
|
-
([troubleshooting](docs/troubleshooting.md#get-httpsregistrynpmjsorgsoftistx---401-or-404-on-a-softistx-package)).
|
|
41
|
+
The `@softistx` packages are public on npmjs: no token or scope entry is needed.
|
|
42
|
+
A 401 or 404 on install usually means a registry mirror or a stale scope entry
|
|
43
|
+
in your `bunfig.toml` ([troubleshooting](docs/troubleshooting.md#get-httpsregistrynpmjsorgsoftistx---401-or-404-on-a-softistx-package)).
|
|
52
44
|
|
|
53
45
|
**2. Add the plugin** to `vite.config.ts`. It can go anywhere in `plugins`:
|
|
54
46
|
|
package/docs/troubleshooting.md
CHANGED
|
@@ -2301,20 +2301,18 @@ stepUpSteps({
|
|
|
2301
2301
|
`bun add @softistx/alxia-react-router` (or any `@softistx` package) fails
|
|
2302
2302
|
with a 401, or with `404 Not Found`, although the package exists.
|
|
2303
2303
|
|
|
2304
|
-
**Why:** the `@softistx`
|
|
2305
|
-
|
|
2304
|
+
**Why:** the `@softistx` packages are public on npmjs, so a 401 or 404 comes
|
|
2305
|
+
from the registry your install actually talks to: a mirror or proxy that does
|
|
2306
|
+
not carry the scope, or an old `[install.scopes]` entry in a `bunfig.toml` or
|
|
2307
|
+
`~/.bunfig.toml` pointing at another registry.
|
|
2306
2308
|
|
|
2307
|
-
**Fix:**
|
|
2308
|
-
(here `NPM_TOKEN`, any name works) rather than the file:
|
|
2309
|
+
**Fix:** remove the stale scope entry, or point the scope at npmjs:
|
|
2309
2310
|
|
|
2310
2311
|
```toml
|
|
2311
2312
|
[install.scopes]
|
|
2312
|
-
"@softistx" = { url = "https://registry.npmjs.org"
|
|
2313
|
+
"@softistx" = { url = "https://registry.npmjs.org" }
|
|
2313
2314
|
```
|
|
2314
2315
|
|
|
2315
|
-
Export the variable before `bun install`; an unset one is simply omitted, so
|
|
2316
|
-
the install fails again with the same error.
|
|
2317
|
-
|
|
2318
2316
|
### `docs/flows/…: <what is wrong with the front-matter>`
|
|
2319
2317
|
|
|
2320
2318
|
A `FlowFormatError`, thrown by `loadHelpFlows` (at module load) and reported as
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softistx/alxia-react-router",
|
|
3
|
-
"version": "0.89.
|
|
3
|
+
"version": "0.89.2",
|
|
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; the code with no UI an installable app shares (`/pwa`), its hooks (`/pwa/react`), `noCache` for the worker's script (`/pwa/server`), the service worker on Workbox (`/pwa/worker`) and its build (`/pwa/build`), an API's refusals worded for the page (`/errors`), the BFF session: cookies, sign-in, step-up and mail links (`/session`), its page hooks (`/session/react`) and what it shares with the page (`/session/model`), a GraphQL subscription relayed to the browser over SSE (`/subscription`) and kept alive in the page (`/subscription/react`), an API's MCP and OAuth endpoints relayed on the app's origin (`/mcp`), per-role flow docs, the help panel's data and its lazy `HelpPanel`, and the role guide's `useGuideRole` (`/help`, `/help/check`), an API's media files read and uploaded through the app (`/media`) and uploaded from the page with progress (`/media/client`), the page's CSP nonce and inline boot scripts (`/document`) and a streaming `entry.server` (`/entry`), the consent screen of an OAuth server: a route's loader and action, the connected apps' list and revoke (`/oauth`) and the decision hook (`/oauth/react`), a user's API keys listed, created behind a step-up and revoked (`/api-keys`) and `/oidc`: a relying party of an external OpenID Connect issuer (authorization code + PKCE, id token validation, a sealed token cookie, refresh and RP-initiated logout)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
},
|
|
167
167
|
"publishConfig": {
|
|
168
168
|
"registry": "https://registry.npmjs.org",
|
|
169
|
-
"access": "
|
|
169
|
+
"access": "public"
|
|
170
170
|
},
|
|
171
171
|
"scripts": {
|
|
172
172
|
"build": "bun run ../../build.ts",
|
|
@@ -207,11 +207,11 @@
|
|
|
207
207
|
]
|
|
208
208
|
},
|
|
209
209
|
"devDependencies": {
|
|
210
|
-
"@softistx/alxia-compress": "^0.4.
|
|
211
|
-
"@softistx/alxia": "^0.
|
|
212
|
-
"@softistx/alxia-openapi": "^0.7.
|
|
213
|
-
"@softistx/alxia-proxy": "^0.5.
|
|
214
|
-
"@softistx/alxia-secure-headers": "^0.6.
|
|
210
|
+
"@softistx/alxia-compress": "^0.4.2",
|
|
211
|
+
"@softistx/alxia": "^0.29.1",
|
|
212
|
+
"@softistx/alxia-openapi": "^0.7.2",
|
|
213
|
+
"@softistx/alxia-proxy": "^0.5.2",
|
|
214
|
+
"@softistx/alxia-secure-headers": "^0.6.2",
|
|
215
215
|
"@softistx/graphql-client": "^0.13.0",
|
|
216
216
|
"@react-router/dev": "^8.5.3",
|
|
217
217
|
"@softistx/janus": "^0.85.0",
|
|
@@ -237,8 +237,8 @@
|
|
|
237
237
|
"zod": "^4.2.0"
|
|
238
238
|
},
|
|
239
239
|
"peerDependencies": {
|
|
240
|
-
"@softistx/alxia": "^0.
|
|
241
|
-
"@softistx/alxia-proxy": "^0.5.
|
|
240
|
+
"@softistx/alxia": "^0.29.1",
|
|
241
|
+
"@softistx/alxia-proxy": "^0.5.2",
|
|
242
242
|
"@softistx/graphql-client": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0",
|
|
243
243
|
"isbot": "^5.0.0",
|
|
244
244
|
"jose": "^6.0.0",
|