@jskit-ai/auth-web 0.1.126 → 0.1.128

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  "packageVersion": 1,
3
3
  "packageId": "@jskit-ai/auth-web",
4
- "version": "0.1.126",
4
+ "version": "0.1.128",
5
5
  "kind": "runtime",
6
6
  "description": "Auth web module: Fastify auth routes plus web login/sign-out scaffolds.",
7
7
  "dependsOn": [
@@ -264,10 +264,10 @@ export default Object.freeze({
264
264
  "dependencies": {
265
265
  "runtime": {
266
266
  "@mdi/js": "^7.4.47",
267
- "@jskit-ai/auth-core": "0.1.123",
268
- "@jskit-ai/http-runtime": "0.1.124",
269
- "@jskit-ai/kernel": "0.1.126",
270
- "@jskit-ai/shell-web": "0.1.127"
267
+ "@jskit-ai/auth-core": "0.1.125",
268
+ "@jskit-ai/http-runtime": "0.1.126",
269
+ "@jskit-ai/kernel": "0.1.128",
270
+ "@jskit-ai/shell-web": "0.1.129"
271
271
  },
272
272
  "dev": {}
273
273
  },
@@ -283,6 +283,7 @@ export default Object.freeze({
283
283
  {
284
284
  "from": "templates/src/views/auth/LoginView.vue",
285
285
  "to": "src/views/auth/LoginView.vue",
286
+ "ownership": "app",
286
287
  "reason": "Install minimal login container that renders the module-provided DefaultLoginView by default.",
287
288
  "category": "auth-web",
288
289
  "id": "auth-view-login"
@@ -290,6 +291,7 @@ export default Object.freeze({
290
291
  {
291
292
  "from": "templates/src/views/auth/SignOutView.vue",
292
293
  "to": "src/views/auth/SignOutView.vue",
294
+ "ownership": "app",
293
295
  "reason": "Install minimal sign-out container that renders the module-provided SignOutView by default (edit the scaffolded file to customize).",
294
296
  "category": "auth-web",
295
297
  "id": "auth-view-signout"
@@ -297,6 +299,7 @@ export default Object.freeze({
297
299
  {
298
300
  "from": "templates/src/views/auth/ResetPasswordView.vue",
299
301
  "to": "src/views/auth/ResetPasswordView.vue",
302
+ "ownership": "app",
300
303
  "reason": "Install minimal password reset container that renders the module-provided DefaultResetPasswordView by default.",
301
304
  "category": "auth-web",
302
305
  "id": "auth-view-reset-password"
@@ -304,6 +307,7 @@ export default Object.freeze({
304
307
  {
305
308
  "from": "templates/src/pages/auth/login.vue",
306
309
  "to": "src/pages/auth/login.vue",
310
+ "ownership": "app",
307
311
  "reason": "Provide an auth-surface /auth/login wrapper that renders the package login view.",
308
312
  "category": "auth-web",
309
313
  "id": "auth-page-login"
@@ -311,6 +315,7 @@ export default Object.freeze({
311
315
  {
312
316
  "from": "templates/src/pages/auth/signout.vue",
313
317
  "to": "src/pages/auth/signout.vue",
318
+ "ownership": "app",
314
319
  "reason": "Provide an auth-surface /auth/signout wrapper that renders the package sign-out view.",
315
320
  "category": "auth-web",
316
321
  "id": "auth-page-signout"
@@ -318,6 +323,7 @@ export default Object.freeze({
318
323
  {
319
324
  "from": "templates/src/pages/auth/reset-password.vue",
320
325
  "to": "src/pages/auth/reset-password.vue",
326
+ "ownership": "app",
321
327
  "reason": "Provide an auth-surface /auth/reset-password wrapper that renders the package password reset view.",
322
328
  "category": "auth-web",
323
329
  "id": "auth-page-reset-password"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/auth-web",
3
- "version": "0.1.126",
3
+ "version": "0.1.128",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -20,11 +20,11 @@
20
20
  "./test/playwright": "./src/test/playwright.js"
21
21
  },
22
22
  "dependencies": {
23
- "@jskit-ai/auth-core": "0.1.123",
23
+ "@jskit-ai/auth-core": "0.1.125",
24
24
  "@mdi/js": "^7.4.47",
25
- "@jskit-ai/kernel": "0.1.126",
26
- "@jskit-ai/shell-web": "0.1.127",
27
- "@jskit-ai/http-runtime": "0.1.124"
25
+ "@jskit-ai/kernel": "0.1.128",
26
+ "@jskit-ai/shell-web": "0.1.129",
27
+ "@jskit-ai/http-runtime": "0.1.126"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@tanstack/vue-query": "^5.90.5",
@@ -0,0 +1,20 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import descriptor from "../package.descriptor.mjs";
4
+
5
+ test("auth-web leaves its editable view and route scaffolds app-owned", () => {
6
+ const expectedIds = [
7
+ "auth-view-login",
8
+ "auth-view-signout",
9
+ "auth-view-reset-password",
10
+ "auth-page-login",
11
+ "auth-page-signout",
12
+ "auth-page-reset-password"
13
+ ];
14
+
15
+ for (const id of expectedIds) {
16
+ const mutation = descriptor.mutations.files.find((entry) => entry.id === id);
17
+ assert.ok(mutation, `Missing auth-web scaffold mutation ${id}.`);
18
+ assert.equal(mutation.ownership, "app", `${id} must remain app-owned across package updates.`);
19
+ }
20
+ });