Vben
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with
9 additions and
21 deletions
-
.github/workflows/draft.yml
-
.vscode/settings.json
-
docs/src/guide/essentials/build.md
-
internal/tsconfig/base.json
-
packages/@core/base/design/src/css/ui.css
-
packages/@core/base/design/src/index.ts
-
packages/@core/ui-kit/shadcn-ui/src/index.ts
-
scripts/vsh/src/check-dep/index.ts
|
|
|
@ -7,6 +7,7 @@ on: |
|
|
|
|
|
|
|
permissions: |
|
|
|
contents: read |
|
|
|
pull-requests: write |
|
|
|
|
|
|
|
jobs: |
|
|
|
update_release_draft: |
|
|
|
|
|
|
|
@ -189,5 +189,7 @@ |
|
|
|
}, |
|
|
|
"commentTranslate.hover.enabled": false, |
|
|
|
"i18n-ally.keystyle": "nested", |
|
|
|
"commentTranslate.multiLineMerge": true |
|
|
|
"commentTranslate.multiLineMerge": true, |
|
|
|
"vue.server.hybridMode": true, |
|
|
|
"typescript.tsdk": "node_modules/typescript/lib" |
|
|
|
} |
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
|
|
|
|
项目开发完成之后,执行以下命令进行构建: |
|
|
|
|
|
|
|
**注意:** 请在项目跟目录下执行以下命令 |
|
|
|
**注意:** 请在项目根目录下执行以下命令 |
|
|
|
|
|
|
|
```bash |
|
|
|
pnpm build |
|
|
|
@ -24,7 +24,7 @@ pnpm build |
|
|
|
|
|
|
|
- 使用项目自定的命令进行预览(推荐) |
|
|
|
|
|
|
|
**注意:** 请在项目跟目录下执行以下命令 |
|
|
|
**注意:** 请在项目根目录下执行以下命令 |
|
|
|
|
|
|
|
```bash |
|
|
|
pnpm preview |
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ |
|
|
|
|
|
|
|
"moduleResolution": "node", |
|
|
|
"resolveJsonModule": true, |
|
|
|
"allowImportingTsExtensions": true, |
|
|
|
|
|
|
|
"strict": true, |
|
|
|
"strictNullChecks": true, |
|
|
|
|
|
|
|
@ -34,21 +34,6 @@ |
|
|
|
transform: translateX(30px) skewX(-30deg); |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|
.breadcrumb-transition-move, |
|
|
|
.breadcrumb-transition-enter-active { |
|
|
|
transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1); |
|
|
|
} |
|
|
|
|
|
|
|
.breadcrumb-transition-leave-active { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.breadcrumb-transition-enter-from { |
|
|
|
opacity: 0; |
|
|
|
transform: translateX(-5px); |
|
|
|
} */ |
|
|
|
|
|
|
|
@keyframes slide-down { |
|
|
|
from { |
|
|
|
opacity: 0; |
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
import './css/global.css'; |
|
|
|
import './css/transition.css'; |
|
|
|
import './css/nprogress.css'; |
|
|
|
import './css/ui.css'; |
|
|
|
import './design-tokens'; |
|
|
|
|
|
|
|
export {}; |
|
|
|
|
|
|
|
@ -1,4 +1,2 @@ |
|
|
|
import './styles/index.css'; |
|
|
|
|
|
|
|
export * from './components'; |
|
|
|
export { VisuallyHidden } from 'radix-vue'; |
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ async function runDepcheck() { |
|
|
|
// 删除file:前缀的依赖提示,该依赖是本地依赖
|
|
|
|
Reflect.deleteProperty(unused.missing, 'file:'); |
|
|
|
Object.keys(unused.missing).forEach((key) => { |
|
|
|
unused.missing[key] = unused.missing[key].filter( |
|
|
|
unused.missing[key] = (unused.missing[key] || []).filter( |
|
|
|
(item: string) => !item.startsWith('/'), |
|
|
|
); |
|
|
|
if (unused.missing[key].length === 0) { |
|
|
|
|