Skip to content

Commit ff7de6a

Browse files
committed
change version
1 parent df51053 commit ff7de6a

File tree

394 files changed

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

394 files changed

+27192
-0
lines changed

β€Ždemo/.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[Makefile]
16+
indent_style = tab

β€Ždemo/.eslintignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/lambda/
2+
/scripts
3+
/config
4+
.history
5+
public
6+
dist
7+
.umi
8+
mock

β€Ždemo/.eslintrc.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
extends: [require.resolve('@umijs/fabric/dist/eslint')],
3+
globals: {
4+
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
5+
page: true,
6+
REACT_APP_ENV: true,
7+
},
8+
};

β€Ždemo/.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
**/node_modules
5+
# roadhog-api-doc ignore
6+
/src/utils/request-temp.js
7+
_roadhog-api-doc
8+
9+
# production
10+
/dist
11+
12+
# misc
13+
.DS_Store
14+
npm-debug.log*
15+
yarn-error.log
16+
17+
/coverage
18+
.idea
19+
yarn.lock
20+
package-lock.json
21+
pnpm-lock.yaml
22+
*bak
23+
24+
25+
# visual studio code
26+
.history
27+
*.log
28+
functions/*
29+
.temp/**
30+
31+
# umi
32+
.umi
33+
.umi-production
34+
35+
# screenshot
36+
screenshot
37+
.firebase
38+
.eslintcache
39+
40+
build

β€Ždemo/.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

β€Ždemo/.husky/commit-msg

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
# Export Git hook params
5+
export GIT_PARAMS=$*
6+
7+
npx --no-install fabric verify-commit

β€Ždemo/.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

β€Ždemo/.prettierignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**/*.svg
2+
package.json
3+
.umi
4+
.umi-production
5+
/dist
6+
.dockerignore
7+
.DS_Store
8+
.eslintignore
9+
*.png
10+
*.toml
11+
docker
12+
.editorconfig
13+
Dockerfile*
14+
.gitignore
15+
.prettierignore
16+
LICENSE
17+
.eslintcache
18+
*.lock
19+
yarn-error.log
20+
.history
21+
CNAME
22+
/build
23+
/public

β€Ždemo/.prettierrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const fabric = require('@umijs/fabric');
2+
3+
module.exports = {
4+
...fabric.prettier,
5+
};

β€Ždemo/.stylelintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: [require.resolve('@umijs/fabric/dist/stylelint')],
3+
};

β€Ždemo/.vscode/extensions.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"dbaeumer.vscode-eslint",
5+
"stylelint.vscode-stylelint",
6+
"wangzy.sneak-mark"
7+
]
8+
}

β€Ždemo/.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"prettier.requireConfig": true,
4+
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
}

β€Ždemo/README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Ant Design Pro
2+
3+
This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use.
4+
5+
## Environment Prepare
6+
7+
Install `node_modules`:
8+
9+
```bash
10+
npm install
11+
```
12+
13+
or
14+
15+
```bash
16+
yarn
17+
```
18+
19+
## Provided Scripts
20+
21+
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
22+
23+
Scripts provided in `package.json`. It's safe to modify or add additional script:
24+
25+
### Start project
26+
27+
```bash
28+
npm start
29+
```
30+
31+
### Build project
32+
33+
```bash
34+
npm run build
35+
```
36+
37+
### Check code style
38+
39+
```bash
40+
npm run lint
41+
```
42+
43+
You can also use script to auto fix some lint error:
44+
45+
```bash
46+
npm run lint:fix
47+
```
48+
49+
### Test code
50+
51+
```bash
52+
npm test
53+
```
54+
55+
## More
56+
57+
You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro).

β€Ždemo/config/config.dev.ts

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// https://umijs.org/config/
2+
import { defineConfig } from 'umi';
3+
4+
export default defineConfig({
5+
plugins: [
6+
// https://github.com/zthxxx/react-dev-inspector
7+
'react-dev-inspector/plugins/umi/react-inspector',
8+
],
9+
// https://github.com/zthxxx/react-dev-inspector#inspector-loader-props
10+
inspectorConfig: {
11+
exclude: [],
12+
babelPlugins: [],
13+
babelOptions: {},
14+
},
15+
});

0 commit comments

Comments
Β (0)