@4399ywkf/cli 2.0.18 → 2.0.20
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.
|
@@ -14,9 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@4399ywkf/core": "^5.0.0",
|
|
17
|
+
"@4399ywkf/theme-system": "^1.0.0",
|
|
17
18
|
"@ant-design/icons": "^6.0.0",
|
|
18
19
|
"@tanstack/react-query": "^5.80.6",
|
|
19
20
|
"antd": "^6.1.1",
|
|
21
|
+
"antd-style": "^3.7.1",
|
|
20
22
|
"axios": "^1.9.0",
|
|
21
23
|
{{#enableMicro}}
|
|
22
24
|
"garfish": "^1.19.8",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from "@4399ywkf/core/config";
|
|
2
|
-
import { tailwindPlugin, reactQueryPlugin, zustandPlugin{{#enableMicro}}, garfishPlugin{{/enableMicro}} } from "@4399ywkf/core";
|
|
2
|
+
import { tailwindPlugin, reactQueryPlugin, zustandPlugin, themePlugin{{#enableMicro}}, garfishPlugin{{/enableMicro}} } from "@4399ywkf/core";
|
|
3
3
|
|
|
4
4
|
export default defineConfig({
|
|
5
5
|
appName: process.env.APP_NAME || "{{{ name }}}",
|
|
@@ -81,6 +81,11 @@ export default defineConfig({
|
|
|
81
81
|
// i18nPlugin({ defaultLocale: "zh-CN", locales: ["zh-CN", "en-US"] }),
|
|
82
82
|
|
|
83
83
|
// 主题系统(按需启用)
|
|
84
|
-
// themePlugin({
|
|
84
|
+
// themePlugin({
|
|
85
|
+
// defaultAppearance: "light", // "light" | "dark" | "auto"
|
|
86
|
+
// primaryColor: "geekblue", // 命名预设,不设则使用默认黑色系
|
|
87
|
+
// // neutralColor: "slate", // 中性色预设
|
|
88
|
+
// // prefixCls: "my-app", // antd 前缀,也可通过 env YWKF_PREFIX_CLS 设置
|
|
89
|
+
// }),
|
|
85
90
|
],
|
|
86
91
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4399ywkf/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.20",
|
|
4
4
|
"description": "运维开发部脚手架",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"prepublishOnly": "npm run build",
|
|
23
23
|
"publish:all": "bash scripts/publish.sh",
|
|
24
24
|
"publish:core": "bash scripts/publish.sh -t core",
|
|
25
|
+
"publish:theme": "bash scripts/publish.sh -t theme",
|
|
25
26
|
"publish:cli": "bash scripts/publish.sh -t cli",
|
|
26
27
|
"publish:minor": "bash scripts/publish.sh -b minor",
|
|
27
28
|
"publish:major": "bash scripts/publish.sh -b major",
|