@monkeyplus/flow 5.0.0-beta.4 → 5.0.0-beta.5

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/dist/index.mjs CHANGED
@@ -27,7 +27,7 @@ import { isExternal as isExternal$1, ExternalsDefaults } from 'externality';
27
27
  import { createHash } from 'node:crypto';
28
28
  import MagicString from 'magic-string';
29
29
 
30
- const version = "5.0.0-beta.4";
30
+ const version = "5.0.0-beta.5";
31
31
 
32
32
  let _distDir = dirname(fileURLToPath(import.meta.url));
33
33
  if (_distDir.endsWith("chunks"))
@@ -317,7 +317,10 @@ const createClient = async (flow) => {
317
317
  doReload();
318
318
  });
319
319
  flow.hook("close", async () => {
320
- await vite.close();
320
+ try {
321
+ await vite.close();
322
+ } catch (error) {
323
+ }
321
324
  });
322
325
  return vite;
323
326
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "5.0.0-beta.4",
3
+ "version": "5.0.0-beta.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -14,9 +14,9 @@
14
14
  "flow": "./bin/flow.mjs"
15
15
  },
16
16
  "dependencies": {
17
- "@monkeyplus/flow-cli": "5.0.0-beta.4",
18
- "@monkeyplus/flow-kit": "5.0.0-beta.4",
19
- "@monkeyplus/flow-schema": "5.0.0-beta.4",
17
+ "@monkeyplus/flow-cli": "5.0.0-beta.5",
18
+ "@monkeyplus/flow-kit": "5.0.0-beta.5",
19
+ "@monkeyplus/flow-schema": "5.0.0-beta.5",
20
20
  "@nuxt/vite-builder": "3.0.0-rc.1",
21
21
  "@rollup/plugin-replace": "^4.0.0",
22
22
  "@vueuse/head": "^0.7.6",
@@ -26,7 +26,11 @@ export const createClient = async(flow: Flow) => {
26
26
  });
27
27
 
28
28
  flow.hook('close', async() => {
29
- await vite.close();
29
+ try {
30
+ await vite.close();
31
+ }
32
+ catch (error) {
33
+ }
30
34
  });
31
35
 
32
36
  return vite;