@ubean/cli 0.4.10 → 0.5.0
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 -7
- package/package.json +12 -12
package/dist/cli.js
CHANGED
|
@@ -1149,13 +1149,11 @@ const devCommand = {
|
|
|
1149
1149
|
args: {
|
|
1150
1150
|
port: {
|
|
1151
1151
|
type: "string",
|
|
1152
|
-
description: "Port to listen on"
|
|
1153
|
-
default: "9527"
|
|
1152
|
+
description: "Port to listen on (overrides ubean.config.ts dev.port)"
|
|
1154
1153
|
},
|
|
1155
1154
|
host: {
|
|
1156
1155
|
type: "string",
|
|
1157
|
-
description: "Host to listen on"
|
|
1158
|
-
default: "localhost"
|
|
1156
|
+
description: "Host to listen on (overrides ubean.config.ts dev.host)"
|
|
1159
1157
|
},
|
|
1160
1158
|
strictPort: {
|
|
1161
1159
|
type: "boolean",
|
|
@@ -1164,8 +1162,7 @@ const devCommand = {
|
|
|
1164
1162
|
},
|
|
1165
1163
|
open: {
|
|
1166
1164
|
type: "boolean",
|
|
1167
|
-
description: "Open browser on startup"
|
|
1168
|
-
default: false
|
|
1165
|
+
description: "Open browser on startup"
|
|
1169
1166
|
},
|
|
1170
1167
|
cwd: {
|
|
1171
1168
|
type: "string",
|
|
@@ -1259,7 +1256,7 @@ const devCommand = {
|
|
|
1259
1256
|
try {
|
|
1260
1257
|
await runner.start();
|
|
1261
1258
|
} catch (err) {
|
|
1262
|
-
logger$6.error(err?.message || String(err));
|
|
1259
|
+
logger$6.error(err?.stack || err?.message || String(err));
|
|
1263
1260
|
process.exit(1);
|
|
1264
1261
|
}
|
|
1265
1262
|
const watcher = createDevWatcher({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubean/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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,15 +24,15 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ubean/app": "0.
|
|
28
|
-
"@ubean/build": "0.
|
|
29
|
-
"@ubean/client": "0.
|
|
30
|
-
"@ubean/config": "0.
|
|
31
|
-
"@ubean/i18n": "0.
|
|
32
|
-
"@ubean/islands": "0.
|
|
33
|
-
"@ubean/preset": "0.
|
|
34
|
-
"@ubean/scan": "0.
|
|
35
|
-
"@ubean/shared": "0.
|
|
27
|
+
"@ubean/app": "0.5.0",
|
|
28
|
+
"@ubean/build": "0.5.0",
|
|
29
|
+
"@ubean/client": "0.5.0",
|
|
30
|
+
"@ubean/config": "0.5.0",
|
|
31
|
+
"@ubean/i18n": "0.5.0",
|
|
32
|
+
"@ubean/islands": "0.5.0",
|
|
33
|
+
"@ubean/preset": "0.5.0",
|
|
34
|
+
"@ubean/scan": "0.5.0",
|
|
35
|
+
"@ubean/shared": "0.5.0",
|
|
36
36
|
"citty": "^0.2.2",
|
|
37
37
|
"kolorist": "^1.8.0",
|
|
38
38
|
"pathe": "^2.0.3"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vite-plus": "0.3.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@ubean/content": "0.
|
|
49
|
-
"@ubean/devtools": "0.
|
|
48
|
+
"@ubean/content": "0.5.0",
|
|
49
|
+
"@ubean/devtools": "0.5.0",
|
|
50
50
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
51
51
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1"
|
|
52
52
|
},
|