@shivaedev/quality 0.40.0 → 0.41.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.41.0 - 2026-10-26
4
+
5
+ ### Added
6
+
7
+ - Generated apps include app-owned admin navigation, Jobs health, counts, failed and dead-lettered lists, job detail, and an example note-statistics page on the existing protected RPC transport. Jobs views accept retry actions from explicitly retry-enabled registrations and retain the default read-only registration.
8
+
9
+ ### Breaking
10
+
11
+ - `@shivaedev/create-app`'s starter no longer serves the pg-boss dashboard at `/admin/jobs`; the app-owned admin Jobs views replace it. Existing apps must remove `readOnlyDashboard.ts`, `readOnlyDashboardWorker.ts`, `checkDashboardVersion.ts` and `jobDashboard.ts`, remove the `@pg-boss/dashboard` dependency and catalog pin, and register the admin pages and their handlers on the existing `/rpc` host. Keep admin account provisioning through `admin:create`, `admin.ts` and `createAdmin.ts`.
12
+ - `@shivaedev/quality`'s `appViteConfig` leaves `/admin/jobs` on the client router. Apps that still host a server dashboard at that path must add their own Vite `server.proxy` entry for `/admin/jobs` targeting the app host.
13
+
3
14
  ## 0.40.0 - 2026-10-25
4
15
 
5
16
  ### Changed
package/README.md CHANGED
@@ -327,7 +327,7 @@ import { appViteConfig } from "@shivaedev/quality/appViteConfig.ts";
327
327
  export default appViteConfig([tailwindcss(), react()]);
328
328
  ```
329
329
 
330
- Use this in `vite.config.ts`. Plugins belong to the app. The shared server proxies `/api/auth`, `/rpc` and `/admin/jobs` to the local host on port 3000, preserving the request Host. It enables TypeScript path resolution.
330
+ Use this in `vite.config.ts`. Plugins belong to the app. The shared server proxies `/api/auth` and `/rpc` to the local host on port 3000, preserving the request Host. It enables TypeScript path resolution. Client routes, including administration pages, stay on Vite.
331
331
 
332
332
  ```ts
333
333
  import { appTestConfig } from "@shivaedev/quality/appTestConfig.ts";
@@ -5,7 +5,7 @@ export function appViteConfig(plugins, conditions = []) {
5
5
  server: {
6
6
  host: "127.0.0.1",
7
7
  port: 5173,
8
- proxy: Object.fromEntries(["/admin/jobs", "/api/auth", "/rpc"].map((path) => [path, { changeOrigin: false, target: "http://127.0.0.1:3000" }])),
8
+ proxy: Object.fromEntries(["/api/auth", "/rpc"].map((path) => [path, { changeOrigin: false, target: "http://127.0.0.1:3000" }])),
9
9
  strictPort: true,
10
10
  },
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"appViteConfig.js","sourceRoot":"","sources":["../src/appViteConfig.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAAU,OAAkB,EAAE,UAAU,GAAa,EAAE;IACnF,OAAO;QACN,OAAO;QACP,OAAO,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE;QAC5C,MAAM,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;YAC/I,UAAU,EAAE,IAAI;SAChB;KACD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"appViteConfig.js","sourceRoot":"","sources":["../src/appViteConfig.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAAU,OAAkB,EAAE,UAAU,GAAa,EAAE;IACnF,OAAO;QACN,OAAO;QACP,OAAO,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE;QAC5C,MAAM,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;YAChI,UAAU,EAAE,IAAI;SAChB;KACD,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/quality",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "Repository quality gate with typed rules, a baseline of existing debt and a registry of reasoned exceptions",
5
5
  "homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/quality#readme",
6
6
  "bugs": {
@@ -5,7 +5,7 @@ export function appViteConfig<TPlugin>(plugins: TPlugin[], conditions: string[]
5
5
  server: {
6
6
  host: "127.0.0.1",
7
7
  port: 5173,
8
- proxy: Object.fromEntries(["/admin/jobs", "/api/auth", "/rpc"].map((path) => [path, { changeOrigin: false, target: "http://127.0.0.1:3000" }])),
8
+ proxy: Object.fromEntries(["/api/auth", "/rpc"].map((path) => [path, { changeOrigin: false, target: "http://127.0.0.1:3000" }])),
9
9
  strictPort: true,
10
10
  },
11
11
  };