Skip to content

Commit 7ed8720

Browse files
authored
sync master (#1)
sync master (#1)
1 parent 1436140 commit 7ed8720

File tree

187 files changed

+64740
-10251
lines changed

Some content is hidden

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

187 files changed

+64740
-10251
lines changed

.all-contributorsrc

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"projectName": "react-query",
3+
"projectOwner": "tannerlinsley",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": false,
11+
"commitConvention": "none",
12+
"contributors": [
13+
{
14+
"login": "tannerlinsley",
15+
"name": "Tanner Linsley",
16+
"avatar_url": "https://avatars0.githubusercontent.com/u/5580297?v=4",
17+
"profile": "https://tannerlinsley.com",
18+
"contributions": [
19+
"code",
20+
"ideas",
21+
"example",
22+
"maintenance",
23+
"review"
24+
]
25+
},
26+
{
27+
"login": "cherniavskii",
28+
"name": "Andrew Cherniavskii",
29+
"avatar_url": "https://avatars2.githubusercontent.com/u/13808724?v=4",
30+
"profile": "http://cherniavskii.com",
31+
"contributions": [
32+
"code",
33+
"bug"
34+
]
35+
},
36+
{
37+
"login": "tibotiber",
38+
"name": "Thibaut Tiberghien",
39+
"avatar_url": "https://avatars3.githubusercontent.com/u/5635553?v=4",
40+
"profile": "http://twitter.com/tibotiber",
41+
"contributions": [
42+
"doc"
43+
]
44+
}
45+
],
46+
"contributorsPerLine": 7,
47+
"skipCi": true
48+
}

.babelrc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,21 @@
44
"@babel/env",
55
{
66
"modules": false,
7+
"loose": true,
78
"exclude": ["@babel/plugin-transform-regenerator"]
89
}
910
],
1011
"@babel/react"
1112
],
12-
"plugins": [
13-
[
14-
"module:fast-async",
15-
{
16-
"compiler": {
17-
"noRuntime": true
18-
}
19-
}
20-
]
21-
],
13+
"plugins": ["babel-plugin-transform-async-to-promises"],
2214
"env": {
2315
"test": {
2416
"presets": [
2517
[
2618
"@babel/env",
2719
{
2820
"modules": "commonjs",
21+
"loose": true,
2922
"exclude": ["@babel/plugin-transform-regenerator"]
3023
}
3124
]

.browserslistrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Browsers we support
2+
> 0.5%
3+
Chrome >= 73
4+
ChromeAndroid >= 75
5+
Firefox >= 67
6+
Edge >= 17
7+
IE 11
8+
Safari >= 12.1
9+
iOS >= 11.3

.github/size-plugin.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Compressed Size
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2-beta
11+
with:
12+
fetch-depth: 1
13+
- uses: preactjs/compressed-size-action@v1
14+
with:
15+
repo-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: react-query tests
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: 'node ${{ matrix.node }} ${{ matrix.os }} '
12+
runs-on: '${{ matrix.os }}'
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
node: [12, 10]
17+
steps:
18+
- uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node }}
21+
- uses: actions/checkout@v2-beta
22+
with:
23+
fetch-depth: 1
24+
- run: npm i -g yarn
25+
- run: yarn --frozen-lockfile
26+
- run: yarn test:ci

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ build
99
dist
1010
artifacts
1111
.rpt2_cache
12+
coverage
1213

1314
# misc
1415
.DS_Store
@@ -22,4 +23,5 @@ artifacts
2223
npm-debug.log*
2324
yarn-debug.log*
2425
yarn-error.log*
25-
.history
26+
.history
27+
size-plugin.json

.size-snapshot.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"titleBar.activeBackground": "#ff4154", // change this color!
4+
"titleBar.inactiveBackground": "#ff4154", // change this color!
5+
"titleBar.activeForeground": "#ffffff", // change this color!
6+
"titleBar.inactiveForeground": "#ffffff" // change this color!
7+
}
8+
}

0 commit comments

Comments
 (0)