@ubean/cli 0.6.7 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -3
  2. package/package.json +10 -10
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.7",
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,13 +24,13 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@ubean/build": "0.6.7",
28
- "@ubean/config": "0.6.7",
29
- "@ubean/i18n": "0.6.7",
30
- "@ubean/islands": "0.6.7",
31
- "@ubean/preset": "0.6.7",
32
- "@ubean/scan": "0.6.7",
33
- "@ubean/shared": "0.6.7",
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"
@@ -43,8 +43,8 @@
43
43
  "vite-plus": "1.3.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@ubean/content": "0.6.7",
47
- "@ubean/devtools": "0.6.7",
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
  },