@monkeyplus/flow 5.0.0-rc.106 → 5.0.0-rc.107

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": "@monkeyplus/flow",
3
- "version": "5.0.0-rc.106",
3
+ "version": "5.0.0-rc.107",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -25,56 +25,56 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@monkeyplus/flow-cli": "5.0.0-rc.106",
29
- "@monkeyplus/flow-kit": "5.0.0-rc.106",
30
- "@monkeyplus/flow-schema": "5.0.0-rc.106",
28
+ "@monkeyplus/flow-cli": "5.0.0-rc.107",
29
+ "@monkeyplus/flow-kit": "5.0.0-rc.107",
30
+ "@monkeyplus/flow-schema": "5.0.0-rc.107",
31
31
  "@rollup/plugin-replace": "^4.0.0",
32
32
  "@vueuse/head": "^0.7.6",
33
- "c12": "^0.2.8",
33
+ "c12": "^0.2.13",
34
34
  "chokidar": "^3.5.3",
35
35
  "consola": "^2.15.3",
36
- "defu": "^6.0.0",
37
- "esbuild": "^0.14.49",
36
+ "defu": "^6.1.0",
37
+ "esbuild": "^0.15.13",
38
38
  "escape-string-regexp": "^5.0.0",
39
39
  "esno": "^0.16.3",
40
40
  "eta": "^1.12.3",
41
41
  "externality": "^0.2.2",
42
42
  "fs-extra": "^10.1.0",
43
43
  "globby": "^13.1.2",
44
- "h3": "^0.7.16",
45
- "hookable": "^5.1.1",
46
- "jiti": "^1.14.0",
44
+ "h3": "^0.8.6",
45
+ "hookable": "^5.4.1",
46
+ "jiti": "^1.16.0",
47
47
  "ohash": "^0.1.5",
48
- "knitwork": "^0.1.2",
49
- "listhen": "^0.2.13",
50
- "magic-string": "^0.26.2",
51
- "mlly": "^0.5.4",
48
+ "knitwork": "^0.1.3",
49
+ "listhen": "^0.3.5",
50
+ "magic-string": "^0.26.7",
51
+ "mlly": "^0.5.16",
52
52
  "mri": "^1.2.0",
53
- "nitropack": "^0.4.12",
54
- "pathe": "^0.3.2",
53
+ "nitropack": "^0.6.1",
54
+ "pathe": "^0.3.9",
55
55
  "perfect-debounce": "^0.1.3",
56
- "radix3": "^0.1.2",
57
- "unenv": "^0.5.2",
58
- "ohmyfetch": "^0.4.18",
59
- "node-fetch-native": "^0.1.4",
60
- "rollup": "^2.77.0",
61
- "rollup-plugin-visualizer": "^5.7.1",
62
- "scule": "^0.2.1",
63
- "ufo": "^0.8.5",
64
- "unctx": "^2.0.1",
65
- "unimport": "^0.4.5",
66
- "unplugin": "^0.9.4",
67
- "untyped": "^0.4.5",
68
- "pkg-types": "^0.3.3",
69
- "vite": "~3.0.9",
70
- "vite-node": "^0.22.1",
71
- "vite-plugin-checker": "^0.4.9",
72
- "vue-bundle-renderer": "^0.4.2",
73
- "vue": "^3.2.37"
56
+ "radix3": "^0.2.1",
57
+ "unenv": "^0.6.2",
58
+ "ohmyfetch": "^0.4.21",
59
+ "node-fetch-native": "^0.1.8",
60
+ "rollup": "^2.79.1",
61
+ "rollup-plugin-visualizer": "^5.8.3",
62
+ "scule": "^0.3.2",
63
+ "ufo": "^0.8.6",
64
+ "unctx": "^2.0.2",
65
+ "unimport": "^0.7.0",
66
+ "unplugin": "^0.10.2",
67
+ "untyped": "^0.5.0",
68
+ "pkg-types": "^0.3.6",
69
+ "vite": "~3.2.2",
70
+ "vite-node": "^0.24.5",
71
+ "vite-plugin-checker": "^0.5.1",
72
+ "vue-bundle-renderer": "^0.5.0",
73
+ "vue": "^3.2.41"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/fs-extra": "^9.0.13",
77
- "vue-router": "^4.1.2"
77
+ "vue-router": "^4.1.6"
78
78
  },
79
79
  "engines": {
80
80
  "node": "^16.11.0 || ^17.0.0 || ^18.0.0"
@@ -1,37 +0,0 @@
1
- import 'node:fs';
2
- import { hash } from 'ohash';
3
- import 'pathe';
4
- import { ExternalsDefaults, isExternal } from 'externality';
5
-
6
- function uniq(arr) {
7
- return Array.from(new Set(arr));
8
- }
9
- const IS_CSS_RE = /\.(?:css|scss|sass|postcss|less|stylus|styl)(\?[^.]+)?$/;
10
- function isCSS(file) {
11
- return IS_CSS_RE.test(file);
12
- }
13
- function hashId(id) {
14
- return `$id_${hash(id)}`;
15
- }
16
-
17
- function createIsExternal(viteServer, rootDir) {
18
- const externalOpts = {
19
- inline: [
20
- /virtual:/,
21
- /\.ts$/,
22
- ...ExternalsDefaults.inline || [],
23
- ...viteServer.config.ssr.noExternal
24
- ],
25
- external: [
26
- ...viteServer.config.ssr.external || [],
27
- /node_modules/
28
- ],
29
- resolve: {
30
- type: "module",
31
- extensions: [".ts", ".js", ".json", ".vue", ".mjs", ".jsx", ".tsx", ".wasm"]
32
- }
33
- };
34
- return (id) => isExternal(id, rootDir, externalOpts);
35
- }
36
-
37
- export { createIsExternal as c, hashId as h, isCSS as i, uniq as u };