@ubean/cli 0.6.6 → 0.6.8
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 +6 -3
- package/package.json +11 -11
package/dist/cli.js
CHANGED
|
@@ -422,7 +422,8 @@ const buildCommand = {
|
|
|
422
422
|
cwd,
|
|
423
423
|
srcDir: config.srcDir,
|
|
424
424
|
dirs: config.dir,
|
|
425
|
-
ignore: config.scanOptions?.ignore
|
|
425
|
+
ignore: config.scanOptions?.ignore,
|
|
426
|
+
pageExtensions: config.pages?.extensions
|
|
426
427
|
});
|
|
427
428
|
logger$9.info(`Found ${result.apiRoutes.length} API routes, ${result.pages.length} pages, ${result.layouts.length} layouts`);
|
|
428
429
|
logger$9.info("Generating types...");
|
|
@@ -872,7 +873,8 @@ async function initialScan(cwd, config, logging) {
|
|
|
872
873
|
cwd,
|
|
873
874
|
srcDir: config.srcDir,
|
|
874
875
|
dirs: config.dir,
|
|
875
|
-
ignore: config.scanOptions?.ignore
|
|
876
|
+
ignore: config.scanOptions?.ignore,
|
|
877
|
+
pageExtensions: config.pages?.extensions
|
|
876
878
|
});
|
|
877
879
|
if (logging.scan) {
|
|
878
880
|
logger$6.info(`Found ${result.apiRoutes.length} API routes, ${result.pages.length} pages, ${result.layouts.length} layouts, ${result.middlewares.length} middlewares, ${result.plugins.length} plugins`);
|
|
@@ -1452,7 +1454,8 @@ const prepareCommand = {
|
|
|
1452
1454
|
cwd,
|
|
1453
1455
|
srcDir: config.srcDir,
|
|
1454
1456
|
dirs: config.dir,
|
|
1455
|
-
ignore: config.scanOptions?.ignore
|
|
1457
|
+
ignore: config.scanOptions?.ignore,
|
|
1458
|
+
pageExtensions: config.pages?.extensions
|
|
1456
1459
|
});
|
|
1457
1460
|
logger$2.info(`Found ${result.apiRoutes.length} API routes, ${result.pages.length} pages, ${result.layouts.length} layouts, ${result.middlewares.length} middlewares`);
|
|
1458
1461
|
logger$2.info("Generating type definitions...");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"description": "CLI for ubean (ubean-next binary: dev, build, prepare, init, preview, page, env, config, devtools, api/layout/middleware/cron/plugin scaffolds) plus the Vite dev server runner",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ubean-next": "./bin/ubean-next.mjs"
|
|
@@ -24,27 +24,27 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ubean/build": "0.6.
|
|
28
|
-
"@ubean/config": "0.6.
|
|
29
|
-
"@ubean/i18n": "0.6.
|
|
30
|
-
"@ubean/islands": "0.6.
|
|
31
|
-
"@ubean/preset": "0.6.
|
|
32
|
-
"@ubean/scan": "0.6.
|
|
33
|
-
"@ubean/shared": "0.6.
|
|
27
|
+
"@ubean/build": "0.6.8",
|
|
28
|
+
"@ubean/config": "0.6.8",
|
|
29
|
+
"@ubean/i18n": "0.6.8",
|
|
30
|
+
"@ubean/islands": "0.6.8",
|
|
31
|
+
"@ubean/preset": "0.6.8",
|
|
32
|
+
"@ubean/scan": "0.6.8",
|
|
33
|
+
"@ubean/shared": "0.6.8",
|
|
34
34
|
"citty": "^0.2.2",
|
|
35
35
|
"kolorist": "^1.8.0",
|
|
36
36
|
"pathe": "^2.0.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^26.6.5",
|
|
40
|
-
"env-runner": "0.3.
|
|
40
|
+
"env-runner": "0.3.6",
|
|
41
41
|
"typescript": "npm:typescript-native-bridge@latest",
|
|
42
42
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0",
|
|
43
43
|
"vite-plus": "1.3.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@ubean/content": "0.6.
|
|
47
|
-
"@ubean/devtools": "0.6.
|
|
46
|
+
"@ubean/content": "0.6.8",
|
|
47
|
+
"@ubean/devtools": "0.6.8",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
49
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0"
|
|
50
50
|
},
|