Skip to content

Commit 8d79bc3

Browse files
authored
feat: create vben project (#6)
* feat: create vben project * feat: adapt the login interface
1 parent ef70fae commit 8d79bc3

File tree

949 files changed

+76852
-0
lines changed

Some content is hidden

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

949 files changed

+76852
-0
lines changed

.browserslistrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> 1%
2+
last 2 versions
3+
not dead
4+
not ie 11

.commitlintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@vben/commitlint-config';

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
.git
3+
.gitignore
4+
*.md
5+
dist
6+
.turbo
7+
dist.zip

.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

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
2+
3+
# Automatically normalize line endings (to LF) for all text-based files.
4+
* text=auto eol=lf
5+
6+
# Declare files that will always have CRLF line endings on checkout.
7+
*.{cmd,[cC][mM][dD]} text eol=crlf
8+
*.{bat,[bB][aA][tT]} text eol=crlf
9+
10+
# Denote all files that are truly binary and should not be modified.
11+
*.{ico,png,jpg,jpeg,gif,webp,svg,woff,woff2} binary

.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: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
node_modules
2+
.DS_Store
3+
dist
4+
dist-ssr
5+
dist.zip
6+
dist.tar
7+
dist.war
8+
.nitro
9+
.output
10+
*-dist.zip
11+
*-dist.tar
12+
*-dist.war
13+
coverage
14+
*.local
15+
**/.vitepress/cache
16+
.cache
17+
.turbo
18+
.temp
19+
dev-dist
20+
.stylelintcache
21+
yarn.lock
22+
package-lock.json
23+
.VSCodeCounter
24+
**/backend-mock/data
25+
26+
# local env files
27+
.env.local
28+
.env.*.local
29+
.eslintcache
30+
31+
logs
32+
*.log
33+
npm-debug.log*
34+
yarn-debug.log*
35+
yarn-error.log*
36+
pnpm-debug.log*
37+
lerna-debug.log*
38+
vite.config.mts.*
39+
vite.config.mjs.*
40+
vite.config.js.*
41+
vite.config.ts.*
42+
43+
# Editor directories and files
44+
.idea
45+
# .vscode
46+
*.suo
47+
*.ntvs*
48+
*.njsproj
49+
*.sln
50+
*.sw?
51+
.history
52+
53+
# 升级 vben 时需要删除的文件
54+
.changeset
55+
.github
56+
backend-mock
57+
web-ele
58+
web-naive
59+
docs
60+
playground
61+
scripts/deploy
62+
.gitpod.yml
63+
README.*.md
64+
tea.yaml
65+
vben-admin.code-workspace

.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.

0 commit comments

Comments
 (0)