@hollware/admin 0.1.0 → 0.3.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.
@@ -0,0 +1,15 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Hollware</title>
7
+ <script type="module" crossorigin src="/admin/assets/index-NtWIwjeZ.js"></script>
8
+ <link rel="modulepreload" crossorigin href="/admin/assets/session-CDqermoS.js">
9
+ <link rel="modulepreload" crossorigin href="/admin/assets/VisuallyHidden-DQM1Rx2i.js">
10
+ <link rel="stylesheet" crossorigin href="/admin/assets/index-CnEFqror.css">
11
+ </head>
12
+ <body>
13
+ <div id="app"></div>
14
+ </body>
15
+ </html>
package/dist/index.d.mts CHANGED
@@ -1,3 +1,10 @@
1
1
  //#region src/index.d.ts
2
2
  export declare const name = "@hollware/admin";
3
+ /**
4
+ * The directory of the admin's built files, for the user's Vite config: `publicDir:
5
+ * adminAssets()` serves them in development and copies them into the build, where the Worker's
6
+ * static assets hold them under `/admin/` (ADR-026). The files are built before the package is
7
+ * published; in this repository, `vp run -r build` builds them.
8
+ */
9
+ export declare function adminAssets(): string;
3
10
  //#endregion
package/dist/index.mjs CHANGED
@@ -1,4 +1,14 @@
1
+ import { fileURLToPath } from "node:url";
1
2
  //#region src/index.ts
2
3
  const name = "@hollware/admin";
4
+ /**
5
+ * The directory of the admin's built files, for the user's Vite config: `publicDir:
6
+ * adminAssets()` serves them in development and copies them into the build, where the Worker's
7
+ * static assets hold them under `/admin/` (ADR-026). The files are built before the package is
8
+ * published; in this repository, `vp run -r build` builds them.
9
+ */
10
+ function adminAssets() {
11
+ return fileURLToPath(new URL("../dist/client", import.meta.url));
12
+ }
3
13
  //#endregion
4
- export { name };
14
+ export { adminAssets, name };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hollware/admin",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "The Hollware admin, prebuilt for the user's Worker.",
5
5
  "homepage": "https://hollware.com",
6
6
  "bugs": {
@@ -28,16 +28,35 @@
28
28
  "provenance": true
29
29
  },
30
30
  "devDependencies": {
31
+ "@codemirror/commands": "6.11.1",
32
+ "@codemirror/lang-markdown": "6.5.2",
33
+ "@codemirror/lint": "6.9.7",
34
+ "@codemirror/merge": "6.12.2",
35
+ "@codemirror/state": "6.7.6",
36
+ "@codemirror/view": "6.43.14",
37
+ "@comark/vue": "0.7.0",
38
+ "@hollware/core": "0.3.0",
39
+ "@iconify-json/lucide": "1.2.143",
40
+ "@iconify/utils": "3.1.7",
41
+ "@iconify/vue": "5.0.3",
42
+ "@nuxt/ui": "4.11.3",
31
43
  "@types/node": "24.19.2",
44
+ "@vitejs/plugin-vue": "6.0.10",
45
+ "codemirror": "6.0.2",
46
+ "comark": "0.7.0",
32
47
  "publint": "0.3.25",
48
+ "tailwindcss": "4.3.3",
33
49
  "typescript": "7.0.2",
34
- "vite-plus": "1.1.0"
50
+ "vite-plus": "1.1.0",
51
+ "vue": "3.5.44",
52
+ "vue-router": "5.4.0",
53
+ "zod": "4.6.5"
35
54
  },
36
55
  "engines": {
37
56
  "node": ">=24.11.0"
38
57
  },
39
58
  "scripts": {
40
- "build": "vp pack",
59
+ "build": "vp pack && vp build -c vite.app.config.ts",
41
60
  "test": "vp test",
42
61
  "publint": "publint --strict"
43
62
  }