@mirinjs/cli 0.0.1-alpha.18 → 0.0.1-alpha.19

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 +4 -4
  2. package/src/dev.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirinjs/cli",
3
- "version": "0.0.1-alpha.18",
3
+ "version": "0.0.1-alpha.19",
4
4
  "description": "CLI for mirin apps: dev, build, init.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,11 +27,11 @@
27
27
  "bun": ">=1.2.0"
28
28
  },
29
29
  "dependencies": {
30
- "create-mirinjs": "0.0.1-alpha.18",
31
- "mirinjs": "0.0.1-alpha.18"
30
+ "create-mirinjs": "0.0.1-alpha.19",
31
+ "mirinjs": "0.0.1-alpha.19"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@mirinjs/darwin-arm64": "0.0.1-alpha.18"
34
+ "@mirinjs/darwin-arm64": "0.0.1-alpha.19"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
package/src/dev.ts CHANGED
@@ -97,7 +97,9 @@ export async function dev(projectDir = process.cwd()): Promise<number> {
97
97
  MIRIN_WORKER: workerJs,
98
98
  MIRIN_DEV_URL: devUrl,
99
99
  MIRIN_MANIFEST_JSON: JSON.stringify({ windows: config.windows }),
100
- MIRIN_CONFIG_JSON: "{}",
100
+ // dev: true → enables inspect-element AND gives this run its own `-dev`
101
+ // CEF cache dir, so `mirin dev` can run alongside the installed app.
102
+ MIRIN_CONFIG_JSON: JSON.stringify({ dev: true }),
101
103
  MIRIN_SIDECAR_DIR: sidecarsDir,
102
104
  MIRIN_WORKERS_DIR: workersDir,
103
105
  },