Skip to content

Commit a316b44

Browse files
authored
feat: create vben project (#1)
1 parent ef70fae commit a316b44

File tree

896 files changed

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

896 files changed

+70745
-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

.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

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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

.lintstagedrc.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
export default {
2+
'*.{js,jsx,ts,tsx}': [
3+
'prettier --cache --ignore-unknown --write',
4+
'eslint --cache --fix',
5+
],
6+
'*.{scss,less,styl,html,vue,css}': [
7+
'prettier --cache --ignore-unknown --write',
8+
'stylelint --fix --allow-empty-input',
9+
],
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,*.code-snippets,.!(browserslist)*rc}': [
17+
'prettier --cache --write--parser json',
18+
],
19+
'package.json': ['prettier --cache --write'],
20+
};

.npmrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
registry = "https://registry.npmmirror.com"
2+
public-hoist-pattern[]=eslint
3+
public-hoist-pattern[]=prettier
4+
public-hoist-pattern[]=prettier-plugin-tailwindcss
5+
public-hoist-pattern[]=stylelint
6+
public-hoist-pattern[]=*postcss*
7+
public-hoist-pattern[]=@commitlint/*
8+
public-hoist-pattern[]=czg
9+
10+
strict-peer-dependencies=false
11+
auto-install-peers=true
12+
dedupe-peer-dependents=true

.prettierignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
dist
2+
dev-dist
3+
.local
4+
.output.js
5+
node_modules
6+
.nvmrc
7+
coverage
8+
CODEOWNERS
9+
.nitro
10+
.output
11+
12+
13+
**/*.svg
14+
**/*.sh
15+
16+
public
17+
.npmrc
18+
*-lock.yaml

.prettierrc.mjs

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

.stylelintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
public
3+
__tests__
4+
coverage

0 commit comments

Comments
 (0)