Skip to content

Commit f480d4c

Browse files
authored
Merge branch 'master' into all-contributors-addition
2 parents 12b676b + 8a6ec24 commit f480d4c

182 files changed

Lines changed: 63036 additions & 10268 deletions

File tree

Some content is hidden

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

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