Skip to content

Commit 874e3db

Browse files
committed
feat: 重构框架核心源码
1 parent 0c6b3c0 commit 874e3db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3939
-3071
lines changed

.env.development

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# 应用配置面板
2+
VITE_APP_SETTING = true
13
# 页面标题
24
VITE_APP_TITLE = One-step-admin 基础版
35
# 接口请求地址,会设置到 axios 的 baseURL 参数上

.env.production

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
NODE_ENV = production
2-
1+
# 应用配置面板
2+
VITE_APP_SETTING = false
33
# 页面标题
44
VITE_APP_TITLE = One-step-admin 基础版
55
# 接口请求地址,会设置到 axios 的 baseURL 参数上

.env.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
NODE_ENV = production
2-
1+
# 应用配置面板
2+
VITE_APP_SETTING = false
33
# 页面标题
44
VITE_APP_TITLE = One-step-admin 基础版
55
# 接口请求地址,会设置到 axios 的 baseURL 参数上

.vscode/settings.json

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
{
2+
"eslint.experimental.useFlatConfig": true,
3+
"prettier.enable": false,
4+
"editor.formatOnSave": false,
25
"editor.codeActionsOnSave": {
3-
"source.fixAll.eslint": true,
4-
"source.fixAll.stylelint": true
6+
"source.fixAll.eslint": "explicit",
7+
"source.fixAll.stylelint": "explicit",
8+
"source.organizeImports": "never"
59
},
610
"stylelint.validate": [
711
"css",
812
"scss",
913
"vue"
1014
],
11-
"i18n-ally.localesPaths": [
12-
"src/locales/lang"
13-
],
14-
"i18n-ally.displayLanguage": "zh-cn",
15-
"i18n-ally.editor.preferEditor": true,
16-
"i18n-ally.keystyle": "nested",
17-
"i18n-ally.keepFulfilled": true,
18-
"i18n-ally.indent": 2
15+
"eslint.validate": [
16+
"javascript",
17+
"javascriptreact",
18+
"typescript",
19+
"typescriptreact",
20+
"vue",
21+
"html",
22+
"markdown",
23+
"json",
24+
"jsonc",
25+
"yaml"
26+
]
1927
}

package.json

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,60 +20,64 @@
2020
"release": "bumpp"
2121
},
2222
"dependencies": {
23-
"@vueuse/core": "^10.5.0",
24-
"@vueuse/integrations": "^10.5.0",
25-
"axios": "^1.6.0",
23+
"@headlessui/vue": "^1.7.16",
24+
"@vueuse/core": "^10.7.0",
25+
"@vueuse/integrations": "^10.7.0",
26+
"axios": "^1.6.2",
2627
"dayjs": "^1.11.10",
27-
"element-plus": "^2.4.1",
28+
"element-plus": "^2.4.4",
2829
"eruda": "^3.0.1",
29-
"hotkeys-js": "^3.12.0",
30+
"floating-vue": "2.0.0-beta.24",
31+
"hotkeys-js": "^3.13.2",
3032
"lodash-es": "^4.17.21",
3133
"mitt": "^3.0.1",
3234
"mockjs": "^1.1.0",
35+
"overlayscrollbars": "^2.4.5",
36+
"overlayscrollbars-vue": "^0.5.6",
3337
"pinia": "^2.1.7",
3438
"qs": "^6.11.2",
3539
"vconsole": "^3.15.1",
36-
"vue": "^3.3.7",
40+
"vue": "^3.3.12",
41+
"vue-m-message": "^4.0.2",
3742
"vue-router": "^4.2.5"
3843
},
3944
"devDependencies": {
40-
"@antfu/eslint-config": "1.0.0-beta.29",
41-
"@iconify/json": "^2.2.136",
45+
"@antfu/eslint-config": "2.4.6",
46+
"@iconify/json": "^2.2.158",
4247
"@iconify/vue": "^4.1.1",
43-
"@types/qs": "^6.9.9",
44-
"@vitejs/plugin-vue": "^4.4.0",
45-
"@vitejs/plugin-vue-jsx": "^3.0.2",
48+
"@types/qs": "^6.9.10",
49+
"@vitejs/plugin-vue": "^4.5.2",
50+
"@vitejs/plugin-vue-jsx": "^3.1.0",
4651
"autoprefixer": "^10.4.16",
47-
"bumpp": "^9.2.0",
48-
"cz-git": "^1.7.1",
49-
"eslint": "^8.52.0",
50-
"esno": "^0.17.0",
51-
"fs-extra": "^11.1.1",
52+
"bumpp": "^9.2.1",
53+
"cz-git": "^1.8.0",
54+
"eslint": "^8.56.0",
55+
"esno": "^4.0.0",
56+
"fs-extra": "^11.2.0",
5257
"http-server": "^14.1.1",
53-
"inquirer": "^9.2.11",
54-
"lint-staged": "^15.0.2",
58+
"inquirer": "^9.2.12",
59+
"lint-staged": "^15.2.0",
5560
"npm-run-all": "^4.1.5",
5661
"plop": "^4.0.0",
5762
"postcss-html": "^1.5.0",
5863
"sass": "^1.69.5",
5964
"simple-git-hooks": "^2.9.0",
6065
"stylelint": "^15.11.0",
61-
"stylelint-config-standard-scss": "^11.0.0",
66+
"stylelint-config-standard-scss": "^11.1.0",
6267
"stylelint-config-standard-vue": "^1.0.0",
63-
"stylelint-scss": "^5.3.0",
68+
"stylelint-scss": "^5.3.2",
6469
"stylelint-stylistic": "^0.4.3",
65-
"svgo": "^3.0.2",
66-
"typescript": "^5.2.2",
67-
"unocss": "^0.57.1",
68-
"unplugin-auto-import": "^0.16.7",
69-
"unplugin-vue-components": "^0.25.2",
70-
"vite": "^4.5.0",
70+
"svgo": "^3.1.0",
71+
"typescript": "^5.3.3",
72+
"unocss": "^0.58.0",
73+
"unplugin-auto-import": "^0.17.2",
74+
"unplugin-vue-components": "^0.26.0",
75+
"vite": "^5.0.10",
7176
"vite-plugin-banner": "^0.7.1",
7277
"vite-plugin-compression": "^0.5.1",
73-
"vite-plugin-mock": "^2.9.6",
74-
"vite-plugin-restart": "^0.3.1",
78+
"vite-plugin-mock": "^2.9.8",
7579
"vite-plugin-svg-icons": "^2.0.1",
76-
"vue-tsc": "^1.8.22"
80+
"vue-tsc": "^1.8.25"
7781
},
7882
"simple-git-hooks": {
7983
"pre-commit": "pnpm lint-staged",

0 commit comments

Comments
 (0)