@ubean/cli 0.6.0-beta.1 → 0.6.0-beta.3

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 +3 -5
  2. package/package.json +17 -17
package/dist/cli.js CHANGED
@@ -517,10 +517,6 @@ async function createDevViteServer(options) {
517
517
  }
518
518
  }));
519
519
  } catch {}
520
- try {
521
- const { DevTools } = await import("@vitejs/devtools");
522
- builtinPlugins.push(...await DevTools({ builtinDevTools: false }));
523
- } catch {}
524
520
  }
525
521
  const { plugins } = await resolveModules({
526
522
  cwd,
@@ -541,7 +537,8 @@ async function createDevViteServer(options) {
541
537
  plugins,
542
538
  devtools: {
543
539
  enabled: devtoolsEnabled,
544
- clientAuth: false
540
+ clientAuth: false,
541
+ builtinDevTools: false
545
542
  },
546
543
  optimizeDeps: { exclude: [
547
544
  "ubean",
@@ -687,6 +684,7 @@ const devCommand = {
687
684
  const cwd = resolve(args.cwd || process.cwd());
688
685
  registerBuiltinPresets();
689
686
  const config = await loadUbeanConfig(cwd);
687
+ process.env.UBEAN_CODEGEN_BY_CLI = "1";
690
688
  const logging = config.logging;
691
689
  if (args.verbose) {
692
690
  logging.scan = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubean/cli",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0-beta.3",
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,32 +24,32 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@ubean/app": "0.6.0-beta.1",
28
- "@ubean/build": "0.6.0-beta.1",
29
- "@ubean/client": "0.6.0-beta.1",
30
- "@ubean/config": "0.6.0-beta.1",
31
- "@ubean/i18n": "0.6.0-beta.1",
32
- "@ubean/islands": "0.6.0-beta.1",
33
- "@ubean/preset": "0.6.0-beta.1",
34
- "@ubean/scan": "0.6.0-beta.1",
35
- "@ubean/shared": "0.6.0-beta.1",
27
+ "@ubean/app": "0.6.0-beta.3",
28
+ "@ubean/build": "0.6.0-beta.3",
29
+ "@ubean/client": "0.6.0-beta.3",
30
+ "@ubean/config": "0.6.0-beta.3",
31
+ "@ubean/i18n": "0.6.0-beta.3",
32
+ "@ubean/islands": "0.6.0-beta.3",
33
+ "@ubean/preset": "0.6.0-beta.3",
34
+ "@ubean/scan": "0.6.0-beta.3",
35
+ "@ubean/shared": "0.6.0-beta.3",
36
36
  "citty": "^0.2.2",
37
37
  "kolorist": "^1.8.0",
38
38
  "pathe": "^2.0.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "^26.5.0",
42
- "@vitejs/plugin-vue": "^6.0.8",
41
+ "@types/node": "^26.6.2",
42
+ "@vitejs/plugin-vue": "^6.0.9",
43
43
  "env-runner": "0.2.3",
44
44
  "typescript": "npm:typescript-native-bridge@latest",
45
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
46
- "vite-plus": "0.3.1"
45
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest",
46
+ "vite-plus": "latest"
47
47
  },
48
48
  "peerDependencies": {
49
- "@ubean/content": "0.6.0-beta.1",
50
- "@ubean/devtools": "0.6.0-beta.1",
49
+ "@ubean/content": "0.6.0-beta.3",
50
+ "@ubean/devtools": "0.6.0-beta.3",
51
51
  "@vitejs/plugin-vue": "^6.0.8",
52
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1"
52
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@ubean/content": {