@aiquants/vault-host 0.7.0 → 0.8.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.
Files changed (2) hide show
  1. package/README.md +12 -7
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -31,20 +31,25 @@ pnpm add @aiquants/vault-host @aiquants/vault-core @aiquants/vault-drizzle @aiqu
31
31
  @aiquants/auth-core @aiquants/auth-react-router @aiquants/auth-directory-core @aiquants/auth-directory-drizzle \
32
32
  @aiquants/authz-core @aiquants/authz-drizzle @aiquants/authz-react-router @aiquants/console-ui @aiquants/mssql \
33
33
  @aiquants/select-box @aiquants/virtualscroll drizzle-orm mssql react react-router
34
- # peers: @aiquants/vault-core ^0.8.0, @aiquants/vault-drizzle ^0.6.0, @aiquants/vault-react-router ^0.5.1,
35
- # @aiquants/auth-core ^0.9.6, @aiquants/auth-react-router ^0.55.0, @aiquants/auth-directory-core ^0.6.0,
34
+ # peers: @aiquants/vault-core ^0.8.0, @aiquants/vault-drizzle ^0.6.0, @aiquants/vault-react-router ^0.6.0,
35
+ # @aiquants/auth-core ^0.9.6, @aiquants/auth-react-router ^0.56.0, @aiquants/auth-directory-core ^0.6.0,
36
36
  # @aiquants/auth-directory-drizzle ^0.24.0, @aiquants/authz-core ^0.7.1, @aiquants/authz-drizzle ^4.0.0,
37
- # @aiquants/authz-react-router ^0.37.0, @aiquants/console-ui ^0.12.6, @aiquants/mssql ^0.5.0,
37
+ # @aiquants/authz-react-router ^0.38.0, @aiquants/console-ui ^0.13.0, @aiquants/mssql ^0.5.0,
38
38
  # drizzle-orm >=1.0.0-beta.4 <2.0.0, mssql ^11.0.1, react ^19.2.7, react-router ^7.0.0 || ^8.0.0
39
39
  ```
40
40
 
41
41
  Every dependency is a peer, so the application holds one copy of each. This package ships no CSS, but the screens it
42
42
  mounts draw with three stylesheets, each loaded once: console-ui's (`@aiquants/console-ui/styles/console-ui.css`, its
43
43
  `cui` layer above any reset layer, as its README's "Loading the stylesheet" describes) and, for the pickers of the two
44
- administration screens, select-box's and its peer virtualscroll's (select-box's README, "CSS Setup"). Without the last
45
- two, the pickers draw as bare inputs whose option lists overlap the fields below them. select-box and virtualscroll are
46
- peers of the administration screens' packages, not of this one: the command above adds them because the application
47
- imports their stylesheets itself. The server and the ceremony entries need Node 24 or later.
44
+ administration screens, select-box's and its peer virtualscroll's (select-box's README, "CSS Setup"). The console's root,
45
+ the pickers and their option lists check once they mount that their package's stylesheet applies to them, and throw a
46
+ `StylesheetMarkerError` (the class of `@aiquants/stylesheet-marker`) to the nearest error boundary when the page lacks
47
+ it (`failure: "missing"`) or carries another build of it (`failure: "mismatch"`). jsdom loads no stylesheet, so a host's
48
+ jsdom tests that render the screens place the markers from their setup file: `installConsoleUiStylesheetMarker(document)`
49
+ from `@aiquants/console-ui/testing`, and for the pickers `installSelectBoxStylesheetMarker(document)` and
50
+ `installVirtualScrollStylesheetMarker(document)` from the `testing` entries of select-box and virtualscroll. select-box
51
+ and virtualscroll are peers of the administration screens' packages, not of this one: the command above adds them
52
+ because the application imports their stylesheets itself. The server and the ceremony entries need Node 24 or later.
48
53
 
49
54
  ```css
50
55
  /* Tailwind v4 host: app/app.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/vault-host",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Assembles a vault app from its database and environment: Google sign-in limited to one Workspace domain and the vault's allowlist groups, authz and its admin screens, user and group admin with directory links, the vault screens with their compartment face, and the key ceremony.",
5
5
  "sideEffects": false,
6
6
  "main": "dist/server.js",
@@ -61,19 +61,19 @@
61
61
  "@aiquants/auth-core": "0.9.6",
62
62
  "@aiquants/auth-directory-core": "0.6.0",
63
63
  "@aiquants/auth-directory-drizzle": "0.24.1",
64
- "@aiquants/auth-react-router": "0.55.0",
64
+ "@aiquants/auth-react-router": "0.56.0",
65
65
  "@aiquants/authz-core": "0.7.1",
66
66
  "@aiquants/authz-drizzle": "4.0.0",
67
- "@aiquants/authz-react-router": "0.37.1",
68
- "@aiquants/console-ui": "0.12.6",
67
+ "@aiquants/authz-react-router": "0.38.0",
68
+ "@aiquants/console-ui": "0.13.0",
69
69
  "@aiquants/fuzzy-search": "3.2.3",
70
70
  "@aiquants/mssql": "0.5.2",
71
71
  "@aiquants/request-isolation": "0.1.1",
72
- "@aiquants/select-box": "0.24.2",
72
+ "@aiquants/select-box": "0.25.0",
73
73
  "@aiquants/vault-core": "0.8.0",
74
74
  "@aiquants/vault-drizzle": "0.6.0",
75
- "@aiquants/vault-react-router": "0.5.1",
76
- "@aiquants/virtualscroll": "3.31.4",
75
+ "@aiquants/vault-react-router": "0.6.0",
76
+ "@aiquants/virtualscroll": "4.0.0",
77
77
  "@testing-library/jest-dom": "^6.9.1",
78
78
  "@testing-library/react": "^16.3.2",
79
79
  "@types/mssql": "^9.1.9",
@@ -101,15 +101,15 @@
101
101
  "@aiquants/auth-core": "^0.9.6",
102
102
  "@aiquants/auth-directory-core": "^0.6.0",
103
103
  "@aiquants/auth-directory-drizzle": "^0.24.0",
104
- "@aiquants/auth-react-router": "^0.55.0",
104
+ "@aiquants/auth-react-router": "^0.56.0",
105
105
  "@aiquants/authz-core": "^0.7.1",
106
106
  "@aiquants/authz-drizzle": "^4.0.0",
107
- "@aiquants/authz-react-router": "^0.37.0",
108
- "@aiquants/console-ui": "^0.12.6",
107
+ "@aiquants/authz-react-router": "^0.38.0",
108
+ "@aiquants/console-ui": "^0.13.0",
109
109
  "@aiquants/mssql": "^0.5.0",
110
110
  "@aiquants/vault-core": "^0.8.0",
111
111
  "@aiquants/vault-drizzle": "^0.6.0",
112
- "@aiquants/vault-react-router": "^0.5.1",
112
+ "@aiquants/vault-react-router": "^0.6.0",
113
113
  "drizzle-orm": ">=1.0.0-beta.4 <2.0.0",
114
114
  "mssql": "^11.0.1",
115
115
  "react": "^19.2.7",