@monkeyplus/flow 5.0.0-rc.95 → 5.0.0-rc.96
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.
|
@@ -231,9 +231,11 @@ async function initViteDevBundler(ctx, onBuild) {
|
|
|
231
231
|
await onBuild();
|
|
232
232
|
ctx.nuxt.callHook("bundler:change", {});
|
|
233
233
|
};
|
|
234
|
-
const doBuild = debounce(_doBuild);
|
|
234
|
+
const doBuild = debounce(_doBuild, 60);
|
|
235
235
|
await _doBuild();
|
|
236
236
|
viteServer.watcher.on("all", (_event, file) => {
|
|
237
|
+
if (file.includes("/pages/"))
|
|
238
|
+
return;
|
|
237
239
|
file = normalize(file);
|
|
238
240
|
if (file.indexOf(ctx.nuxt.options.buildDir) === 0 || isIgnoredFlow(file))
|
|
239
241
|
return;
|
package/dist/chunks/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ import replace from '@rollup/plugin-replace';
|
|
|
26
26
|
import { sanitizeFilePath } from 'mlly';
|
|
27
27
|
import { resolveTSConfig } from 'pkg-types';
|
|
28
28
|
|
|
29
|
-
const version = "5.0.0-rc.
|
|
29
|
+
const version = "5.0.0-rc.96";
|
|
30
30
|
|
|
31
31
|
let _distDir = dirname(fileURLToPath(import.meta.url));
|
|
32
32
|
if (_distDir.endsWith("chunks"))
|
|
@@ -1006,10 +1006,6 @@ async function buildServer(ctx) {
|
|
|
1006
1006
|
logger.success(`Server built in ${Date.now() - start}ms`);
|
|
1007
1007
|
return;
|
|
1008
1008
|
}
|
|
1009
|
-
if (!ctx.nuxt.options.ssr) {
|
|
1010
|
-
await onBuild();
|
|
1011
|
-
return;
|
|
1012
|
-
}
|
|
1013
1009
|
const viteServer = await vite.createServer(serverConfig);
|
|
1014
1010
|
ctx.ssrServer = viteServer;
|
|
1015
1011
|
await ctx.nuxt.callHook("vite:serverCreated", viteServer, { isClient: false, isServer: true });
|
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.96",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -25,9 +25,9 @@
|
|
|
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.96",
|
|
29
|
+
"@monkeyplus/flow-kit": "5.0.0-rc.96",
|
|
30
|
+
"@monkeyplus/flow-schema": "5.0.0-rc.96",
|
|
31
31
|
"@rollup/plugin-replace": "^4.0.0",
|
|
32
32
|
"@vueuse/head": "^0.7.6",
|
|
33
33
|
"c12": "^0.2.8",
|