提交 e4c3d091 编写于 作者: V Vben

chore: update deps

上级 c26dd034
......@@ -6,7 +6,7 @@ export const darkMode = 'light';
type Fn = (...arg: any) => any;
type GenerateTheme = 'default' | 'dark'
type GenerateTheme = 'default' | 'dark';
export interface GenerateColorsParams {
mixLighten: Fn;
......@@ -17,14 +17,14 @@ export interface GenerateColorsParams {
export function generateAntColors(color: string, theme: GenerateTheme = 'default') {
return generate(color, {
theme
theme,
});
}
export function getThemeColors(color?: string) {
const tc = color || primaryColor;
const lightColors = generateAntColors(tc);
const primary = colors[5];
const primary = lightColors[5];
const modeColors = generateAntColors(primary, 'dark');
return [...lightColors, ...modeColors];
......
......@@ -8,7 +8,7 @@
},
"scripts": {
"bootstrap": "yarn install",
"serve": "cross-env --max_old_space_size=4096 vite",
"serve": "npm run dev",
"dev": "cross-env --max_old_space_size=4096 vite",
"build": "vite build && esno ./build/script/postBuild.ts",
"build:no-cache": "yarn clean:cache && npm run build",
......@@ -32,12 +32,12 @@
"postinstall": "npm run install:husky"
},
"dependencies": {
"@iconify/iconify": "^2.0.0",
"@logicflow/core": "^0.3.6",
"@logicflow/extension": "^0.3.6",
"@vueuse/core": "^4.9.2",
"@iconify/iconify": "^2.0.1",
"@logicflow/core": "^0.4.3",
"@logicflow/extension": "^0.4.3",
"@vueuse/core": "^4.9.3",
"@zxcvbn-ts/core": "^0.3.0",
"ant-design-vue": "^2.1.3",
"ant-design-vue": "^2.1.6",
"axios": "^0.21.1",
"codemirror": "^5.61.0",
"cropperjs": "^1.5.11",
......@@ -47,7 +47,7 @@
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.0",
"pinia": "2.0.0-alpha.13",
"pinia": "2.0.0-alpha.16",
"print-js": "^1.6.0",
"qrcode": "^1.4.4",
"sortablejs": "^1.13.0",
......@@ -56,14 +56,14 @@
"vue": "3.0.11",
"vue-i18n": "9.0.0",
"vue-json-pretty": "^2.0.2",
"vue-router": "^4.0.6",
"vue-router": "^4.0.8",
"vue-types": "^3.0.2",
"xlsx": "^0.16.9"
"xlsx": "^0.17.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@iconify/json": "^1.1.340",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@iconify/json": "^1.1.343",
"@purge-icons/generated": "^0.7.0",
"@types/codemirror": "^5.60.0",
"@types/crypto-js": "^4.0.1",
......@@ -75,9 +75,9 @@
"@types/qrcode": "^1.4.0",
"@types/qs": "^6.9.6",
"@types/sortablejs": "^1.10.6",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"@vitejs/plugin-legacy": "^1.3.3",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"@vitejs/plugin-legacy": "^1.3.4",
"@vitejs/plugin-vue": "^1.2.2",
"@vitejs/plugin-vue-jsx": "^1.1.4",
"@vue/compiler-sfc": "3.0.11",
......@@ -85,7 +85,7 @@
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"dotenv": "^9.0.1",
"dotenv": "^9.0.2",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-define-config": "^1.0.8",
......@@ -99,8 +99,8 @@
"is-ci": "^3.0.0",
"less": "^4.1.1",
"lint-staged": "^11.0.0",
"postcss": "^8.2.14",
"prettier": "^2.2.1",
"postcss": "^8.2.15",
"prettier": "^2.3.0",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "5.5.0",
......@@ -110,7 +110,7 @@
"stylelint-order": "^4.1.0",
"ts-node": "^9.1.1",
"typescript": "4.2.4",
"vite": "2.2.4",
"vite": "2.3.2",
"vite-plugin-compression": "^0.2.5",
"vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.2",
......@@ -125,9 +125,9 @@
"vue-tsc": "^0.1.2"
},
"resolutions": {
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
"bin-wrapper": "npm:bin-wrapper-china",
"rollup": "^2.47.0"
"rollup": "^2.48.0"
},
"repository": {
"type": "git",
......
......@@ -4,7 +4,7 @@
<div class="flex justify-between items-center">
<span class="flex-1">
<a :href="GITHUB_URL" target="_blank">{{ name }}</a>
是一个基于Vue3.01、Vite、 Ant-Design-Vue 、TypeScript
是一个基于Vue3.0、Vite、 Ant-Design-Vue 、TypeScript
的后台解决方案,目标是为中大型项目开发,提供现成的开箱解决方案及丰富的示例,原则上不会限制任何代码用于商用。
</span>
</div>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册