@ubean/cli 0.1.12 → 0.1.13
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/cli.js +4 -1
- package/package.json +12 -12
package/dist/cli.js
CHANGED
|
@@ -413,6 +413,7 @@ const devCommand = {
|
|
|
413
413
|
currentScanResult = scanResult;
|
|
414
414
|
runner.updateApp(currentApp, currentLayouts);
|
|
415
415
|
await runner.reload();
|
|
416
|
+
runner.sendFullReload();
|
|
416
417
|
} catch (err) {
|
|
417
418
|
logger$6.error(`Rescan failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
418
419
|
} finally {
|
|
@@ -539,13 +540,15 @@ async function buildApp(cwd, config) {
|
|
|
539
540
|
crons: result.crons,
|
|
540
541
|
routeRules: config.routeRules || {},
|
|
541
542
|
publicDir: config.dir.public,
|
|
543
|
+
pageAssetTags: config.favicon ? { favicon: config.favicon } : void 0,
|
|
542
544
|
openAPI: {
|
|
543
545
|
title: "UBEAN Dev API",
|
|
544
546
|
scalarPath: "/_scalar",
|
|
545
547
|
openAPIPath: "/_openapi.json"
|
|
546
548
|
},
|
|
547
549
|
i18nConfig: config.i18n,
|
|
548
|
-
ssrExclude: config.ssr.exclude
|
|
550
|
+
ssrExclude: config.ssr.exclude,
|
|
551
|
+
notFoundPage: result.notFoundPage
|
|
549
552
|
});
|
|
550
553
|
app.hooks.hook("request:start", (c) => {
|
|
551
554
|
logger$6.log(`${c.req.method} ${c.req.path}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "CLI for ubean (ubean-next binary: dev, build, prepare, init, preview, page, env, config, devtools, api/layout/middleware/cron/plugin scaffolds)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ubean-next": "./bin/ubean-next.mjs"
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"consola": "^3.4.2",
|
|
29
29
|
"kolorist": "^1.8.0",
|
|
30
30
|
"pathe": "^2.0.3",
|
|
31
|
-
"@ubean/app": "0.1.
|
|
32
|
-
"@ubean/
|
|
33
|
-
"@ubean/
|
|
34
|
-
"@ubean/
|
|
35
|
-
"@ubean/
|
|
36
|
-
"@ubean/modules": "0.1.
|
|
37
|
-
"@ubean/
|
|
38
|
-
"@ubean/
|
|
39
|
-
"@ubean/
|
|
40
|
-
"@ubean/
|
|
31
|
+
"@ubean/app": "0.1.13",
|
|
32
|
+
"@ubean/build": "0.1.13",
|
|
33
|
+
"@ubean/codegen": "0.1.13",
|
|
34
|
+
"@ubean/dev-server": "0.1.13",
|
|
35
|
+
"@ubean/config": "0.1.13",
|
|
36
|
+
"@ubean/modules": "0.1.13",
|
|
37
|
+
"@ubean/prerender": "0.1.13",
|
|
38
|
+
"@ubean/preset": "0.1.13",
|
|
39
|
+
"@ubean/routing": "0.1.13",
|
|
40
|
+
"@ubean/utils": "0.1.13"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^26.1.2",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"vite-plus": "0.2.6"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@ubean/devtools": "0.1.
|
|
48
|
+
"@ubean/devtools": "0.1.13"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@ubean/devtools": {
|