Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
3d3b5ad4
Commit
3d3b5ad4
authored
Jun 05, 2019
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script: use default prettier
parent
fc136b6a
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2714 additions
and
2579 deletions
+2714
-2579
.gitpod.yml
.gitpod.yml
+4
-4
.prettierignore
.prettierignore
+12
-0
.prettierrc
.prettierrc
+7
-1
.stylelintrc.json
.stylelintrc.json
+2
-5
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
+10
-10
README.fr-FR.md
README.fr-FR.md
+1
-2
README.ja-JP.md
README.ja-JP.md
+1
-1
README.md
README.md
+1
-1
config/plugin.config.ts
config/plugin.config.ts
+1
-1
docker/docker-compose.dev.yml
docker/docker-compose.dev.yml
+2
-2
lambda/mock/index.js
lambda/mock/index.js
+2665
-2542
package.json
package.json
+3
-3
src/pages/document.ejs
src/pages/document.ejs
+4
-6
tests/run-tests.js
tests/run-tests.js
+1
-1
No files found.
.gitpod.yml
View file @
3d3b5ad4
ports
:
-
port
:
8000
onOpen
:
open-preview
-
port
:
8000
onOpen
:
open-preview
tasks
:
-
init
:
npm install
command
:
npm start
-
init
:
npm install
command
:
npm start
.prettierignore
View file @
3d3b5ad4
...
...
@@ -2,3 +2,15 @@
package.json
.umi
.umi-production
/dist
.dockerignore
.DS_Store
.eslintignore
*.png
*.toml
docker
.editorconfig
Dockerfile*
.gitignore
.prettierignore
LICENSE
\ No newline at end of file
.prettierrc
View file @
3d3b5ad4
...
...
@@ -9,6 +9,12 @@
"options": {
"parser": "json"
}
},
{
"files": "document.ejs",
"options": {
"parser": "html"
}
}
]
}
\ No newline at end of file
}
.stylelintrc.json
View file @
3d3b5ad4
...
...
@@ -5,12 +5,9 @@
"stylelint-config-rational-order"
,
"stylelint-config-prettier"
],
"plugins"
:
[
"stylelint-order"
,
"stylelint-declaration-block-no-ignored-properties"
],
"plugins"
:
[
"stylelint-order"
,
"stylelint-declaration-block-no-ignored-properties"
],
"rules"
:
{
"no-descending-specificity"
:
null
,
"plugin/declaration-block-no-ignored-properties"
:
true
}
}
\ No newline at end of file
}
CODE_OF_CONDUCT.md
View file @
3d3b5ad4
...
...
@@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
Examples of behavior that contributes to creating a positive environment include:
*
Using welcoming and inclusive language
*
Being respectful of differing viewpoints and experiences
*
Gracefully accepting constructive criticism
*
Focusing on what is best for the community
*
Showing empathy towards other community members
-
Using welcoming and inclusive language
-
Being respectful of differing viewpoints and experiences
-
Gracefully accepting constructive criticism
-
Focusing on what is best for the community
-
Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
*
The use of sexualized language or imagery and unwelcome sexual attention or advances
*
Trolling, insulting/derogatory comments, and personal or political attacks
*
Public or private harassment
*
Publishing others' private information, such as a physical or electronic address, without explicit permission
*
Other conduct which could reasonably be considered inappropriate in a professional setting
-
The use of sexualized language or imagery and unwelcome sexual attention or advances
-
Trolling, insulting/derogatory comments, and personal or political attacks
-
Public or private harassment
-
Publishing others' private information, such as a physical or electronic address, without explicit permission
-
Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
...
...
README.fr-FR.md
View file @
3d3b5ad4
...
...
@@ -115,9 +115,8 @@ Toute forme de contribution est la bienvenue, voici quelques exemples de façons
-
Soumettre des
[
issues
](
http://github.com/ant-design/ant-design-pro/issues
)
pour reporter les bugs ou poser des questions.
-
Proposer des
[
pull requests
](
http://github.com/ant-design/ant-design-pro/pulls
)
pour améliorer notre code.
<div
align=
"center"
>
<a
href=
"https://www.netlify.com"
>
<img
src=
"https://www.netlify.com/img/global/badges/netlify-color-bg.svg"
/>
</a>
</div>
\ No newline at end of file
</div>
README.ja-JP.md
View file @
3d3b5ad4
...
...
@@ -121,4 +121,4 @@ Gitpod(GitHub 用の無料オンライン開発環境)でプロジェクト
<a
href=
"https://www.netlify.com"
>
<img
src=
"https://www.netlify.com/img/global/badges/netlify-color-bg.svg"
/>
</a>
</div>
\ No newline at end of file
</div>
README.md
View file @
3d3b5ad4
...
...
@@ -121,4 +121,4 @@ Any type of contribution is welcome, here are some examples of how you may contr
<a
href=
"https://www.netlify.com"
>
<img
src=
"https://www.netlify.com/img/global/badges/netlify-color-bg.svg"
/>
</a>
</div>
\ No newline at end of file
</div>
config/plugin.config.ts
View file @
3d3b5ad4
...
...
@@ -112,4 +112,4 @@ const getAntdSerials = (color: string) => {
});
const
colorPalettes
=
generate
(
color
);
return
lightens
.
concat
(
colorPalettes
);
}
}
;
docker/docker-compose.dev.yml
View file @
3d3b5ad4
version
:
"
3.5"
version
:
'
3.5'
services
:
ant-design-pro_dev
:
...
...
@@ -7,7 +7,7 @@ services:
build
:
context
:
../
dockerfile
:
Dockerfile.dev
container_name
:
"
ant-design-pro_dev"
container_name
:
'
ant-design-pro_dev'
volumes
:
-
../src:/usr/src/app/src
-
../config:/usr/src/app/config
...
...
lambda/mock/index.js
View file @
3d3b5ad4
This diff is collapsed.
Click to expand it.
package.json
View file @
3d3b5ad4
...
...
@@ -25,7 +25,7 @@
"lint:prettier"
:
"check-prettier lint"
,
"lint:style"
:
"stylelint --fix
\"
src/**/*.less
\"
--syntax less"
,
"lint:ts"
:
"tslint -p . -c tslint.yml"
,
"prettier"
:
"
check-prettier write
"
,
"prettier"
:
"
prettier -c --write '**/*'
"
,
"site"
:
"npm run fetch:blocks && npm run functions:build && umi build"
,
"start"
:
"umi dev"
,
"start:no-mock"
:
"cross-env MOCK=none umi dev"
,
...
...
@@ -42,8 +42,8 @@
"lint-staged"
:
{
"**/*.less"
:
"stylelint --syntax less"
,
"**/*.{js,jsx}"
:
"npm run lint-staged:js"
,
"**/*.{js,
ts,tsx,md,json,jsx,less
}"
:
[
"
npm run prettier
"
,
"**/*.{js,
jsx,tsx,ts,less,md,json
}"
:
[
"
prettier --write
"
,
"git add"
],
"**/*.{ts,tsx}"
:
"npm run lint-staged:ts"
...
...
src/pages/document.ejs
View file @
3d3b5ad4
...
...
@@ -30,18 +30,16 @@
font-variant
:
tabular-nums
;
line-height
:
1.5
;
list-style
:
none
;
-webkit-font-feature-settings
:
"tnum"
;
font-feature-settings
:
"tnum"
;
-webkit-font-feature-settings
:
'tnum'
;
font-feature-settings
:
'tnum'
;
position
:
absolute
;
display
:
none
;
color
:
#1890ff
;
text-align
:
center
;
vertical-align
:
middle
;
opacity
:
0
;
-webkit-transition
:
-webkit-transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
transition
:
-webkit-transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
-webkit-transition
:
-webkit-transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
transition
:
-webkit-transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
transition
:
transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
transition
:
transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
),
-webkit-transform
0.3s
cubic-bezier
(
0.78
,
0.14
,
0.15
,
0.86
);
...
...
tests/run-tests.js
View file @
3d3b5ad4
...
...
@@ -37,7 +37,7 @@ startServer.stdout.on('data', data => {
[
'
test
'
,
'
--
'
,
'
--maxWorkers=1
'
,
'
--runInBand
'
],
{
stdio
:
'
inherit
'
,
}
}
,
);
testCmd
.
on
(
'
exit
'
,
code
=>
{
startServer
.
kill
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment