@tschk/moonshine-deploy-node 0.3.1 → 0.3.2

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 +6 -6
  2. package/src/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tschk/moonshine-deploy-node",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -15,15 +15,15 @@
15
15
  "test": "bun test"
16
16
  },
17
17
  "dependencies": {
18
- "@tschk/moonshine-framework": "^0.3.1",
19
- "@tschk/moonshine-server": "^0.3.1",
20
- "@tschk/moonshine-compiler": "^0.3.1",
21
- "@tschk/moonshine-react": "^0.3.1"
18
+ "@tschk/moonshine-adapter-conformance": "^0.3.2",
19
+ "@tschk/moonshine-compiler": "^0.3.2",
20
+ "@tschk/moonshine-framework": "^0.3.2",
21
+ "@tschk/moonshine-react": "^0.3.2",
22
+ "@tschk/moonshine-server": "^0.3.2"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@types/bun": "1.3.14",
25
26
  "@types/node": "^22.0.0",
26
- "@tschk/moonshine-adapter-conformance": "^0.3.1",
27
27
  "typescript": "7.0.2"
28
28
  },
29
29
  "files": [
package/src/index.ts CHANGED
@@ -266,9 +266,9 @@ const fetch = createRequestHandler({
266
266
  manifest: resolvedManifest,
267
267
  modules,
268
268
  renderer: reactRenderer,
269
- staticDir: import.meta.dir,
269
+ staticDir: import.meta.dir + "/public",
270
270
  });
271
- const server = createServer(createNodeHandler({ fetch, staticDir: import.meta.dir }));
271
+ const server = createServer(createNodeHandler({ fetch, staticDir: import.meta.dir + "/public" }));
272
272
  server.listen(Number(process.env.PORT) || 0, () => {
273
273
  const address = server.address();
274
274
  const port = typeof address === "object" && address ? address.port : 0;