Skip to content

Commit 491d7ec

Browse files
committed
Merge branch 'master' into next
2 parents 2e41b88 + e765648 commit 491d7ec

File tree

12 files changed

+41
-10
lines changed

12 files changed

+41
-10
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
name: Deploy examples
8484
command: |
8585
if [ "${CIRCLE_BRANCH}" == "master" ]; then
86-
yarn deploy:examples --token $NOW_API_TOKEN
86+
yarn deploy:examples
8787
fi
8888
no_output_timeout: 30m
8989
chromatic:

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<a href="https://discord.gg/CAYQ6mU">
5555
<img src="https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat" />
5656
</a>
57-
<a href="https://react-async.async-library.now.sh/examples/">
57+
<a href="https://react-async.now.sh/examples/">
5858
<img src="https://badgen.net/badge/live%20examples/available/pink?icon=now" alt="live examples">
5959
</a>
6060
</p>
@@ -192,9 +192,13 @@ All standalone helper components were renamed to avoid import naming collision.
192192
- `<Settled>` was renamed to `<IfSettled>`.
193193

194194
> A [codemod](https://github.com/async-library/react-async/tree/master/codemods) is available to automate the upgrade.
195+
> <<<<<<< HEAD
195196
196197
The return type for `run` was changed from `Promise` to `undefined`. You should now use the `promise` prop instead. This
197198
is a manual upgrade. See [`promise`](#promise-1) for details.
199+
=======
200+
201+
> > > > > > > master
198202
199203
#### Upgrade to v6
200204

examples/basic-fetch/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"not dead",
3636
"not ie <= 11",
3737
"not op_mini all"
38-
]
38+
],
39+
"engines": {
40+
"node": ">=8"
41+
}
3942
}

examples/basic-hook/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"not dead",
3636
"not ie <= 11",
3737
"not op_mini all"
38-
]
38+
],
39+
"engines": {
40+
"node": ">=8"
41+
}
3942
}

examples/custom-instance/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"not dead",
3636
"not ie <= 11",
3737
"not op_mini all"
38-
]
38+
],
39+
"engines": {
40+
"node": ">=8"
41+
}
3942
}

examples/movie-app/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"not dead",
3636
"not ie <= 11",
3737
"not op_mini all"
38-
]
38+
],
39+
"engines": {
40+
"node": ">=8"
41+
}
3942
}

examples/with-abortcontroller/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"not dead",
3636
"not ie <= 11",
3737
"not op_mini all"
38-
]
38+
],
39+
"engines": {
40+
"node": ">=8"
41+
}
3942
}

examples/with-nextjs/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
"relativeDependencies": {
2929
"react-async": "../../packages/react-async/pkg",
3030
"react-async-devtools": "../../packages/react-async-devtools/pkg"
31+
},
32+
"engines": {
33+
"node": ">=8"
3134
}
3235
}

examples/with-react-native/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "with-react-native-example",
33
"version": "8.0.0",
4+
"private": true,
45
"main": "node_modules/expo/AppEntry.js",
56
"scripts": {
67
"postinstall": "relative-deps",
@@ -28,5 +29,7 @@
2829
"relativeDependencies": {
2930
"react-async": "../../packages/react-async/pkg"
3031
},
31-
"private": true
32+
"engines": {
33+
"node": ">=8"
34+
}
3235
}

examples/with-react-router/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",
2828
"react-async-devtools": "../../packages/react-async-devtools/pkg"
29+
},
30+
"engines": {
31+
"node": ">=8"
2932
}
3033
}

examples/with-typescript/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,8 @@
4040
"not dead",
4141
"not ie <= 11",
4242
"not op_mini all"
43-
]
43+
],
44+
"engines": {
45+
"node": ">=8"
46+
}
4447
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build:packages": "lerna run --scope 'react-async*' build",
3131
"build:examples": "lerna run --scope '*-example' build",
3232
"build:storybook": "build-storybook -o docs",
33-
"deploy:examples": "now",
33+
"deploy:examples": "now --prod --scope async-library --token $NOW_API_TOKEN",
3434
"bump": "lerna version -m 'Bump' --no-git-tag-version --no-push",
3535
"postbump": "yarn build:packages"
3636
},

0 commit comments

Comments
 (0)