Skip to content

Commit 13bcfcc

Browse files
committed
feat: bump to vben main branch
2 parents 27b9763 + e815f0f commit 13bcfcc

File tree

409 files changed

+11260
-3879
lines changed

Some content is hidden

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

409 files changed

+11260
-3879
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset=utf-8
5+
end_of_line=lf
6+
insert_final_newline=true
7+
indent_style=space
8+
indent_size=2
9+
max_line_length = 100
10+
trim_trailing_whitespace = true
11+
quote_type = single
12+
13+
[*.{yml,yaml,json}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

.gitconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[core]
2+
ignorecase = false

.gitignore

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,24 @@ vite.config.ts.*
4242

4343
# Editor directories and files
4444
.idea
45-
.vscode
4645
*.suo
4746
*.ntvs*
4847
*.njsproj
4948
*.sln
5049
*.sw?
5150
.history
51+
52+
# 升级vben时需要删除的文件
53+
.vscode
54+
.changeset
55+
.github
56+
backend-mock
57+
web-ele
58+
web-naive
59+
docs
60+
playground
61+
.gitpod.yml
62+
README.*.md
63+
tea.yaml
64+
vben-admin.code-workspace
65+
scripts/deploy

.husky/commit-msg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
echo Start running commit-msg hook...
2+
3+
# Check whether the git commit information is standardized
4+
pnpm exec commitlint --edit "$1"
5+
6+
echo Run commit-msg hook done.

.husky/post-merge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 每次 git pull 之后, 安装依赖
2+
3+
pnpm install

.husky/pre-commit

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# update `.vscode/vben-admin.code-workspace` file
2+
pnpm vsh code-workspace --auto-commit
3+
4+
# Format and submit code according to lintstagedrc.js configuration
5+
pnpm exec lint-staged
6+
7+
echo Run pre-commit hook done.

.lintstagedrc.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
export default {
2+
'*.md': ['prettier --cache --ignore-unknown --write'],
3+
'*.vue': [
4+
'prettier --write',
5+
'eslint --cache --fix',
6+
'stylelint --fix --allow-empty-input',
7+
],
28
'*.{js,jsx,ts,tsx}': [
39
'prettier --cache --ignore-unknown --write',
410
'eslint --cache --fix',
@@ -7,14 +13,8 @@ export default {
713
'prettier --cache --ignore-unknown --write',
814
'stylelint --fix --allow-empty-input',
915
],
10-
'*.md': ['prettier --cache --ignore-unknown --write'],
11-
'*.vue': [
12-
'prettier --write',
13-
'eslint --cache --fix',
14-
'stylelint --fix --allow-empty-input',
15-
],
16+
'package.json': ['prettier --cache --write'],
1617
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': [
1718
'prettier --cache --write--parser json',
1819
],
19-
'package.json': ['prettier --cache --write'],
2020
};

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.14.0

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
registry = "https://registry.npmmirror.com"
2+
public-hoist-pattern[]=husky
23
public-hoist-pattern[]=eslint
34
public-hoist-pattern[]=prettier
45
public-hoist-pattern[]=prettier-plugin-tailwindcss

apps/web-antd/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"preview": "vite preview",
99
"typecheck": "vue-tsc --noEmit --skipLibCheck"
1010
},
11+
"type": "module",
1112
"imports": {
1213
"#/*": "./src/*"
1314
},

0 commit comments

Comments
 (0)