Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
剑九 六千里
vue-vben-admin
提交
84a5fc12
V
vue-vben-admin
项目概览
剑九 六千里
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
84a5fc12
编写于
4月 02, 2023
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 项目所有依赖升级到最新
上级
8180b2d1
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
1397 addition
and
1284 deletion
+1397
-1284
.stylelintrc.js
.stylelintrc.js
+1
-1
_internal/.gitkeep
_internal/.gitkeep
+0
-0
build/vite/plugin/index.ts
build/vite/plugin/index.ts
+1
-7
build/vite/plugin/svgSprite.ts
build/vite/plugin/svgSprite.ts
+2
-1
package.json
package.json
+75
-79
packages/.gitkeep
packages/.gitkeep
+0
-0
pnpm-lock.yaml
pnpm-lock.yaml
+1301
-1177
tests/server/package.json
tests/server/package.json
+15
-15
vite.config.ts
vite.config.ts
+2
-4
未找到文件。
.stylelintrc.js
浏览文件 @
84a5fc12
module
.
exports
=
{
root
:
true
,
plugins
:
[
'
stylelint-order
'
],
extends
:
[
'
stylelint-config-standard
'
,
'
stylelint-config-prettier
'
],
extends
:
[
'
stylelint-config-standard
'
],
customSyntax
:
'
postcss-html
'
,
rules
:
{
'
function-no-unknown
'
:
null
,
...
...
_internal/.gitkeep
0 → 100644
浏览文件 @
84a5fc12
build/vite/plugin/index.ts
浏览文件 @
84a5fc12
...
...
@@ -3,14 +3,13 @@ import vue from '@vitejs/plugin-vue';
import
vueJsx
from
'
@vitejs/plugin-vue-jsx
'
;
import
purgeIcons
from
'
vite-plugin-purge-icons
'
;
import
windiCSS
from
'
vite-plugin-windicss
'
;
import
VitePluginCertificate
from
'
vite-plugin-mkcert
'
;
import
{
configHtmlPlugin
}
from
'
./html
'
;
import
{
configMockPlugin
}
from
'
./mock
'
;
import
{
configCompressPlugin
}
from
'
./compress
'
;
import
{
configVisualizerConfig
}
from
'
./visualizer
'
;
import
{
configSvgIconsPlugin
}
from
'
./svgSprite
'
;
export
function
createVitePlugins
(
viteEnv
:
ViteEnv
,
isBuild
:
boolean
)
{
export
async
function
createVitePlugins
(
viteEnv
:
ViteEnv
,
isBuild
:
boolean
)
{
const
{
VITE_USE_MOCK
,
VITE_BUILD_COMPRESS
,
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE
}
=
viteEnv
;
const
vitePlugins
:
(
PluginOption
|
PluginOption
[])[]
=
[
...
...
@@ -18,11 +17,6 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
vue
(),
// have to
vueJsx
(),
// support name
//vueSetupExtend(),
VitePluginCertificate
({
source
:
'
coding
'
,
}),
];
// vite-plugin-windicss
...
...
build/vite/plugin/svgSprite.ts
浏览文件 @
84a5fc12
...
...
@@ -5,6 +5,7 @@
import
{
createSvgIconsPlugin
}
from
'
vite-plugin-svg-icons
'
;
import
path
from
'
path
'
;
import
type
{
PluginOption
}
from
'
vite
'
;
export
function
configSvgIconsPlugin
(
isBuild
:
boolean
)
{
const
svgIconsPlugin
=
createSvgIconsPlugin
({
...
...
@@ -13,5 +14,5 @@ export function configSvgIconsPlugin(isBuild: boolean) {
// default
symbolId
:
'
icon-[dir]-[name]
'
,
});
return
svgIconsPlugin
;
return
svgIconsPlugin
as
PluginOption
;
}
package.json
浏览文件 @
84a5fc12
...
...
@@ -72,117 +72,113 @@
}
},
"dependencies"
:
{
"
@ant-design/colors
"
:
"
^
6
.0.0
"
,
"
@ant-design/colors
"
:
"
^
7
.0.0
"
,
"
@ant-design/icons-vue
"
:
"
^6.1.0
"
,
"
@iconify/iconify
"
:
"
^
2.2.1
"
,
"
@logicflow/core
"
:
"
^1.
1.13
"
,
"
@logicflow/extension
"
:
"
^1.
1.13
"
,
"
@vue/runtime-core
"
:
"
^3.2.
33
"
,
"
@vue/shared
"
:
"
^3.2.
33
"
,
"
@vueuse/core
"
:
"
^
8.
3.0
"
,
"
@vueuse/shared
"
:
"
^
8.
3.0
"
,
"
@zxcvbn-ts/core
"
:
"
^2.
0
.1
"
,
"
ant-design-vue
"
:
"
^3.2.
0
"
,
"
axios
"
:
"
^
0.26.1
"
,
"
codemirror
"
:
"
^5.65.
3
"
,
"
cropperjs
"
:
"
^1.5.1
2
"
,
"
@iconify/iconify
"
:
"
^
3.1.0
"
,
"
@logicflow/core
"
:
"
^1.
2.1
"
,
"
@logicflow/extension
"
:
"
^1.
2.1
"
,
"
@vue/runtime-core
"
:
"
^3.2.
47
"
,
"
@vue/shared
"
:
"
^3.2.
47
"
,
"
@vueuse/core
"
:
"
^
9.1
3.0
"
,
"
@vueuse/shared
"
:
"
^
9.1
3.0
"
,
"
@zxcvbn-ts/core
"
:
"
^2.
2
.1
"
,
"
ant-design-vue
"
:
"
^3.2.
16
"
,
"
axios
"
:
"
^
1.3.4
"
,
"
codemirror
"
:
"
^5.65.
12
"
,
"
cropperjs
"
:
"
^1.5.1
3
"
,
"
crypto-js
"
:
"
^4.1.1
"
,
"
dayjs
"
:
"
^1.11.
1
"
,
"
echarts
"
:
"
^5.
3
.2
"
,
"
dayjs
"
:
"
^1.11.
7
"
,
"
echarts
"
:
"
^5.
4
.2
"
,
"
exceljs
"
:
"
^4.3.0
"
,
"
intro.js
"
:
"
^
5.1.0
"
,
"
intro.js
"
:
"
^
7.0.1
"
,
"
lodash-es
"
:
"
^4.17.21
"
,
"
mockjs
"
:
"
^1.1.0
"
,
"
nprogress
"
:
"
^0.2.0
"
,
"
path-to-regexp
"
:
"
^6.2.
0
"
,
"
pinia
"
:
"
2.0.
12
"
,
"
path-to-regexp
"
:
"
^6.2.
1
"
,
"
pinia
"
:
"
2.0.
33
"
,
"
print-js
"
:
"
^1.6.0
"
,
"
qrcode
"
:
"
^1.5.
0
"
,
"
qs
"
:
"
^6.1
0.3
"
,
"
qrcode
"
:
"
^1.5.
1
"
,
"
qs
"
:
"
^6.1
1.1
"
,
"
resize-observer-polyfill
"
:
"
^1.5.1
"
,
"
showdown
"
:
"
^2.1.0
"
,
"
sortablejs
"
:
"
^1.15.0
"
,
"
tinymce
"
:
"
^5.10.7
"
,
"
vditor
"
:
"
^3.
8.13
"
,
"
vditor
"
:
"
^3.
9.1
"
,
"
vue
"
:
"
^3.2.47
"
,
"
vue-i18n
"
:
"
^9.
1.9
"
,
"
vue-json-pretty
"
:
"
^2.
0.6
"
,
"
vue-router
"
:
"
^4.
0.14
"
,
"
vue-types
"
:
"
^
4.1.1
"
,
"
vue-i18n
"
:
"
^9.
2.2
"
,
"
vue-json-pretty
"
:
"
^2.
2.4
"
,
"
vue-router
"
:
"
^4.
1.6
"
,
"
vue-types
"
:
"
^
5.0.2
"
,
"
vuedraggable
"
:
"
^4.1.0
"
,
"
vxe-table
"
:
"
^4.3.
9
"
,
"
vxe-table
"
:
"
^4.3.
11
"
,
"
vxe-table-plugin-export-xlsx
"
:
"
^3.0.4
"
,
"
xe-utils
"
:
"
^3.5.7
"
,
"
xlsx
"
:
"
^0.18.5
"
},
"devDependencies"
:
{
"
@commitlint/cli
"
:
"
^1
6.2.3
"
,
"
@commitlint/config-conventional
"
:
"
^1
6.2.1
"
,
"
@iconify/json
"
:
"
^2.
1.30
"
,
"
@purge-icons/generated
"
:
"
^0.
8.1
"
,
"
@types/codemirror
"
:
"
^5.60.
5
"
,
"
@commitlint/cli
"
:
"
^1
7.5.1
"
,
"
@commitlint/config-conventional
"
:
"
^1
7.4.4
"
,
"
@iconify/json
"
:
"
^2.
2.43
"
,
"
@purge-icons/generated
"
:
"
^0.
9.0
"
,
"
@types/codemirror
"
:
"
^5.60.
7
"
,
"
@types/crypto-js
"
:
"
^4.1.1
"
,
"
@types/fs-extra
"
:
"
^
9.0.13
"
,
"
@types/inquirer
"
:
"
^8.2.
1
"
,
"
@types/intro.js
"
:
"
^
3.0.2
"
,
"
@types/lodash-es
"
:
"
^4.17.
6
"
,
"
@types/mockjs
"
:
"
^1.0.
6
"
,
"
@types/node
"
:
"
^1
7.0.25
"
,
"
@types/fs-extra
"
:
"
^
11.0.1
"
,
"
@types/inquirer
"
:
"
^8.2.
6
"
,
"
@types/intro.js
"
:
"
^
5.1.1
"
,
"
@types/lodash-es
"
:
"
^4.17.
7
"
,
"
@types/mockjs
"
:
"
^1.0.
7
"
,
"
@types/node
"
:
"
^1
8.15.11
"
,
"
@types/nprogress
"
:
"
^0.2.0
"
,
"
@types/qrcode
"
:
"
^1.
4.2
"
,
"
@types/qrcode
"
:
"
^1.
5.0
"
,
"
@types/qs
"
:
"
^6.9.7
"
,
"
@types/showdown
"
:
"
^
1.9.4
"
,
"
@types/sortablejs
"
:
"
^1.1
0.7
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^5.
20
.0
"
,
"
@typescript-eslint/parser
"
:
"
^5.
20
.0
"
,
"
@vitejs/plugin-vue
"
:
"
^
2.3.1
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^
1.3.10
"
,
"
@vue/compiler-sfc
"
:
"
^3.2.
33
"
,
"
@vue/test-utils
"
:
"
^2.
0.0-rc.21
"
,
"
autoprefixer
"
:
"
^10.4.4
"
,
"
@types/showdown
"
:
"
^
2.0.0
"
,
"
@types/sortablejs
"
:
"
^1.1
5.1
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^5.
57
.0
"
,
"
@typescript-eslint/parser
"
:
"
^5.
57
.0
"
,
"
@vitejs/plugin-vue
"
:
"
^
4.1.0
"
,
"
@vitejs/plugin-vue-jsx
"
:
"
^
3.0.1
"
,
"
@vue/compiler-sfc
"
:
"
^3.2.
47
"
,
"
@vue/test-utils
"
:
"
^2.
3.2
"
,
"
autoprefixer
"
:
"
^10.4.
1
4
"
,
"
conventional-changelog-cli
"
:
"
^2.2.2
"
,
"
cross-env
"
:
"
^7.0.3
"
,
"
cz-git
"
:
"
^1.
3.9
"
,
"
czg
"
:
"
^1.
3.9
"
,
"
dotenv
"
:
"
^16.0.
0
"
,
"
eslint
"
:
"
^8.
13
.0
"
,
"
eslint-config-prettier
"
:
"
^8.
5
.0
"
,
"
eslint-plugin-prettier
"
:
"
^4.
0.0
"
,
"
eslint-plugin-vue
"
:
"
^
8.6
.0
"
,
"
esno
"
:
"
^0.1
4.1
"
,
"
fs-extra
"
:
"
^1
0.1.0
"
,
"
husky
"
:
"
^
7.0.4
"
,
"
inquirer
"
:
"
^
8.2.2
"
,
"
less
"
:
"
^4.1.
2
"
,
"
lint-staged
"
:
"
1
2.3.7
"
,
"
cz-git
"
:
"
^1.
6.1
"
,
"
czg
"
:
"
^1.
6.1
"
,
"
dotenv
"
:
"
^16.0.
3
"
,
"
eslint
"
:
"
^8.
37
.0
"
,
"
eslint-config-prettier
"
:
"
^8.
8
.0
"
,
"
eslint-plugin-prettier
"
:
"
^4.
2.1
"
,
"
eslint-plugin-vue
"
:
"
^
9.10
.0
"
,
"
esno
"
:
"
^0.1
6.3
"
,
"
fs-extra
"
:
"
^1
1.1.1
"
,
"
husky
"
:
"
^
8.0.3
"
,
"
inquirer
"
:
"
^
9.1.5
"
,
"
less
"
:
"
^4.1.
3
"
,
"
lint-staged
"
:
"
1
3.2.0
"
,
"
npm-run-all
"
:
"
^4.1.5
"
,
"
picocolors
"
:
"
^1.0.0
"
,
"
postcss
"
:
"
^8.4.
12
"
,
"
postcss-html
"
:
"
^1.
4.1
"
,
"
postcss
"
:
"
^8.4.
21
"
,
"
postcss-html
"
:
"
^1.
5.0
"
,
"
postcss-less
"
:
"
^6.0.0
"
,
"
prettier
"
:
"
^2.6.2
"
,
"
rimraf
"
:
"
^3.0.2
"
,
"
rollup
"
:
"
^2.70.2
"
,
"
rollup-plugin-visualizer
"
:
"
^5.6.0
"
,
"
sass
"
:
"
^1.57.1
"
,
"
stylelint
"
:
"
^14.7.1
"
,
"
stylelint-config-prettier
"
:
"
^9.0.3
"
,
"
stylelint-config-recommended
"
:
"
^7.0.0
"
,
"
prettier
"
:
"
^2.8.7
"
,
"
rimraf
"
:
"
^4.4.1
"
,
"
rollup-plugin-visualizer
"
:
"
^5.9.0
"
,
"
sass
"
:
"
^1.60.0
"
,
"
stylelint
"
:
"
^15.4.0
"
,
"
stylelint-config-recommended
"
:
"
^11.0.0
"
,
"
stylelint-config-recommended-vue
"
:
"
^1.4.0
"
,
"
stylelint-config-standard
"
:
"
^25.0.0
"
,
"
stylelint-order
"
:
"
^5.0.0
"
,
"
ts-node
"
:
"
^10.7.0
"
,
"
typescript
"
:
"
^4.6.3
"
,
"
stylelint-config-standard
"
:
"
^32.0.0
"
,
"
stylelint-order
"
:
"
^6.0.3
"
,
"
typescript
"
:
"
^5.0.3
"
,
"
vite
"
:
"
^4.3.0-beta.1
"
,
"
vite-plugin-compression
"
:
"
^0.5.1
"
,
"
vite-plugin-html
"
:
"
^3.2.0
"
,
"
vite-plugin-mkcert
"
:
"
^1.6.0
"
,
"
vite-plugin-mock
"
:
"
^2.9.6
"
,
"
vite-plugin-purge-icons
"
:
"
^0.
8.1
"
,
"
vite-plugin-purge-icons
"
:
"
^0.
9.2
"
,
"
vite-plugin-svg-icons
"
:
"
^2.0.1
"
,
"
vite-plugin-windicss
"
:
"
^1.8.
4
"
,
"
vue-eslint-parser
"
:
"
^
8.3.0
"
,
"
vue-tsc
"
:
"
^1.
0.9
"
"
vite-plugin-windicss
"
:
"
^1.8.
10
"
,
"
vue-eslint-parser
"
:
"
^
9.1.1
"
,
"
vue-tsc
"
:
"
^1.
2.0
"
},
"packageManager"
:
"pnpm@8.1.0"
,
"engines"
:
{
...
...
packages/.gitkeep
0 → 100644
浏览文件 @
84a5fc12
pnpm-lock.yaml
浏览文件 @
84a5fc12
此差异已折叠。
点击以展开。
tests/server/package.json
浏览文件 @
84a5fc12
...
...
@@ -10,27 +10,27 @@
"stop"
:
"npx pm2 stop ecosystem.config.js"
},
"dependencies"
:
{
"fs-extra"
:
"^1
0.0
.1"
,
"koa"
:
"^2.1
3.4
"
,
"koa-body"
:
"^
4.2.0
"
,
"koa-bodyparser"
:
"^4.
3
.0"
,
"fs-extra"
:
"^1
1.1
.1"
,
"koa"
:
"^2.1
4.1
"
,
"koa-body"
:
"^
6.0.1
"
,
"koa-bodyparser"
:
"^4.
4
.0"
,
"koa-route"
:
"^3.2.0"
,
"koa-router"
:
"^1
0.1.1
"
,
"koa-router"
:
"^1
2.0.0
"
,
"koa-static"
:
"^5.0.0"
,
"koa-websocket"
:
"^
6
.0.0"
,
"koa-websocket"
:
"^
7
.0.0"
,
"koa2-cors"
:
"^2.0.6"
},
"devDependencies"
:
{
"@types/koa"
:
"^2.13.
4
"
,
"@types/koa"
:
"^2.13.
6
"
,
"@types/koa-bodyparser"
:
"^5.0.2"
,
"@types/koa-router"
:
"^7.4.4"
,
"@types/node"
:
"^1
7.0.2
1"
,
"nodemon"
:
"^2.0.
15
"
,
"pm2"
:
"^5.
2
.0"
,
"rimraf"
:
"^
3.0.2
"
,
"ts-node"
:
"^10.
7.0
"
,
"tsconfig-paths"
:
"^
3.14
.0"
,
"tsup"
:
"^
5.12.1
"
,
"typescript"
:
"^
4.6.2
"
"@types/node"
:
"^1
8.15.1
1"
,
"nodemon"
:
"^2.0.
22
"
,
"pm2"
:
"^5.
3
.0"
,
"rimraf"
:
"^
4.4.1
"
,
"ts-node"
:
"^10.
9.1
"
,
"tsconfig-paths"
:
"^
4.2
.0"
,
"tsup"
:
"^
6.7.0
"
,
"typescript"
:
"^
5.0.3
"
}
}
vite.config.ts
浏览文件 @
84a5fc12
...
...
@@ -19,7 +19,7 @@ const __APP_INFO__ = {
lastBuildTime
:
dayjs
().
format
(
'
YYYY-MM-DD HH:mm:ss
'
),
};
export
default
({
command
,
mode
}:
ConfigEnv
):
UserConfig
=>
{
export
default
async
({
command
,
mode
}:
ConfigEnv
):
Promise
<
UserConfig
>
=>
{
const
root
=
process
.
cwd
();
const
env
=
loadEnv
(
mode
,
root
);
...
...
@@ -53,8 +53,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
],
},
server
:
{
https
:
true
,
// Listening on all local IPs
host
:
true
,
// Load proxy configuration from .env
proxy
:
createProxy
(
VITE_PROXY
),
...
...
@@ -95,7 +93,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
},
// The vite plugin used by the project. The quantity is large, so it is separately extracted and managed
plugins
:
createVitePlugins
(
viteEnv
,
isBuild
),
plugins
:
await
createVitePlugins
(
viteEnv
,
isBuild
),
optimizeDeps
:
{
// @iconify/iconify: The dependency is dynamically and virtually loaded by @purge-icons/generated, so it needs to be specified explicitly
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录