@monkeyplus/flow 5.0.0-rc.106 → 5.0.0-rc.108
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/app/entry.mjs +1 -1
- package/dist/app/flow.d.ts +1 -0
- package/dist/chunks/dev-bundler.mjs +33 -3
- package/dist/core/runtime/nitro/flow.d.ts +1 -0
- package/dist/core/runtime/nitro/flow.mjs +6 -6
- package/dist/core/runtime/nitro/renderer.mjs +2 -2
- package/dist/index.mjs +1090 -26
- package/package.json +38 -38
- package/dist/chunks/external.mjs +0 -37
- package/dist/chunks/index.mjs +0 -1031
- package/dist/chunks/vite-node.mjs +0 -154
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkeyplus/flow",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.108",
|
|
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.
|
|
29
|
-
"@monkeyplus/flow-kit": "5.0.0-rc.
|
|
30
|
-
"@monkeyplus/flow-schema": "5.0.0-rc.
|
|
28
|
+
"@monkeyplus/flow-cli": "5.0.0-rc.108",
|
|
29
|
+
"@monkeyplus/flow-kit": "5.0.0-rc.108",
|
|
30
|
+
"@monkeyplus/flow-schema": "5.0.0-rc.108",
|
|
31
31
|
"@rollup/plugin-replace": "^4.0.0",
|
|
32
|
-
"@vueuse/head": "^0.
|
|
33
|
-
"c12": "^0.
|
|
32
|
+
"@vueuse/head": "^1.0.16",
|
|
33
|
+
"c12": "^1.0.1",
|
|
34
34
|
"chokidar": "^3.5.3",
|
|
35
35
|
"consola": "^2.15.3",
|
|
36
|
-
"defu": "^6.
|
|
37
|
-
"esbuild": "^0.
|
|
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
|
-
"externality": "^0.
|
|
41
|
+
"externality": "^1.0.0",
|
|
42
42
|
"fs-extra": "^10.1.0",
|
|
43
43
|
"globby": "^13.1.2",
|
|
44
|
-
"h3": "^0.
|
|
45
|
-
"hookable": "^5.
|
|
46
|
-
"jiti": "^1.
|
|
47
|
-
"ohash": "^0.
|
|
48
|
-
"knitwork": "^0.
|
|
49
|
-
"listhen": "^0.
|
|
50
|
-
"magic-string": "^0.26.
|
|
51
|
-
"mlly": "^0.
|
|
44
|
+
"h3": "^1.0.1",
|
|
45
|
+
"hookable": "^5.4.2",
|
|
46
|
+
"jiti": "^1.16.0",
|
|
47
|
+
"ohash": "^1.0.0",
|
|
48
|
+
"knitwork": "^1.0.0",
|
|
49
|
+
"listhen": "^1.0.0",
|
|
50
|
+
"magic-string": "^0.26.7",
|
|
51
|
+
"mlly": "^1.0.0",
|
|
52
52
|
"mri": "^1.2.0",
|
|
53
|
-
"nitropack": "^0.
|
|
54
|
-
"pathe": "^0.
|
|
53
|
+
"nitropack": "^1.0.0",
|
|
54
|
+
"pathe": "^1.0.0",
|
|
55
55
|
"perfect-debounce": "^0.1.3",
|
|
56
|
-
"radix3": "^0.
|
|
57
|
-
"unenv": "^0.
|
|
58
|
-
"ohmyfetch": "^0.4.
|
|
59
|
-
"node-fetch-native": "^0.1
|
|
60
|
-
"rollup": "^2.
|
|
61
|
-
"rollup-plugin-visualizer": "^5.
|
|
62
|
-
"scule": "^0.
|
|
63
|
-
"ufo": "^0.
|
|
64
|
-
"unctx": "^2.0
|
|
65
|
-
"unimport": "^0.
|
|
66
|
-
"unplugin": "^0.
|
|
67
|
-
"untyped": "^0.
|
|
68
|
-
"pkg-types": "^0.
|
|
69
|
-
"vite": "~3.
|
|
70
|
-
"vite-node": "^0.
|
|
71
|
-
"vite-plugin-checker": "^0.
|
|
72
|
-
"vue-bundle-renderer": "^0.
|
|
73
|
-
"vue": "^3.2.
|
|
56
|
+
"radix3": "^1.0.0",
|
|
57
|
+
"unenv": "^1.0.0",
|
|
58
|
+
"ohmyfetch": "^0.4.21",
|
|
59
|
+
"node-fetch-native": "^1.0.1",
|
|
60
|
+
"rollup": "^2.79.1",
|
|
61
|
+
"rollup-plugin-visualizer": "^5.8.3",
|
|
62
|
+
"scule": "^1.0.0",
|
|
63
|
+
"ufo": "^1.0.0",
|
|
64
|
+
"unctx": "^2.1.0",
|
|
65
|
+
"unimport": "^1.0.1",
|
|
66
|
+
"unplugin": "^1.0.0",
|
|
67
|
+
"untyped": "^1.0.0",
|
|
68
|
+
"pkg-types": "^1.0.1",
|
|
69
|
+
"vite": "~3.2.2",
|
|
70
|
+
"vite-node": "^0.24.5",
|
|
71
|
+
"vite-plugin-checker": "^0.5.1",
|
|
72
|
+
"vue-bundle-renderer": "^1.0.0",
|
|
73
|
+
"vue": "^3.2.41"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/fs-extra": "^9.0.13",
|
|
77
|
-
"vue-router": "^4.1.
|
|
77
|
+
"vue-router": "^4.1.6"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": "^16.11.0 || ^17.0.0 || ^18.0.0"
|
package/dist/chunks/external.mjs
DELETED
|
@@ -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 };
|