@tschk/moonshine-deploy-bun 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-bun",
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,14 +15,14 @@
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
- "@tschk/moonshine-adapter-conformance": "^0.3.1",
26
26
  "typescript": "7.0.2"
27
27
  },
28
28
  "files": [
package/src/index.ts CHANGED
@@ -117,12 +117,12 @@ const fetch = createRequestHandler({
117
117
  manifest: resolvedManifest,
118
118
  modules,
119
119
  renderer: reactRenderer,
120
- staticDir: import.meta.dir,
120
+ staticDir: import.meta.dir + "/public",
121
121
  });
122
122
  const server = createBunServer({
123
123
  fetch,
124
124
  port: Number(process.env.PORT) || 0,
125
- staticDir: import.meta.dir,
125
+ staticDir: import.meta.dir + "/public",
126
126
  });
127
127
  console.log(server.url.origin);
128
128
  `;