@void/vue 1.1.12 → 1.2.1
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/plugin.mjs +9 -1
- package/package.json +5 -5
package/dist/plugin.mjs
CHANGED
|
@@ -435,7 +435,15 @@ function pagesPlugin(pagesDir, options) {
|
|
|
435
435
|
const normalizedPath = normalizePath(path);
|
|
436
436
|
if (normalizedPath !== normalizedPagesDir && !normalizedPath.startsWith(normalizedPagesDir + "/")) return;
|
|
437
437
|
if (event === "change" && !normalizedPath.endsWith(".md")) return;
|
|
438
|
-
|
|
438
|
+
try {
|
|
439
|
+
await runRescan();
|
|
440
|
+
} catch (error) {
|
|
441
|
+
server.config.logger.error(error instanceof Error ? error.message : String(error), {
|
|
442
|
+
error: error instanceof Error ? error : void 0,
|
|
443
|
+
timestamp: true
|
|
444
|
+
});
|
|
445
|
+
return;
|
|
446
|
+
}
|
|
439
447
|
invalidatePageModules(server);
|
|
440
448
|
};
|
|
441
449
|
server.watcher.on("add", (path) => handlePagesChange(path, "add"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@void/vue",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Vue pages, server rendering, forms, and navigation for Void.",
|
|
5
5
|
"homepage": "https://void.cloud",
|
|
6
6
|
"bugs": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^26.6.5",
|
|
41
41
|
"pathslash": "^0.1.0",
|
|
42
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@1.
|
|
43
|
-
"vite-plus": "1.
|
|
44
|
-
"void": "1.1
|
|
42
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0",
|
|
43
|
+
"vite-plus": "1.3.0",
|
|
44
|
+
"void": "1.2.1",
|
|
45
45
|
"vue": "^3.5.44"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"vite": "^8.0.0",
|
|
49
|
-
"void": "1.1
|
|
49
|
+
"void": "1.2.1",
|
|
50
50
|
"vue": "^3.5.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|