@shellui/cli 0.0.9 → 0.0.10
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/package.json +2 -2
- package/src/commands/start.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shellui/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "ShellUI CLI - Command-line tool for ShellUI",
|
|
5
5
|
"main": "src/cli.js",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tsx": "^4.21.0",
|
|
31
31
|
"vite": "7.3.1",
|
|
32
32
|
"workbox-build": "^7.1.0",
|
|
33
|
-
"@shellui/core": "0.0.
|
|
33
|
+
"@shellui/core": "0.0.10"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
package/src/commands/start.js
CHANGED
|
@@ -54,6 +54,12 @@ async function startServer(root, cwd, shouldOpen = false) {
|
|
|
54
54
|
esbuild: {
|
|
55
55
|
sourcemap: false,
|
|
56
56
|
},
|
|
57
|
+
// Prevent Vite from pre-bundling @shellui/core when it's in node_modules
|
|
58
|
+
// We want our transform plugin to handle lazy imports, not esbuild's pre-bundler
|
|
59
|
+
// This ensures consistent behavior between workspace and npm-installed packages
|
|
60
|
+
optimizeDeps: {
|
|
61
|
+
exclude: ['@shellui/core'],
|
|
62
|
+
},
|
|
57
63
|
server: {
|
|
58
64
|
port: config.port || 3000,
|
|
59
65
|
open: shouldOpen,
|