提交 7e564c29 作者: vben

chore: update deps

上级 a09a0eed
module.exports = { module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true,
},
parser: 'vue-eslint-parser', parser: 'vue-eslint-parser',
parserOptions: { parserOptions: {
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
ecmaVersion: 2020, ecmaVersion: 2020,
sourceType: 'module', sourceType: 'module',
jsxPragma: 'React',
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
tsx: true,
}, },
}, },
extends: [ extends: [
'plugin:vue/vue3-recommended', 'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint', 'prettier',
'plugin:prettier/recommended', 'plugin:prettier/recommended',
], ],
rules: { rules: {
......
name: Release name: Create Release
on: on:
push: push:
...@@ -6,10 +6,19 @@ on: ...@@ -6,10 +6,19 @@ on:
- v* - v*
jobs: jobs:
release: build:
name: Create Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout code
- run: npx conventional-github-releaser -p angular uses: actions/checkout@master
- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env: env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/anncwb/vue-vben-admin/blob/main/CHANGELOG.md) for details.
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"antfu.i18n-ally", "antfu.i18n-ally",
"antfu.iconify", "antfu.iconify",
"mikestead.dotenv", "mikestead.dotenv",
"bradlc.vscode-tailwindcss",
"heybourn.headwind" "heybourn.headwind"
] ]
} }
## Wip
### ⚡ Performance Improvements
- 登录界面动画优化
### 🐛 Bug Fixes
- 修复验证码组件警告问题
## 2.0.1 (2021-02-21) ## 2.0.1 (2021-02-21)
### ✨ Refactor ### ✨ Refactor
......
...@@ -4,7 +4,7 @@ import type { Plugin } from 'vite'; ...@@ -4,7 +4,7 @@ import type { Plugin } from 'vite';
export function configWindiCssPlugin(): Plugin[] { export function configWindiCssPlugin(): Plugin[] {
return windiCSS({ return windiCSS({
safelist: 'shadow shadow-xl', safelist: 'no-select',
preflight: { preflight: {
enableAll: true, enableAll: true,
}, },
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"sortablejs": "^1.13.0", "sortablejs": "^1.13.0",
"vditor": "^3.8.1", "vditor": "^3.8.1",
"vue": "^3.0.5", "vue": "^3.0.5",
"vue-i18n": "9.0.0-rc.2", "vue-i18n": "9.0.0-rc.7",
"vue-router": "^4.0.4", "vue-router": "^4.0.4",
"vue-types": "^3.0.2", "vue-types": "^3.0.2",
"vuex": "^4.0.0", "vuex": "^4.0.0",
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"dotenv": "^8.2.0", "dotenv": "^8.2.0",
"eslint": "^7.20.0", "eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0", "eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1", "eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.6.0", "eslint-plugin-vue": "^7.6.0",
"esno": "^0.4.4", "esno": "^0.4.4",
...@@ -98,13 +98,13 @@ ...@@ -98,13 +98,13 @@
"vite": "2.0.1", "vite": "2.0.1",
"vite-plugin-compression": "^0.2.1", "vite-plugin-compression": "^0.2.1",
"vite-plugin-html": "^2.0.1", "vite-plugin-html": "^2.0.1",
"vite-plugin-imagemin": "^0.2.7", "vite-plugin-imagemin": "^0.2.8",
"vite-plugin-mock": "^2.1.4", "vite-plugin-mock": "^2.1.4",
"vite-plugin-purge-icons": "^0.7.0", "vite-plugin-purge-icons": "^0.7.0",
"vite-plugin-pwa": "^0.5.3", "vite-plugin-pwa": "^0.5.3",
"vite-plugin-style-import": "^0.7.3", "vite-plugin-style-import": "^0.7.3",
"vite-plugin-theme": "^0.4.3", "vite-plugin-theme": "^0.4.8",
"vite-plugin-windicss": "0.4.4", "vite-plugin-windicss": "0.4.7",
"vue-eslint-parser": "^7.5.0", "vue-eslint-parser": "^7.5.0",
"yargs": "^16.2.0" "yargs": "^16.2.0"
}, },
......
...@@ -206,7 +206,7 @@ export default defineComponent({ ...@@ -206,7 +206,7 @@ export default defineComponent({
return () => { return () => {
return ( return (
<Tree {...unref(getBindValues)} class={prefixCls}> <Tree {...(unref(getBindValues) as any)} class={prefixCls}>
{{ {{
switcherIcon: () => <DownOutlined />, switcherIcon: () => <DownOutlined />,
default: () => renderTreeNode({ data: unref(getTreeData) }), default: () => renderTreeNode({ data: unref(getTreeData) }),
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<AppLogo :alwaysShowTitle="true" /> <AppLogo :alwaysShowTitle="true" />
</span> </span>
<div class="container relative h-full py-2 mx-auto sm:px-10 -enter-x"> <div class="container relative h-full py-2 mx-auto sm:px-10">
<div class="flex h-full"> <div class="flex h-full">
<div class="hidden xl:flex xl:flex-col xl:w-6/12 min-h-full mr-4 pl-4"> <div class="hidden xl:flex xl:flex-col xl:w-6/12 min-h-full mr-4 pl-4">
<AppLogo class="-enter-x" /> <AppLogo class="-enter-x" />
......
...@@ -50,13 +50,13 @@ const uploadFilePublic = function (ctx, files, flag) { ...@@ -50,13 +50,13 @@ const uploadFilePublic = function (ctx, files, flag) {
ctx.body = { ctx.body = {
url: url, url: url,
code: 0, code: 0,
message: '上传成功', message: 'upload Success!',
}; };
} else { } else {
ctx.body = { ctx.body = {
url: uploadUrl + `/${files.name}`, url: uploadUrl + `/${files.name}`,
code: 0, code: 0,
message: '上传成功', message: 'upload Success!',
}; };
} }
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论