forked from soybeanjs/soybean-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: (103 commits) perf(hooks): perf useHookTable feat(hooks): add useHookTable fix(projects): correct the lang file name & add recommend vscode plugin i18n-ally feat(projects): new i18n function $t & login page and setting drawer config i18n chore(projects): correct the word spell chore(projects): update VSCode setting chore(projects): update pnpm-lock.yaml chore(deps): update deps fix(styles): 用户管理页面布局自适应屏幕高度 (fixed soybeanjs#253) feat(auth): 防止多次刷新token chore(projects): update deps & fix eslint code chore(projects): update package.json chore(deps): update deps docs(projects): update README.md logo chore(projects): update deps and fix swiper refactor(projects): 生产环境缓存主题变更为sessionStorage style(projects): update default theme color fix(projects): fix set tab title (fixed soybeanjs#256) chore(deps): update deps chore(deps): update deps ... # Conflicts: # .env # build/plugins/index.ts # src/views/component/card/index.vue
- Loading branch information
Showing
144 changed files
with
6,548 additions
and
4,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
VITE_BASE_URL=/ | ||
|
||
VITE_APP_NAME=SoybeanAdmin | ||
|
||
VITE_APP_TITLE=Soybean管理系统 | ||
|
||
VITE_APP_DESC=SoybeanAdmin是一个中后台管理系统模版 | ||
|
||
# 权限路由模式: static | dynamic | ||
VITE_AUTH_ROUTE_MODE=static | ||
|
||
# 路由首页(根路由重定向), 用于static模式的权限路由,dynamic模式取决于后端返回的路由首页 | ||
VITE_ROUTE_HOME_PATH=/dashboard/analysis | ||
|
||
# iconify图标作为组件的前缀 | ||
VITE_ICON_PREFFIX=icon | ||
|
||
# 本地SVG图标作为组件的前缀, 请注意一定要包含 VITE_ICON_PREFFIX | ||
# 格式 {VITE_ICON_PREFFIX}-{本地图标集合名称} | ||
VITE_ICON_LOCAL_PREFFIX=icon-local | ||
VITE_BASE_URL=/ | ||
|
||
VITE_APP_NAME=SoybeanAdmin | ||
|
||
VITE_APP_TITLE=Soybean管理系统 | ||
|
||
VITE_APP_DESC=SoybeanAdmin是一个中后台管理系统模版 | ||
|
||
# 权限路由模式: static | dynamic | ||
VITE_AUTH_ROUTE_MODE=static | ||
|
||
# 路由首页(根路由重定向), 用于static模式的权限路由,dynamic模式取决于后端返回的路由首页 | ||
VITE_ROUTE_HOME_PATH=/dashboard/analysis | ||
|
||
# iconify图标作为组件的前缀 | ||
VITE_ICON_PREFIX=icon | ||
|
||
# 本地SVG图标作为组件的前缀, 请注意一定要包含 VITE_ICON_PREFIX | ||
# 格式 {VITE_ICON_PREFIX}-{本地图标集合名称} | ||
VITE_ICON_LOCAL_PREFIX=icon-local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
VITE_HTTP_PROXY=Y | ||
VITE_SOYBEAN_ROUTE_PLUGIN=Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ VITE_COMPRESS=N | |
VITE_COMPRESS_TYPE=gzip | ||
|
||
VITE_PWA=N | ||
|
||
VITE_PROD_MOCK=Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- "v*.**" | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
release: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Create github releases | ||
run: npx changelogithub | ||
- run: npx githublogen | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
registry=https://registry.npmmirror.com/ | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false | ||
auto-install-peers=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
{ | ||
"recommendations": [ | ||
"afzalsayed96.icones", | ||
"antfu.iconify", | ||
"antfu.unocss", | ||
"christian-kohler.path-intellisense", | ||
"dbaeumer.vscode-eslint", | ||
"eamodio.gitlens", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"formulahendry.auto-close-tag", | ||
"formulahendry.auto-complete-tag", | ||
"formulahendry.auto-close-tag", | ||
"formulahendry.auto-rename-tag", | ||
"kisstkondoros.vscode-gutter-preview", | ||
"lokalise.i18n-ally", | ||
"mariusalchimavicius.json-to-ts", | ||
"mhutchie.git-graph", | ||
"mikestead.dotenv", | ||
"naumovs.color-highlight", | ||
"pkief.material-icon-theme", | ||
"sdras.vue-vscode-snippets", | ||
"streetsidesoftware.code-spell-checker", | ||
"vue.volar", | ||
"vue.vscode-typescript-vue-plugin", | ||
"whtouche.vscode-js-console-utils", | ||
"zhuangtongfa.material-theme" | ||
"vue.vscode-typescript-vue-plugin" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,64 @@ | ||
{ | ||
"cSpell.ignorePaths": [ | ||
"package.json", | ||
"package-lock.json", | ||
"yarn.lock", | ||
"pnpm-lock.yaml", | ||
"node_modules", | ||
"vscode-extension", | ||
".git/objects", | ||
".vscode", | ||
".vscode-insiders", | ||
"CHANGELOG.md", | ||
"dist", | ||
"public", | ||
"styles" | ||
], | ||
"cSpell.words": [ | ||
"AMAP", | ||
"antv", | ||
"bmapgl", | ||
"colord", | ||
"echarts", | ||
"gitee", | ||
"gridicons", | ||
"iconify", | ||
"jsapi", | ||
"naiveui", | ||
"Sider", | ||
"tauri", | ||
"unocss", | ||
"unplugin", | ||
"vditor", | ||
"vueuse", | ||
"wangeditor", | ||
"wechat", | ||
"xgplayer" | ||
], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"editor.fontLigatures": true, | ||
"editor.formatOnSave": false, | ||
"editor.guides.bracketPairs": "active", | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"editor.tabSize": 2, | ||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "json"], | ||
"eslint.validate": ["json"], | ||
"files.associations": { | ||
"*.env.*": "dotenv" | ||
"*.env.*": "dotenv", | ||
"*.svg": "html" | ||
}, | ||
"files.eol": "\n", | ||
"git.enableSmartCommit": true, | ||
"gutterpreview.paths": { | ||
"@": "/src", | ||
"~@": "/src" | ||
}, | ||
"material-icon-theme.activeIconPack": "angular", | ||
"material-icon-theme.files.associations": {}, | ||
"material-icon-theme.folders.associations": { | ||
"src-tauri": "src", | ||
"enum": "typescript", | ||
"enums": "typescript", | ||
"store": "context", | ||
"stores": "context", | ||
"composable": "hook", | ||
"composables": "hook", | ||
"directive": "tools", | ||
"directives": "tools", | ||
"business": "core", | ||
"request": "api", | ||
"adapter": "middleware" | ||
}, | ||
"path-intellisense.mappings": { | ||
"@": "${workspaceFolder}/src", | ||
"~@": "${workspaceFolder}/src" | ||
}, | ||
"terminal.integrated.cursorStyle": "line", | ||
"terminal.integrated.fontSize": 14, | ||
"terminal.integrated.fontWeight": 500, | ||
"terminal.integrated.tabs.enabled": true, | ||
"workbench.iconTheme": "material-icon-theme", | ||
"workbench.colorTheme": "One Dark Pro", | ||
"[html]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[jsonc]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[markdown]": { | ||
"editor.defaultFormatter": "yzhang.markdown-all-in-one" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[vue]": { | ||
"editor.defaultFormatter": "Vue.volar" | ||
"i18n-ally.displayLanguage": "zh-CN", | ||
"i18n-ally.enabledParsers": ["ts"], | ||
"i18n-ally.enabledFrameworks": ["vue"], | ||
"i18n-ally.editor.preferEditor": true, | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.localesPaths": ["src/locales/lang"], | ||
"material-icon-theme.activeIconPack": "vue", | ||
"[html][css][less][scss][sass][markdown][yaml][yml][jsonc]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
} | ||
} |
Oops, something went wrong.