@chatbi-v/cli 2.1.8 → 2.1.9
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/index.js +3 -3
- package/package.json +1 -1
- package/templates/app/app.config.ts.hbs +1 -1
- package/templates/app/package.json.hbs +4 -4
- package/templates/app/src/index.css.hbs +19 -19
- package/templates/monorepo/package.json.hbs +4 -4
- package/templates/plugin/package.json.hbs +3 -3
- package/templates/sandbox/pnpm-workspace.yaml.hbs +3 -0
package/dist/index.js
CHANGED
|
@@ -893,13 +893,13 @@ var init_sandbox = __esm({
|
|
|
893
893
|
versionPath,
|
|
894
894
|
templateData
|
|
895
895
|
);
|
|
896
|
+
spinner.text = pc4.gray(" \u{1F3A8} \u540C\u6B65 Shell \u6A21\u677F...");
|
|
897
|
+
await this.ensureShell(version, force);
|
|
896
898
|
spinner.text = pc4.gray(" \u{1F50D} \u68C0\u67E5\u672C\u5730\u5F00\u53D1\u73AF\u5883...");
|
|
897
899
|
const isLocalDev = await SandboxPkgManager.tryLinkLocalPackages(versionPath, this.CORE_PACKAGES, this.RUNTIME_DEPS);
|
|
898
900
|
const installArgs = isLocalDev ? ["install", "--no-frozen-lockfile"] : ["install"];
|
|
899
901
|
spinner.text = pc4.gray(` \u23F3 \u6267\u884C pnpm ${installArgs.join(" ")}...`);
|
|
900
902
|
await execa2("pnpm", installArgs, { cwd: versionPath });
|
|
901
|
-
spinner.text = pc4.gray(" \u{1F3A8} \u540C\u6B65 Shell \u6A21\u677F...");
|
|
902
|
-
await this.ensureShell(version, force);
|
|
903
903
|
spinner.succeed(pc4.green(`\u5185\u6838\u6C99\u7BB1 ${version} \u521D\u59CB\u5316\u6210\u529F`));
|
|
904
904
|
} catch (e) {
|
|
905
905
|
spinner.fail(pc4.red(`\u5185\u6838\u6C99\u7BB1\u521D\u59CB\u5316\u5931\u8D25: ${e.message}`));
|
|
@@ -1997,7 +1997,7 @@ import pc16 from "picocolors";
|
|
|
1997
1997
|
// package.json
|
|
1998
1998
|
var package_default = {
|
|
1999
1999
|
name: "@chatbi-v/cli",
|
|
2000
|
-
version: "2.1.
|
|
2000
|
+
version: "2.1.9",
|
|
2001
2001
|
description: "Standardized CLI tooling for ChatBI Monorepo",
|
|
2002
2002
|
type: "module",
|
|
2003
2003
|
main: "dist/index.js",
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@ant-design/icons": "^5.2.6",
|
|
14
14
|
"@ant-design/x": "^2.1.1",
|
|
15
|
-
"@chatbi-v/core": "^2.1.
|
|
16
|
-
"@chatbi-v/mocks": "^2.1.
|
|
15
|
+
"@chatbi-v/core": "^2.1.9",
|
|
16
|
+
"@chatbi-v/mocks": "^2.1.9",
|
|
17
17
|
"antd": "^5.29.3",
|
|
18
18
|
"react": "^18.3.1",
|
|
19
19
|
"react-dom": "^18.3.1",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"zustand": "^5.0.9"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@chatbi-v/cli": "^2.1.
|
|
25
|
-
"@chatbi-v/config":"^2.1.
|
|
24
|
+
"@chatbi-v/cli": "^2.1.9",
|
|
25
|
+
"@chatbi-v/config":"^2.1.9",
|
|
26
26
|
"@types/node": "^25.0.3",
|
|
27
27
|
"@types/react": "^18.2.43",
|
|
28
28
|
"@types/react-dom": "^18.2.17",
|
|
@@ -7,25 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
@layer base {
|
|
9
9
|
:root {
|
|
10
|
-
/* Default
|
|
11
|
-
--color-background: 15 23 42; /* slate-900 #0f172a */
|
|
12
|
-
--color-surface: 30 41 59; /* slate-800 #1e293b */
|
|
13
|
-
--color-primary: 99 102 241; /* indigo-500 #6366f1 */
|
|
14
|
-
--color-secondary: 168 85 247; /* purple-500 #a855f7 */
|
|
15
|
-
--color-accent: 34 211 238; /* cyan-400 #22d3ee */
|
|
16
|
-
--color-text-main: 226 232 240; /* slate-200 */
|
|
17
|
-
--color-text-muted: 148 163 184; /* slate-400 */
|
|
18
|
-
--color-border: 51 65 85; /* slate-700 */
|
|
19
|
-
|
|
20
|
-
/* Layout Variables Default (Compact) */
|
|
21
|
-
--layout-sidebar-width: 240px;
|
|
22
|
-
--layout-content-padding: 16px;
|
|
23
|
-
--layout-gap: 8px;
|
|
24
|
-
--layout-font-scale: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[data-theme='light'] {
|
|
28
|
-
/* Light Theme */
|
|
10
|
+
/* Default Light Theme */
|
|
29
11
|
--color-background: 248 250 252; /* slate-50 */
|
|
30
12
|
--color-surface: 255 255 255; /* white */
|
|
31
13
|
--color-primary: 79 70 229; /* indigo-600 */
|
|
@@ -34,6 +16,24 @@
|
|
|
34
16
|
--color-text-main: 15 23 42; /* slate-900 */
|
|
35
17
|
--color-text-muted: 100 116 139; /* slate-500 */
|
|
36
18
|
--color-border: 226 232 240; /* slate-200 */
|
|
19
|
+
|
|
20
|
+
/* Layout Variables Default (Compact) */
|
|
21
|
+
--layout-sidebar-width: 240px;
|
|
22
|
+
--layout-content-padding: 16px;
|
|
23
|
+
--layout-gap: 8px;
|
|
24
|
+
--layout-font-scale: 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-theme='dark'], .dark {
|
|
28
|
+
/* Dark Theme (Slate/Indigo) */
|
|
29
|
+
--color-background: 15 23 42; /* slate-900 #0f172a */
|
|
30
|
+
--color-surface: 30 41 59; /* slate-800 #1e293b */
|
|
31
|
+
--color-primary: 99 102 241; /* indigo-500 #6366f1 */
|
|
32
|
+
--color-secondary: 168 85 247; /* purple-500 #a855f7 */
|
|
33
|
+
--color-accent: 34 211 238; /* cyan-400 #22d3ee */
|
|
34
|
+
--color-text-main: 226 232 240; /* slate-200 */
|
|
35
|
+
--color-text-muted: 148 163 184; /* slate-400 */
|
|
36
|
+
--color-border: 51 65 85; /* slate-700 */
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
body {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"libs/*"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@chatbi-v/core": "^2.1.
|
|
20
|
-
"@chatbi-v/mocks": "^2.1.
|
|
19
|
+
"@chatbi-v/core": "^2.1.9",
|
|
20
|
+
"@chatbi-v/mocks": "^2.1.9",
|
|
21
21
|
"react": "^18.3.1",
|
|
22
22
|
"react-dom": "^18.3.1",
|
|
23
23
|
"antd": "^5.29.3",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.0.0",
|
|
31
|
-
"@chatbi-v/config": "^2.1.
|
|
32
|
-
"@chatbi-v/cli": "^2.1.
|
|
31
|
+
"@chatbi-v/config": "^2.1.9",
|
|
32
|
+
"@chatbi-v/cli": "^2.1.9",
|
|
33
33
|
"@ant-design/icons": "^5.6.1",
|
|
34
34
|
"@types/react": "^18.3.1",
|
|
35
35
|
"@types/react-dom": "^18.3.1",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"plugin": true,
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@chatbi-v/core": "^2.1.
|
|
24
|
+
"@chatbi-v/core": "^2.1.9",
|
|
25
25
|
"antd": "^5.20.0",
|
|
26
26
|
"react": ">=18.0.0",
|
|
27
27
|
"react-dom": ">=18.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@chatbi-v/core": "^2.1.
|
|
31
|
-
"@chatbi-v/config": "^2.1.
|
|
30
|
+
"@chatbi-v/core": "^2.1.9",
|
|
31
|
+
"@chatbi-v/config": "^2.1.9",
|
|
32
32
|
"tsup": "^8.5.1",
|
|
33
33
|
"vite": "^5.0.0"
|
|
34
34
|
}
|