vmlive 1.0.1 → 1.0.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 +3 -3
  2. package/src/cli.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vmlive",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Local development VM for custom Serverless PaaS",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,9 +11,9 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@inquirer/prompts": "^8.3.2",
14
+ "@vmlive/cli": "^2.0.0",
14
15
  "dotenv": "^16.4.5",
15
- "esbuild": "^0.20.2",
16
- "miniflare": "^3.20231218.0"
16
+ "esbuild": "^0.20.2"
17
17
  },
18
18
  "devDependencies": {
19
19
  "vitest": "^3.2.4"
package/src/cli.js CHANGED
@@ -8,7 +8,7 @@ import http from 'http';
8
8
  import os from 'os';
9
9
  import crypto from 'crypto';
10
10
  import { exec } from 'child_process';
11
- import { Miniflare } from 'miniflare';
11
+ import { Emulator } from '@vmlive/cli';
12
12
  import { select, input, confirm } from '@inquirer/prompts';
13
13
  import { generateShim } from './string-shim.js';
14
14
 
@@ -427,7 +427,7 @@ const runDev = async () => {
427
427
  }
428
428
  }))
429
429
  ];
430
- const mf = new Miniflare({
430
+ const mf = new Emulator({
431
431
  workers: miniflareWorkers,
432
432
  port: mfPort,
433
433
  cachePersist: path.join(WORK_DIR, 'cache'),