@tschk/moonshine-framework 0.3.1 → 0.3.3

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/package.json +2 -2
  2. package/src/manifest.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tschk/moonshine-framework",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -15,7 +15,7 @@
15
15
  "test": "bun test"
16
16
  },
17
17
  "dependencies": {
18
- "@tschk/moonshine": "^0.3.1"
18
+ "@tschk/moonshine": "^0.3.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "1.3.14",
package/src/manifest.ts CHANGED
@@ -2,6 +2,12 @@ import type { RenderMode, RouteDefinition, RuntimeTarget } from "./routes";
2
2
 
3
3
  export const MANIFEST_VERSION = 1 as const;
4
4
 
5
+ /**
6
+ * Build subdirectory holding client assets. It is the only part of the build
7
+ * output a server may expose over HTTP.
8
+ */
9
+ export const PUBLIC_DIR = "public" as const;
10
+
5
11
  export type RouteArtifact = RouteDefinition & {
6
12
  mode: Exclude<RenderMode, "auto">;
7
13
  runtime: RuntimeTarget;