@mirinjs/cli 0.1.0-alpha.6 → 0.1.0-alpha.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirinjs/cli",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "CLI for mirin apps: dev, build, init.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,12 +27,12 @@
27
27
  "bun": ">=1.2.0"
28
28
  },
29
29
  "dependencies": {
30
- "create-mirinjs": "0.1.0-alpha.6",
31
- "mirinjs": "0.1.0-alpha.6"
30
+ "create-mirinjs": "0.1.0-alpha.8",
31
+ "mirinjs": "0.1.0-alpha.8"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@mirinjs/darwin-arm64": "0.1.0-alpha.6",
35
- "@mirinjs/win32-x64": "0.1.0-alpha.6"
34
+ "@mirinjs/darwin-arm64": "0.1.0-alpha.8",
35
+ "@mirinjs/win32-x64": "0.1.0-alpha.8"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
package/src/build.ts CHANGED
@@ -199,7 +199,11 @@ export async function build(projectDir = process.cwd()): Promise<BuildResult> {
199
199
  const resources = {
200
200
  uiDir: join(projectDir, "dist"),
201
201
  workerJs,
202
- manifestJson: JSON.stringify({ windows: config.windows, singleInstance: config.singleInstance }),
202
+ manifestJson: JSON.stringify({
203
+ id: bundleId,
204
+ windows: config.windows,
205
+ singleInstance: config.singleInstance,
206
+ }),
203
207
  versionJson,
204
208
  workers: extraWorkers,
205
209
  };
package/src/dev.ts CHANGED
@@ -112,7 +112,7 @@ export async function dev(projectDir = process.cwd()): Promise<number> {
112
112
  : join(app, "Contents", "MacOS", "libmirin_core.dylib"),
113
113
  MIRIN_WORKER: workerJs,
114
114
  MIRIN_DEV_URL: devUrl,
115
- MIRIN_MANIFEST_JSON: JSON.stringify({ windows: config.windows }),
115
+ MIRIN_MANIFEST_JSON: JSON.stringify({ id: bundleId, windows: config.windows }),
116
116
  // dev: true → enables inspect-element AND gives this run its own `-dev`
117
117
  // CEF cache dir, so `mirin dev` can run alongside the installed app.
118
118
  MIRIN_CONFIG_JSON: JSON.stringify({ dev: true }),