From de0fa520f78d75be63458ea4929dc838317890f7 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 2 Dec 2019 10:51:50 +0100 Subject: [PATCH 001/117] Use resolutions to determine the correct version for @types/react. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 3c34b138..814809ee 100644 --- a/package.json +++ b/package.json @@ -79,5 +79,8 @@ "react-dom": "16.12.0", "storybook-chromatic": "3.1.0", "typescript": "3.7.2" + }, + "resolutions": { + "@types/react": "16.9.13" } } From 78f7e9eb992d415da83516f23305f69fcbfc4872 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 2 Dec 2019 11:33:33 +0100 Subject: [PATCH 002/117] Drop unnecessary storybook-chromatic import. --- .storybook/config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/.storybook/config.js b/.storybook/config.js index 73808286..a9aa4d72 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -1,6 +1,4 @@ import { configure } from "@storybook/react" -import "storybook-chromatic" - const req = require.context("../stories", true, /\.stories\.js$/) configure(() => req.keys().forEach(filename => req(filename)), module) From 34b7f46e6fa587d9a8780e845f50fc89dfa1a90f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 11:09:53 +0000 Subject: [PATCH 003/117] Update babel monorepo to v7.7.4 --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index bce91fd2..afcbbb37 100644 --- a/package.json +++ b/package.json @@ -36,13 +36,13 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.7.2", - "@babel/plugin-proposal-class-properties": "7.7.0", - "@babel/plugin-proposal-object-rest-spread": "7.6.2", - "@babel/plugin-transform-runtime": "7.6.2", - "@babel/preset-env": "7.7.1", - "@babel/preset-react": "7.7.0", - "@babel/preset-typescript": "7.7.2", + "@babel/core": "7.7.4", + "@babel/plugin-proposal-class-properties": "7.7.4", + "@babel/plugin-proposal-object-rest-spread": "7.7.4", + "@babel/plugin-transform-runtime": "7.7.4", + "@babel/preset-env": "7.7.4", + "@babel/preset-react": "7.7.4", + "@babel/preset-typescript": "7.7.4", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.7.1", "@pika/plugin-build-types": "0.7.1", From 1c3047b1fcb80e384d427fdf76a692788637d6ed Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 12:41:37 +0000 Subject: [PATCH 004/117] Update dependency @pika/plugin-build-node to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index afcbbb37..bb3db5b3 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/preset-react": "7.7.4", "@babel/preset-typescript": "7.7.4", "@pika/pack": "0.5.0", - "@pika/plugin-build-node": "0.7.1", + "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.7.1", "@pika/plugin-build-umd": "0.7.1", "@pika/plugin-build-web": "0.7.1", From b098a1fd4fb6407d8880b8163cf73c7b662af335 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 13:32:52 +0000 Subject: [PATCH 005/117] Update dependency @pika/plugin-build-types to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb3db5b3..41ecccdc 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@babel/preset-typescript": "7.7.4", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.8.1", - "@pika/plugin-build-types": "0.7.1", + "@pika/plugin-build-types": "0.8.1", "@pika/plugin-build-umd": "0.7.1", "@pika/plugin-build-web": "0.7.1", "@pika/plugin-bundle-types": "0.7.1", From e46b48135001416de2ab1b9c20ba8f6420100ce3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 14:23:25 +0000 Subject: [PATCH 006/117] Update dependency @pika/plugin-build-umd to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 41ecccdc..0abf0299 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.8.1", - "@pika/plugin-build-umd": "0.7.1", + "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.7.1", "@pika/plugin-bundle-types": "0.7.1", "@pika/plugin-standard-pkg": "0.7.1", From d0fef8a2a53f143c8122e1e4e58c31a4cef8aaee Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 15:43:31 +0000 Subject: [PATCH 007/117] Update dependency @pika/plugin-build-web to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0abf0299..bb61ec54 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.8.1", "@pika/plugin-build-umd": "0.8.1", - "@pika/plugin-build-web": "0.7.1", + "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.7.1", "@pika/plugin-standard-pkg": "0.7.1", "@pika/plugin-ts-standard-pkg": "0.7.1", From 4b7118f648b2023042356f4ca30741ec7965d67b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Dec 2019 16:51:38 +0000 Subject: [PATCH 008/117] Update dependency @pika/plugin-bundle-types to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb61ec54..7f69f0fc 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@pika/plugin-build-types": "0.8.1", "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", - "@pika/plugin-bundle-types": "0.7.1", + "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.7.1", "@pika/plugin-ts-standard-pkg": "0.7.1", "@storybook/react": "5.2.6", From a9704b7caffa4da94b1b06639341642d690e3ca0 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Tue, 3 Dec 2019 11:00:37 +0100 Subject: [PATCH 009/117] Remove CodeFund ad because it violates GitHub TOS. --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 0426860a..b4e269f9 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,6 @@

React Async
Handle promises with ease. -
-
- - -


From a6d52a859d59f9b1f62bfc83fe9f1bac51a628e8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 10:56:17 +0000 Subject: [PATCH 010/117] Update dependency @storybook/react to v5.2.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f69f0fc..bdb684df 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.7.1", "@pika/plugin-ts-standard-pkg": "0.7.1", - "@storybook/react": "5.2.6", + "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.3.2", "@typescript-eslint/eslint-plugin": "2.8.0", From 65675e72ec3ee654c69c7a0cb76cfb619420409d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 11:34:36 +0000 Subject: [PATCH 011/117] Update dependency @pika/plugin-standard-pkg to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bdb684df..2d270020 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.8.1", - "@pika/plugin-standard-pkg": "0.7.1", + "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.7.1", "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", From 1ad6398976688fa9160d5be3dec3b18341749b00 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 13:26:48 +0000 Subject: [PATCH 012/117] Update dependency @pika/plugin-ts-standard-pkg to v0.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2d270020..785d1d8d 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", - "@pika/plugin-ts-standard-pkg": "0.7.1", + "@pika/plugin-ts-standard-pkg": "0.8.1", "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.3.2", From a8a23c19ed5028722ed082e16612b0065c9a2222 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 15:00:57 +0000 Subject: [PATCH 013/117] Update dependency eslint to v6.7.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 785d1d8d..e7ccc504 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "babel-jest": "24.9.0", "babel-loader": "8.0.6", "copyfiles": "2.1.1", - "eslint": "6.6.0", + "eslint": "6.7.2", "eslint-config-prettier": "6.7.0", "eslint-plugin-jest": "23.0.4", "eslint-plugin-prettier": "3.1.1", From ab5f1311db1af04211f82585b265534307b1ff4e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 17:21:42 +0000 Subject: [PATCH 014/117] Update dependency eslint-plugin-jest to v23.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e7ccc504..9c1262d9 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.1.1", "eslint": "6.7.2", "eslint-config-prettier": "6.7.0", - "eslint-plugin-jest": "23.0.4", + "eslint-plugin-jest": "23.1.1", "eslint-plugin-prettier": "3.1.1", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.16.0", From 6fb8f628a5eb3cf1b201bf5438c516c18b2cc0f6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 18:24:33 +0000 Subject: [PATCH 015/117] Update dependency eslint-plugin-react to v7.17.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c1262d9..d211b66a 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.1.1", "eslint-plugin-prettier": "3.1.1", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.16.0", + "eslint-plugin-react": "7.17.0", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", "lerna": "3.19.0", From 5c04ce2a94d270e2a011ad49153e77c2e8f3a09a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 19:14:56 +0000 Subject: [PATCH 016/117] Update dependency storybook-chromatic to v3.4.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d211b66a..1ddbe6a4 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.12.0", "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", - "storybook-chromatic": "3.1.0", + "storybook-chromatic": "3.4.1", "typescript": "3.7.2" }, "resolutions": { From 50ac70609616e17199e61f603bd03779ba56a342 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Dec 2019 20:55:25 +0000 Subject: [PATCH 017/117] Update typescript-eslint monorepo to v2.10.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1ddbe6a4..792e3e57 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.3.2", - "@typescript-eslint/eslint-plugin": "2.8.0", - "@typescript-eslint/parser": "2.8.0", + "@typescript-eslint/eslint-plugin": "2.10.0", + "@typescript-eslint/parser": "2.10.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 17f2dac63bed348adab6af65272c3dff44ff9837 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 4 Dec 2019 08:29:21 +0000 Subject: [PATCH 018/117] Update dependency typescript to v3.7.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 792e3e57..56aafa65 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", "storybook-chromatic": "3.4.1", - "typescript": "3.7.2" + "typescript": "3.7.3" }, "resolutions": { "@types/react": "16.9.13" From 219cef99061be720d784bef29fa157cafbbe915e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 5 Dec 2019 23:25:38 +0000 Subject: [PATCH 019/117] Update dependency now to v16.6.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 56aafa65..d6af41b5 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.19.0", "node-jq": "1.11.0", - "now": "16.6.0", + "now": "16.6.1", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From 6a99755bb3231faf1dc53dbf1a9cfc0317522771 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 6 Dec 2019 12:56:08 +0000 Subject: [PATCH 020/117] Update dependency now to v16.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d6af41b5..032d0cb2 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.19.0", "node-jq": "1.11.0", - "now": "16.6.1", + "now": "16.6.2", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From 62de2eba6b76534022bce47124b71605185b4f0a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 6 Dec 2019 14:51:01 +0000 Subject: [PATCH 021/117] Update babel monorepo to v7.7.5 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 032d0cb2..614dbda0 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.7.4", + "@babel/core": "7.7.5", "@babel/plugin-proposal-class-properties": "7.7.4", "@babel/plugin-proposal-object-rest-spread": "7.7.4", - "@babel/plugin-transform-runtime": "7.7.4", - "@babel/preset-env": "7.7.4", + "@babel/plugin-transform-runtime": "7.7.5", + "@babel/preset-env": "7.7.5", "@babel/preset-react": "7.7.4", "@babel/preset-typescript": "7.7.4", "@pika/pack": "0.5.0", From c2ce8f5241f8011a5d465d90daa007b9083ffeb8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 7 Dec 2019 23:53:55 +0000 Subject: [PATCH 022/117] Update babel monorepo to v7.7.6 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 614dbda0..f515bd06 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ "@babel/core": "7.7.5", "@babel/plugin-proposal-class-properties": "7.7.4", "@babel/plugin-proposal-object-rest-spread": "7.7.4", - "@babel/plugin-transform-runtime": "7.7.5", - "@babel/preset-env": "7.7.5", + "@babel/plugin-transform-runtime": "7.7.6", + "@babel/preset-env": "7.7.6", "@babel/preset-react": "7.7.4", "@babel/preset-typescript": "7.7.4", "@pika/pack": "0.5.0", From 3aa68f16804b43e6a769b6fcc335f8165fc7631b Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Sun, 8 Dec 2019 21:33:51 +0100 Subject: [PATCH 023/117] Don't run Chromatic on renovate branches, and auto accept changes on master. --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 09c824be..c3da2c0b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,7 +69,14 @@ jobs: - checkout - attach_workspace: at: . - - run: yarn test:chromatic + - run: | + if [[ "${CIRCLE_BRANCH}" == renovate/* ]]; then + echo "Skipping Chromatic" + elif [ "${CIRCLE_BRANCH}" == "master" ]; then + yarn test:chromatic --auto-accept-changes + else + yarn test:chromatic + fi workflows: version: 2 From bb99322c4548c42b986304b8e81c04df16a14202 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 9 Dec 2019 13:52:16 +0000 Subject: [PATCH 024/117] Update dependency now to v16.6.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f515bd06..f5c65b92 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.19.0", "node-jq": "1.11.0", - "now": "16.6.2", + "now": "16.6.3", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From dbb1b91e618befa4d9e2af889d194f5691b13a8d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 9 Dec 2019 18:13:13 +0000 Subject: [PATCH 025/117] Update typescript-eslint monorepo to v2.11.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f5c65b92..bda38a7f 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.3.2", - "@typescript-eslint/eslint-plugin": "2.10.0", - "@typescript-eslint/parser": "2.10.0", + "@typescript-eslint/eslint-plugin": "2.11.0", + "@typescript-eslint/parser": "2.11.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 39a9759e15d38ab32c1d8b2b56d5dc2e158dd759 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 11 Dec 2019 05:56:53 +0000 Subject: [PATCH 026/117] Update dependency @testing-library/react to v9.3.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bda38a7f..726bd4ba 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@pika/plugin-ts-standard-pkg": "0.8.1", "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", - "@testing-library/react": "9.3.2", + "@testing-library/react": "9.3.3", "@typescript-eslint/eslint-plugin": "2.11.0", "@typescript-eslint/parser": "2.11.0", "babel-eslint": "10.0.3", From edba33c352f3fdb0705d69e57acc2bc4919e434d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 13 Dec 2019 15:41:47 +0000 Subject: [PATCH 027/117] Update dependency @testing-library/react to v9.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 726bd4ba..961cb5fc 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@pika/plugin-ts-standard-pkg": "0.8.1", "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", - "@testing-library/react": "9.3.3", + "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.11.0", "@typescript-eslint/parser": "2.11.0", "babel-eslint": "10.0.3", From d0a6a2164f7836eab0182dde848b5467a4bb5726 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 14 Dec 2019 13:07:27 +0000 Subject: [PATCH 028/117] Update dependency now to v16.7.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 961cb5fc..acc6a54f 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.19.0", "node-jq": "1.11.0", - "now": "16.6.3", + "now": "16.7.0", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From fb9f0096356b3b3743e884358ce3982747cbb66e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 15 Dec 2019 04:08:53 +0000 Subject: [PATCH 029/117] Update dependency eslint-plugin-prettier to v3.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index acc6a54f..2a1be53d 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint": "6.7.2", "eslint-config-prettier": "6.7.0", "eslint-plugin-jest": "23.1.1", - "eslint-plugin-prettier": "3.1.1", + "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", "eslint-plugin-react-hooks": "2.3.0", From 7697e0035ad6324d338b145faaa04a6c6db8fc1b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 Dec 2019 18:08:35 +0000 Subject: [PATCH 030/117] Update typescript-eslint monorepo to v2.12.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2a1be53d..91ba035d 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.11.0", - "@typescript-eslint/parser": "2.11.0", + "@typescript-eslint/eslint-plugin": "2.12.0", + "@typescript-eslint/parser": "2.12.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From a0247991b16129309f1fd1799b1280c9a538056d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 19 Dec 2019 01:07:25 +0000 Subject: [PATCH 031/117] Update babel monorepo to v7.7.7 --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 91ba035d..e04e17fb 100644 --- a/package.json +++ b/package.json @@ -36,13 +36,13 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.7.5", + "@babel/core": "7.7.7", "@babel/plugin-proposal-class-properties": "7.7.4", - "@babel/plugin-proposal-object-rest-spread": "7.7.4", + "@babel/plugin-proposal-object-rest-spread": "7.7.7", "@babel/plugin-transform-runtime": "7.7.6", - "@babel/preset-env": "7.7.6", + "@babel/preset-env": "7.7.7", "@babel/preset-react": "7.7.4", - "@babel/preset-typescript": "7.7.4", + "@babel/preset-typescript": "7.7.7", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.8.1", From e109e862a42b432311b1d6885d36aa7199cb5802 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 20 Dec 2019 21:36:57 +0000 Subject: [PATCH 032/117] Update dependency eslint to v6.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e04e17fb..8e39533c 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "babel-jest": "24.9.0", "babel-loader": "8.0.6", "copyfiles": "2.1.1", - "eslint": "6.7.2", + "eslint": "6.8.0", "eslint-config-prettier": "6.7.0", "eslint-plugin-jest": "23.1.1", "eslint-plugin-prettier": "3.1.2", From 46a5f9cdd7f6d1d7f2fb60addfe3e8dec45df047 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 20 Dec 2019 23:26:06 +0000 Subject: [PATCH 033/117] Update dependency typescript to v3.7.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e39533c..6b0dbe3b 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", "storybook-chromatic": "3.4.1", - "typescript": "3.7.3" + "typescript": "3.7.4" }, "resolutions": { "@types/react": "16.9.13" From e35ce87abe748f580bbd3e927cc7b20a86d24ba9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 23 Dec 2019 18:09:44 +0000 Subject: [PATCH 034/117] Update typescript-eslint monorepo to v2.13.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6b0dbe3b..d564aae8 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.12.0", - "@typescript-eslint/parser": "2.12.0", + "@typescript-eslint/eslint-plugin": "2.13.0", + "@typescript-eslint/parser": "2.13.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 25cb2f703394cacbc990f2cc223238ec884dd425 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 25 Dec 2019 10:08:58 +0000 Subject: [PATCH 035/117] Update dependency eslint-config-prettier to v6.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d564aae8..cf535020 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "babel-loader": "8.0.6", "copyfiles": "2.1.1", "eslint": "6.8.0", - "eslint-config-prettier": "6.7.0", + "eslint-config-prettier": "6.8.0", "eslint-plugin-jest": "23.1.1", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", From 6b248b9f141db81e3e766d6bdeeeba8273d87270 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 27 Dec 2019 12:08:26 +0000 Subject: [PATCH 036/117] Update dependency eslint-config-prettier to v6.9.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf535020..0d281a35 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "babel-loader": "8.0.6", "copyfiles": "2.1.1", "eslint": "6.8.0", - "eslint-config-prettier": "6.8.0", + "eslint-config-prettier": "6.9.0", "eslint-plugin-jest": "23.1.1", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", From 8cdd2770af7177ee40e7cc915252bc0f4e14431b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 27 Dec 2019 21:11:40 +0000 Subject: [PATCH 037/117] Update dependency lerna to v3.20.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0d281a35..be54dd32 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint-plugin-react": "7.17.0", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", - "lerna": "3.19.0", + "lerna": "3.20.0", "node-jq": "1.11.0", "now": "16.7.0", "npm-run-all": "4.1.5", From c6bc739e23d2e6e78c9c05b6ffc47c477fad8767 Mon Sep 17 00:00:00 2001 From: Neale Upstone Date: Fri, 27 Dec 2019 21:14:18 +0000 Subject: [PATCH 038/117] Export AsyncConstructor So that Typescript can generate type declarations fixes #233 --- packages/react-async/src/Async.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-async/src/Async.tsx b/packages/react-async/src/Async.tsx index 340822c6..104fa50d 100644 --- a/packages/react-async/src/Async.tsx +++ b/packages/react-async/src/Async.tsx @@ -54,7 +54,7 @@ type GenericAsync = typeof Async & { Settled(props: SettledProps): JSX.Element } -type AsyncConstructor = React.ComponentClass> & { +export type AsyncConstructor = React.ComponentClass> & { Initial: React.FC> Pending: React.FC> Loading: React.FC> From 0033662125e661642edb7035bb057e564a6ac2ac Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Dec 2019 23:21:19 +0000 Subject: [PATCH 039/117] Update dependency eslint-plugin-jest to v23.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be54dd32..e63f5549 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.1.1", "eslint": "6.8.0", "eslint-config-prettier": "6.9.0", - "eslint-plugin-jest": "23.1.1", + "eslint-plugin-jest": "23.2.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", From 53492201f72824e3aa43164e676319d14c2668d1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 29 Dec 2019 22:15:16 +0000 Subject: [PATCH 040/117] Update dependency lerna to v3.20.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e63f5549..f623c310 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint-plugin-react": "7.17.0", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", - "lerna": "3.20.0", + "lerna": "3.20.1", "node-jq": "1.11.0", "now": "16.7.0", "npm-run-all": "4.1.5", From 1351fd01b613fb6fea31f352f4182b4d17a286a0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 30 Dec 2019 18:11:05 +0000 Subject: [PATCH 041/117] Update typescript-eslint monorepo to v2.14.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f623c310..180a6c56 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.13.0", - "@typescript-eslint/parser": "2.13.0", + "@typescript-eslint/eslint-plugin": "2.14.0", + "@typescript-eslint/parser": "2.14.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From a8ea2310646a5d0cabedcc0ba9542ab5703ea8ca Mon Sep 17 00:00:00 2001 From: Neale Upstone Date: Tue, 31 Dec 2019 15:55:40 +0000 Subject: [PATCH 042/117] Export Props interfaces to allow exported declarations Otherwise we get: TS4023: Exported variable 'MyAsync' has or is using name 'PendingProps' from external module "/node_modules/react-async/dist-types/index" but cannot be named. --- packages/react-async/src/Async.tsx | 10 +++++----- packages/react-async/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react-async/src/Async.tsx b/packages/react-async/src/Async.tsx index 104fa50d..5d0559e7 100644 --- a/packages/react-async/src/Async.tsx +++ b/packages/react-async/src/Async.tsx @@ -22,23 +22,23 @@ import { ReducerAsyncState, } from "./types" -interface InitialProps { +export interface InitialProps { children?: InitialChildren persist?: boolean } -interface PendingProps { +export interface PendingProps { children?: PendingChildren initial?: boolean } -interface FulfilledProps { +export interface FulfilledProps { children?: FulfilledChildren persist?: boolean } -interface RejectedProps { +export interface RejectedProps { children?: RejectedChildren persist?: boolean } -interface SettledProps { +export interface SettledProps { children?: SettledChildren persist?: boolean } diff --git a/packages/react-async/src/index.ts b/packages/react-async/src/index.ts index e35a81b0..51d46e87 100644 --- a/packages/react-async/src/index.ts +++ b/packages/react-async/src/index.ts @@ -1,5 +1,5 @@ import Async from "./Async" -export { default as Async, createInstance } from "./Async" +export { default as Async, createInstance, AsyncConstructor, FulfilledProps, InitialProps, PendingProps, RejectedProps, SettledProps } from "./Async" export * from "./types" export { default as useAsync, useFetch, FetchOptions, FetchError } from "./useAsync" export default Async From 5ffaab296ae5e9a6276b30a3d3ae0fc5601ad2fe Mon Sep 17 00:00:00 2001 From: Neale Upstone Date: Tue, 31 Dec 2019 17:42:10 +0000 Subject: [PATCH 043/117] Fix prettier complaining about long export --- packages/react-async/src/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/react-async/src/index.ts b/packages/react-async/src/index.ts index 51d46e87..1d38c448 100644 --- a/packages/react-async/src/index.ts +++ b/packages/react-async/src/index.ts @@ -1,5 +1,14 @@ import Async from "./Async" -export { default as Async, createInstance, AsyncConstructor, FulfilledProps, InitialProps, PendingProps, RejectedProps, SettledProps } from "./Async" +export { + default as Async, + createInstance, + AsyncConstructor, + FulfilledProps, + InitialProps, + PendingProps, + RejectedProps, + SettledProps, +} from "./Async" export * from "./types" export { default as useAsync, useFetch, FetchOptions, FetchError } from "./useAsync" export default Async From 25ec03d9535516b9c0cc5c2abe03b3cd92520229 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2019 22:40:03 +0000 Subject: [PATCH 044/117] docs: update README.md [skip ci] --- README.md | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index b4e269f9..0e6d8261 100644 --- a/README.md +++ b/README.md @@ -111,42 +111,46 @@ Use it with `fetch`, Axios or other data fetching libraries, even GraphQL. Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - + + + +
Gert Hengeveld
Gert Hengeveld

💻 👀 💬
Khartir
Khartir

💻 📦
Lenz Weber
Lenz Weber

💻 📦 🤔
Avinash
Avinash

👀 📖
Fred K. Schott
Fred K. Schott

🔧
Cedric van Putten
Cedric van Putten

💻
Tom Shane
Tom Shane

👀

Gert Hengeveld

💻 👀 💬

Khartir

💻 📦

Lenz Weber

💻 📦 🤔

Avinash

👀 📖

Fred K. Schott

🔧

Cedric van Putten

💻

Tom Shane

👀
Philip Peterson
Philip Peterson

💻
Sibelius Seraphini
Sibelius Seraphini

👀
Jim Cummins
Jim Cummins

👀
Mihkel Sokk
Mihkel Sokk

👀
Jiří Brabec
Jiří Brabec

💻
Andrii U
Andrii U

💡
Matthisk Heimensen
Matthisk Heimensen

💻

Philip Peterson

💻

Sibelius Seraphini

👀

Jim Cummins

👀

Mihkel Sokk

👀

Jiří Brabec

💻

Andrii U

💡

Matthisk Heimensen

💻
Danny Hurlburt
Danny Hurlburt

🤔 📖
Noel Yoo
Noel Yoo

⚠️ 💻 🤔
Adam Ratcliffe
Adam Ratcliffe

💻
Kent C. Dodds
Kent C. Dodds

💻
walter-ind
walter-ind

📖
Jacob Lee
Jacob Lee

💻
Youngrok Kim
Youngrok Kim

💻

Danny Hurlburt

🤔 📖

Noel Yoo

⚠️ 💻 🤔

Adam Ratcliffe

💻

Kent C. Dodds

💻

walter-ind

📖

Jacob Lee

💻

Youngrok Kim

💻
Munir Ahmed Elsangedy
Munir Ahmed Elsangedy

🤔
AlixWang
AlixWang

📖
Sal Olivares
Sal Olivares

💻 🐛

Munir Ahmed Elsangedy

🤔

AlixWang

📖

Sal Olivares

💻 🐛

Neale Upstone

💻
+ + This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! From c17f4e07d3b82acec23abb2ed843438376dbc8c2 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2019 22:40:05 +0000 Subject: [PATCH 045/117] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 734929b8..57d04e78 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -231,11 +231,21 @@ "code", "bug" ] + }, + { + "login": "nealeu", + "name": "Neale Upstone", + "avatar_url": "https://avatars1.githubusercontent.com/u/264594?v=4", + "profile": "https://github.com/nealeu", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, "projectName": "react-async", "projectOwner": "async-library", "repoType": "github", - "repoHost": "https://github.com" + "repoHost": "https://github.com", + "skipCi": true } From 886d52df398a0a4206ba8f24cbb52ee67a103335 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 2 Jan 2020 18:28:22 +0000 Subject: [PATCH 046/117] chore(deps): update dependency lerna to v3.20.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 180a6c56..5b37fdfb 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint-plugin-react": "7.17.0", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", - "lerna": "3.20.1", + "lerna": "3.20.2", "node-jq": "1.11.0", "now": "16.7.0", "npm-run-all": "4.1.5", From 44c3ceebbb9a91bc00e628c9ea8d2878371e7e79 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 3 Jan 2020 17:48:22 +0000 Subject: [PATCH 047/117] chore(deps): update dependency now to v16.7.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b37fdfb..8561003d 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", - "now": "16.7.0", + "now": "16.7.1", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From ad1e3d0ce9b93e7cdebe9221a850268741013a15 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 4 Jan 2020 07:58:16 +0000 Subject: [PATCH 048/117] chore(deps): update dependency eslint-plugin-jest to v23.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8561003d..642ad48a 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.1.1", "eslint": "6.8.0", "eslint-config-prettier": "6.9.0", - "eslint-plugin-jest": "23.2.0", + "eslint-plugin-jest": "23.3.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", From 171eb386021a0d13cc244b3f4db684456b4c4ce9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 6 Jan 2020 18:12:16 +0000 Subject: [PATCH 049/117] chore(deps): update typescript-eslint monorepo to v2.15.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 642ad48a..e5c7e4c8 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.14.0", - "@typescript-eslint/parser": "2.14.0", + "@typescript-eslint/eslint-plugin": "2.15.0", + "@typescript-eslint/parser": "2.15.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 1a72f21a9e427517b089e5c8b7c1f1f8e337a44d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 8 Jan 2020 13:30:13 +0000 Subject: [PATCH 050/117] chore(deps): update dependency now to v16.7.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e5c7e4c8..2d129b6a 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", - "now": "16.7.1", + "now": "16.7.2", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From 8915b510cc53cea8a58017f2f572ce933949475b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 9 Jan 2020 16:20:36 +0000 Subject: [PATCH 051/117] chore(deps): update dependency now to v16.7.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2d129b6a..80699cc5 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", - "now": "16.7.2", + "now": "16.7.3", "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", From a56a295359d1aae5111246d71818b7c7f6284d79 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 10 Jan 2020 10:22:40 +0000 Subject: [PATCH 052/117] chore(deps): update dependency eslint-plugin-jest to v23.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80699cc5..26ed45af 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.1.1", "eslint": "6.8.0", "eslint-config-prettier": "6.9.0", - "eslint-plugin-jest": "23.3.0", + "eslint-plugin-jest": "23.4.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", From 288da36b79d4942db17aa495ca8047fa65e1d82b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 11 Jan 2020 09:44:01 +0000 Subject: [PATCH 053/117] chore(deps): update dependency @storybook/react to v5.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 26ed45af..8e533188 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.2.8", + "@storybook/react": "5.3.0", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.15.0", From 4413ee786ab9f8058c81723bd13c24d53af76429 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2020 11:37:46 +0000 Subject: [PATCH 054/117] chore(deps): update dependency eslint-plugin-jest to v23.6.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e533188..11d5965c 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.1.1", "eslint": "6.8.0", "eslint-config-prettier": "6.9.0", - "eslint-plugin-jest": "23.4.0", + "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", From fa8154b1c39016f3aa5ddd5c81fa73b79a2334c4 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2020 13:25:22 +0000 Subject: [PATCH 055/117] chore(deps): update babel monorepo to v7.8.0 --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 11d5965c..8dcf4208 100644 --- a/package.json +++ b/package.json @@ -36,13 +36,13 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.7.7", - "@babel/plugin-proposal-class-properties": "7.7.4", - "@babel/plugin-proposal-object-rest-spread": "7.7.7", - "@babel/plugin-transform-runtime": "7.7.6", - "@babel/preset-env": "7.7.7", - "@babel/preset-react": "7.7.4", - "@babel/preset-typescript": "7.7.7", + "@babel/core": "7.8.0", + "@babel/plugin-proposal-class-properties": "7.8.0", + "@babel/plugin-proposal-object-rest-spread": "7.8.0", + "@babel/plugin-transform-runtime": "7.8.0", + "@babel/preset-env": "7.8.0", + "@babel/preset-react": "7.8.0", + "@babel/preset-typescript": "7.8.0", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.8.1", From 8b54b09df3c843ca5c56e1cab932329c5121837e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2020 15:46:03 +0000 Subject: [PATCH 056/117] chore(deps): update dependency @storybook/react to v5.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8dcf4208..1f1b2bf8 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.0", + "@storybook/react": "5.3.1", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.15.0", From ac8ca53491d8bb46c7bb0931b727e9e23cba52ef Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 12 Jan 2020 22:59:48 +0000 Subject: [PATCH 057/117] chore(deps): update dependency @babel/preset-env to v7.8.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f1b2bf8..18128c77 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@babel/plugin-proposal-class-properties": "7.8.0", "@babel/plugin-proposal-object-rest-spread": "7.8.0", "@babel/plugin-transform-runtime": "7.8.0", - "@babel/preset-env": "7.8.0", + "@babel/preset-env": "7.8.2", "@babel/preset-react": "7.8.0", "@babel/preset-typescript": "7.8.0", "@pika/pack": "0.5.0", From f3a2fd7a27a9e146b5e6a3fac9914b45afc37b27 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 13 Jan 2020 15:47:51 +0000 Subject: [PATCH 058/117] chore(deps): update dependency @storybook/react to v5.3.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 18128c77..5e4dbed5 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.1", + "@storybook/react": "5.3.2", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.15.0", From dcb5d07d01a2106c2a82b2de811314083f4bd9a1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 13 Jan 2020 18:25:48 +0000 Subject: [PATCH 059/117] chore(deps): update typescript-eslint monorepo to v2.16.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5e4dbed5..98f63ea3 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.2", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.15.0", - "@typescript-eslint/parser": "2.15.0", + "@typescript-eslint/eslint-plugin": "2.16.0", + "@typescript-eslint/parser": "2.16.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 6e3eda3a91b4bae9b18af2b626646ffbaf2fb3b2 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 13 Jan 2020 21:56:05 +0000 Subject: [PATCH 060/117] chore(deps): update babel monorepo to v7.8.3 --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 98f63ea3..4cbf5f9e 100644 --- a/package.json +++ b/package.json @@ -36,13 +36,13 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.8.0", - "@babel/plugin-proposal-class-properties": "7.8.0", - "@babel/plugin-proposal-object-rest-spread": "7.8.0", - "@babel/plugin-transform-runtime": "7.8.0", - "@babel/preset-env": "7.8.2", - "@babel/preset-react": "7.8.0", - "@babel/preset-typescript": "7.8.0", + "@babel/core": "7.8.3", + "@babel/plugin-proposal-class-properties": "7.8.3", + "@babel/plugin-proposal-object-rest-spread": "7.8.3", + "@babel/plugin-transform-runtime": "7.8.3", + "@babel/preset-env": "7.8.3", + "@babel/preset-react": "7.8.3", + "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.8.1", "@pika/plugin-build-types": "0.8.1", From 91341e829581c890aa670bf62fd0b70c7758c990 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 14 Jan 2020 10:04:43 +0000 Subject: [PATCH 061/117] chore(deps): update dependency @storybook/react to v5.3.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4cbf5f9e..b18e12f7 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.2", + "@storybook/react": "5.3.3", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.16.0", From 0b148570afb84cd7a81d6bdf693a8068fcaf2fa2 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Jan 2020 06:32:45 +0000 Subject: [PATCH 062/117] chore(deps): update dependency @storybook/react to v5.3.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b18e12f7..876e8ca3 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.3", + "@storybook/react": "5.3.4", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.16.0", From 5608c89ebb16a1b3bdd44753df8338af2d2b15a1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Jan 2020 09:57:16 +0000 Subject: [PATCH 063/117] chore(deps): update dependency eslint-plugin-react to v7.18.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 876e8ca3..7f1e0ce6 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.17.0", + "eslint-plugin-react": "7.18.0", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", "lerna": "3.20.2", From 3e09af540688728461fd78e90902380e105ea167 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Jan 2020 19:38:59 +0000 Subject: [PATCH 064/117] chore(deps): update dependency @storybook/react to v5.3.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f1e0ce6..464b99bf 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.4", + "@storybook/react": "5.3.5", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.16.0", From c395286bfb5561e602bc31fc793e4517c7bd9565 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Jan 2020 21:27:06 +0000 Subject: [PATCH 065/117] chore(deps): update dependency typescript to v3.7.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 464b99bf..d014a693 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", "storybook-chromatic": "3.4.1", - "typescript": "3.7.4" + "typescript": "3.7.5" }, "resolutions": { "@types/react": "16.9.13" From 5dd274282220004b0f717d2f891a60d8cb49b821 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 17 Jan 2020 08:20:36 +0000 Subject: [PATCH 066/117] chore(deps): update dependency @storybook/react to v5.3.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d014a693..5dca38b8 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.5", + "@storybook/react": "5.3.6", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.16.0", From 2664df0d5d3d5aa58eaa46de5833b213adff496e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 17 Jan 2020 17:13:09 +0000 Subject: [PATCH 067/117] chore(deps): update dependency copyfiles to v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5dca38b8..43548edf 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", - "copyfiles": "2.1.1", + "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.9.0", "eslint-plugin-jest": "23.6.0", From acd0324674f617ee69cdb211136ecb1006e141f0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 20 Jan 2020 07:05:56 +0000 Subject: [PATCH 068/117] chore(deps): update dependency @storybook/react to v5.3.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 43548edf..2220ef87 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.6", + "@storybook/react": "5.3.7", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.16.0", From 2fe1200475da3f9c65f27aafcba2c80c2ef4449e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 20 Jan 2020 18:11:32 +0000 Subject: [PATCH 069/117] chore(deps): update typescript-eslint monorepo to v2.17.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2220ef87..d4722d4e 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.7", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.16.0", - "@typescript-eslint/parser": "2.16.0", + "@typescript-eslint/eslint-plugin": "2.17.0", + "@typescript-eslint/parser": "2.17.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 533eedac24ffab11b86b8c6df535067bc1a684ae Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 21 Jan 2020 17:00:35 +0000 Subject: [PATCH 070/117] chore(deps): update dependency @storybook/react to v5.3.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d4722d4e..71698586 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.7", + "@storybook/react": "5.3.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.17.0", From cf698c11be3198bada005c0946daab2465e67d8c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 24 Jan 2020 14:20:14 +0000 Subject: [PATCH 071/117] chore(deps): update dependency @storybook/react to v5.3.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 71698586..cc937234 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.8", + "@storybook/react": "5.3.9", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.17.0", From eb2a19a68d310de9bc47b60726483b5f167d0ec1 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 27 Jan 2020 14:40:58 +0100 Subject: [PATCH 072/117] Revert "chore(deps): update dependency @storybook/react to v5.3.0" This reverts commit 288da36b79d4942db17aa495ca8047fa65e1d82b. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc937234..acb22a28 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.9", + "@storybook/react": "5.2.8", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.17.0", From cfac73a92428b6466e7c08ec4310226f553561ef Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 27 Jan 2020 13:53:54 +0000 Subject: [PATCH 073/117] chore(deps): update dependency @storybook/react to v5.3.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index acb22a28..cc937234 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.2.8", + "@storybook/react": "5.3.9", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.17.0", From 34ad998bcdc1b071e27dc6bb194008dc4b28f502 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 27 Jan 2020 18:16:46 +0000 Subject: [PATCH 074/117] chore(deps): update typescript-eslint monorepo to v2.18.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cc937234..bbbe53b7 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.9", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.17.0", - "@typescript-eslint/parser": "2.17.0", + "@typescript-eslint/eslint-plugin": "2.18.0", + "@typescript-eslint/parser": "2.18.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From b4b80bc72e66a5838b6d6176f4c15c211bccc1c6 Mon Sep 17 00:00:00 2001 From: Martin Barksten Date: Tue, 28 Jan 2020 08:46:51 +0100 Subject: [PATCH 075/117] Document how to build for older browsers Document how to transpile your node_modules with babel to be able to target older browsers. --- docs/getting-started/installation.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 1f87cdcb..3393eef8 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -14,3 +14,29 @@ yarn add react-async > This package requires `react` as a peer dependency. Please make sure to install that as well. If you want to use the > `useAsync` hook, you'll need `react@16.8.0` or later. + +## Targeting older browsers + +If you are targeting older browsers you need to transpile `react-async` with babel. + +To transpile `node_modules` with babel you need to use a `babel.config.js`, for more information see [babel's documentation](https://babeljs.io/docs/en/configuration#whats-your-use-case). + +In your `webpack.config.js` make sure that the rule for `babel-loader`: + * doesn't exclude `node_modules` from matching via the `exclude` pattern; + * excludes `core-js` as it shouldn't be transpiled; + * is passed the `configFile` option pointing to the `babel.config.js` file. + +``` +{ + test: /\.(js|jsx)$/, + exclude: /\/node_modules\/core-js\//, + use: [{ + loader: 'babel-loader', + options: { + configFile: './babel.config.js', + // This is recommended to enable when transpiling node_modules to improve build times for consecutive builds. + cacheDirectory: true, + } + }] +} +``` From 2cf96e21f3eac44a83504646c5af5058437e190b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 28 Jan 2020 07:50:19 +0000 Subject: [PATCH 076/117] chore(deps): update dependency eslint-config-prettier to v6.10.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bbbe53b7..eddb0be6 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "babel-loader": "8.0.6", "copyfiles": "2.2.0", "eslint": "6.8.0", - "eslint-config-prettier": "6.9.0", + "eslint-config-prettier": "6.10.0", "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", From a5e5fad51c7f5dfa5e28702a07555d8f18ce8ecc Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2020 10:56:42 +0000 Subject: [PATCH 077/117] docs: update README.md [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0e6d8261..14982cbb 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
AlixWang

📖
Sal Olivares

💻 🐛
Neale Upstone

💻 +
Martin Barksten

📖 From e561ca9431e0c410aef7b1cf0448a78244153540 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2020 10:56:43 +0000 Subject: [PATCH 078/117] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 57d04e78..efd55eaa 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -240,6 +240,15 @@ "contributions": [ "code" ] + }, + { + "login": "mbark", + "name": "Martin Barksten", + "avatar_url": "https://avatars1.githubusercontent.com/u/1579384?v=4", + "profile": "https://github.com/mbark", + "contributions": [ + "doc" + ] } ], "contributorsPerLine": 7, From b798064e88c0ac54c3562af856874f9fd47efc1d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 28 Jan 2020 12:37:47 +0000 Subject: [PATCH 079/117] chore(deps): update dependency storybook-chromatic to v3.5.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eddb0be6..fbbb768e 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.12.0", "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", - "storybook-chromatic": "3.4.1", + "storybook-chromatic": "3.5.0", "typescript": "3.7.5" }, "resolutions": { From 338ecf3942da4d339dfc5f41e7712fee2d9c409f Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 29 Jan 2020 11:56:48 +0100 Subject: [PATCH 080/117] Update installation.md --- docs/getting-started/installation.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 3393eef8..bc756dac 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -15,16 +15,17 @@ yarn add react-async > This package requires `react` as a peer dependency. Please make sure to install that as well. If you want to use the > `useAsync` hook, you'll need `react@16.8.0` or later. -## Targeting older browsers +## Transpiling for legacy browsers -If you are targeting older browsers you need to transpile `react-async` with babel. +This project targets the latest ECMAScript version. Our packages on npm do not contain ES5 code for legacy browsers. If you need to target a browser which does not support the latest version of ECMAScript, you'll have to handle transpilation yourself. Usually this will automatically be handled by the framework you use (CRA, Next.js, Gatsby), but sometimes you may need to tweak your Webpack settings to transpile `react-async` with Babel. -To transpile `node_modules` with babel you need to use a `babel.config.js`, for more information see [babel's documentation](https://babeljs.io/docs/en/configuration#whats-your-use-case). +To transpile `node_modules` with Babel you need to use a `babel.config.js`, for more information see [Babel's documentation](https://babeljs.io/docs/en/configuration#whats-your-use-case). In your `webpack.config.js` make sure that the rule for `babel-loader`: - * doesn't exclude `node_modules` from matching via the `exclude` pattern; - * excludes `core-js` as it shouldn't be transpiled; - * is passed the `configFile` option pointing to the `babel.config.js` file. + +- doesn't exclude `node_modules` from matching via the `exclude` pattern; +- excludes `core-js` as it shouldn't be transpiled; +- is passed the `configFile` option pointing to the `babel.config.js` file. ``` { @@ -34,7 +35,7 @@ In your `webpack.config.js` make sure that the rule for `babel-loader`: loader: 'babel-loader', options: { configFile: './babel.config.js', - // This is recommended to enable when transpiling node_modules to improve build times for consecutive builds. + // Caching is recommended when transpiling node_modules to speed up consecutive builds cacheDirectory: true, } }] From 464f83c6a29342a0427f673fd341c6916516373b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 30 Jan 2020 12:54:09 +0000 Subject: [PATCH 081/117] chore(deps): update babel monorepo to v7.8.4 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fbbb768e..a505dd95 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.8.3", + "@babel/core": "7.8.4", "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/plugin-proposal-object-rest-spread": "7.8.3", "@babel/plugin-transform-runtime": "7.8.3", - "@babel/preset-env": "7.8.3", + "@babel/preset-env": "7.8.4", "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", From 1224c51aba76136c98ecd0dfde5bd32f42b713f4 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 1 Feb 2020 22:18:28 +0000 Subject: [PATCH 082/117] chore(deps): update dependency eslint-plugin-react to v7.18.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a505dd95..48d5db9c 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.18.0", + "eslint-plugin-react": "7.18.1", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", "lerna": "3.20.2", From c689b9eba7104ad72a545e5455e93b4ecdcf2455 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 2 Feb 2020 03:54:02 +0000 Subject: [PATCH 083/117] chore(deps): update dependency eslint-plugin-react to v7.18.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 48d5db9c..073cd9ad 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.18.1", + "eslint-plugin-react": "7.18.2", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", "lerna": "3.20.2", From 2e2b709cf93741a2f97f146e038de48f43c3ac10 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 3 Feb 2020 05:13:42 +0000 Subject: [PATCH 084/117] chore(deps): update dependency eslint-plugin-react to v7.18.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 073cd9ad..383237b1 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-plugin-jest": "23.6.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.18.2", + "eslint-plugin-react": "7.18.3", "eslint-plugin-react-hooks": "2.3.0", "jest": "24.9.0", "lerna": "3.20.2", From 36057579e17e747938d71a9f6ab56134a40e6aac Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 3 Feb 2020 07:35:29 +0000 Subject: [PATCH 085/117] chore(deps): update dependency @storybook/react to v5.3.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 383237b1..4b6d8317 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.9", + "@storybook/react": "5.3.10", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.18.0", From a0c0c1ee6e7e33559a7ecc3775ada50a58434d3d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 3 Feb 2020 18:07:43 +0000 Subject: [PATCH 086/117] chore(deps): update typescript-eslint monorepo to v2.19.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4b6d8317..66cc32a0 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.10", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.18.0", - "@typescript-eslint/parser": "2.18.0", + "@typescript-eslint/eslint-plugin": "2.19.0", + "@typescript-eslint/parser": "2.19.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From c5e00996aa8d0924528fd9f88c0b52b98ff19cd7 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 4 Feb 2020 16:05:58 +0000 Subject: [PATCH 087/117] chore(deps): update dependency @storybook/react to v5.3.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 66cc32a0..c7e7cd6d 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.10", + "@storybook/react": "5.3.11", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.19.0", From 1bb6af0d6d6317b70e742d2fd76cbda9e080c472 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 4 Feb 2020 23:28:45 +0000 Subject: [PATCH 088/117] chore(deps): update dependency @storybook/react to v5.3.12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c7e7cd6d..5aa36760 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.11", + "@storybook/react": "5.3.12", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.19.0", From c4e5e0c62eee07f85c561bb36ce476398c797dba Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 5 Feb 2020 14:09:31 +0000 Subject: [PATCH 089/117] chore(deps): update dependency storybook-chromatic to v3.5.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5aa36760..26f9bca9 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.12.0", "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", - "storybook-chromatic": "3.5.0", + "storybook-chromatic": "3.5.1", "typescript": "3.7.5" }, "resolutions": { From eccee9f6c89f0166eb525b5eceab63af6b8520e1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 7 Feb 2020 21:12:51 +0000 Subject: [PATCH 090/117] chore(deps): update dependency eslint-plugin-jest to v23.7.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 26f9bca9..4c1bdad8 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", - "eslint-plugin-jest": "23.6.0", + "eslint-plugin-jest": "23.7.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", From 800f6f9c0fb53c9885c0f0e56e281ffed22b9e05 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 10 Feb 2020 21:19:40 +0000 Subject: [PATCH 091/117] chore(deps): update typescript-eslint monorepo to v2.19.2 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4c1bdad8..fb067c40 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.12", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.19.0", - "@typescript-eslint/parser": "2.19.0", + "@typescript-eslint/eslint-plugin": "2.19.2", + "@typescript-eslint/parser": "2.19.2", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From 040f9c6ecd41c5e228b66faf13a1846835c52118 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 12 Feb 2020 03:53:18 +0000 Subject: [PATCH 092/117] chore(deps): update dependency @storybook/react to v5.3.13 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fb067c40..929746b4 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", - "@storybook/react": "5.3.12", + "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", "@typescript-eslint/eslint-plugin": "2.19.2", From 5164bc83f996cc8def297d7f5cbfa29a42ee896c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 13 Feb 2020 17:35:20 +0000 Subject: [PATCH 093/117] chore(deps): update dependency @pika/plugin-build-node to v0.9.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 929746b4..30f3bc52 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", - "@pika/plugin-build-node": "0.8.1", + "@pika/plugin-build-node": "0.9.1", "@pika/plugin-build-types": "0.8.1", "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", From 403f19afca26626ff0b22b3c51a314a895f4b870 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 13 Feb 2020 20:29:00 +0000 Subject: [PATCH 094/117] chore(deps): update dependency @pika/plugin-build-types to v0.9.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30f3bc52..1cc1024b 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.9.1", - "@pika/plugin-build-types": "0.8.1", + "@pika/plugin-build-types": "0.9.1", "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.8.1", From 2cf146f12fcfd8af92470ecce8fa3d62c7dc8fa3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 13 Feb 2020 22:45:27 +0000 Subject: [PATCH 095/117] chore(deps): update dependency @pika/plugin-build-node to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1cc1024b..3f8513ed 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", - "@pika/plugin-build-node": "0.9.1", + "@pika/plugin-build-node": "0.9.2", "@pika/plugin-build-types": "0.9.1", "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", From f6a59970471ad178502d94c64e9ed1b0889e6f6f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 00:28:58 +0000 Subject: [PATCH 096/117] chore(deps): update dependency @pika/plugin-build-types to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f8513ed..e18e1e89 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.9.2", - "@pika/plugin-build-types": "0.9.1", + "@pika/plugin-build-types": "0.9.2", "@pika/plugin-build-umd": "0.8.1", "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.8.1", From 538fc056a890480a7b5020b86a9cff8cfcfa6313 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 02:53:47 +0000 Subject: [PATCH 097/117] chore(deps): update dependency @pika/plugin-build-umd to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e18e1e89..641d648c 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@pika/pack": "0.5.0", "@pika/plugin-build-node": "0.9.2", "@pika/plugin-build-types": "0.9.2", - "@pika/plugin-build-umd": "0.8.1", + "@pika/plugin-build-umd": "0.9.2", "@pika/plugin-build-web": "0.8.1", "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", From 41667aaf7bf982f30cbfa97c7536a68ecd5581f4 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 04:41:50 +0000 Subject: [PATCH 098/117] chore(deps): update dependency @pika/plugin-build-web to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 641d648c..61cbf695 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@pika/plugin-build-node": "0.9.2", "@pika/plugin-build-types": "0.9.2", "@pika/plugin-build-umd": "0.9.2", - "@pika/plugin-build-web": "0.8.1", + "@pika/plugin-build-web": "0.9.2", "@pika/plugin-bundle-types": "0.8.1", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", From 5096a5061dd2720eb1c4df107ae4e5512ff11d3a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 06:55:02 +0000 Subject: [PATCH 099/117] chore(deps): update dependency @pika/plugin-bundle-types to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 61cbf695..ce0f2edc 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@pika/plugin-build-types": "0.9.2", "@pika/plugin-build-umd": "0.9.2", "@pika/plugin-build-web": "0.9.2", - "@pika/plugin-bundle-types": "0.8.1", + "@pika/plugin-bundle-types": "0.9.2", "@pika/plugin-standard-pkg": "0.8.1", "@pika/plugin-ts-standard-pkg": "0.8.1", "@storybook/react": "5.3.13", From 7ca6d28c5b3ccb68e118e7c6fd207c6f683379cf Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 08:36:35 +0000 Subject: [PATCH 100/117] chore(deps): update dependency @pika/plugin-standard-pkg to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce0f2edc..bfb0d0f1 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@pika/plugin-build-umd": "0.9.2", "@pika/plugin-build-web": "0.9.2", "@pika/plugin-bundle-types": "0.9.2", - "@pika/plugin-standard-pkg": "0.8.1", + "@pika/plugin-standard-pkg": "0.9.2", "@pika/plugin-ts-standard-pkg": "0.8.1", "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", From 0f4a8ff6c6e6043c7b2fb1b5d1c683168364deac Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 14 Feb 2020 10:31:27 +0000 Subject: [PATCH 101/117] chore(deps): update dependency @pika/plugin-ts-standard-pkg to v0.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bfb0d0f1..eb0c9e5d 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@pika/plugin-build-web": "0.9.2", "@pika/plugin-bundle-types": "0.9.2", "@pika/plugin-standard-pkg": "0.9.2", - "@pika/plugin-ts-standard-pkg": "0.8.1", + "@pika/plugin-ts-standard-pkg": "0.9.2", "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", From 9c51ebd41f1eb606df1ad87e4f9a6a6a90276757 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 17 Feb 2020 18:10:09 +0000 Subject: [PATCH 102/117] chore(deps): update typescript-eslint monorepo to v2.20.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eb0c9e5d..71150bea 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.0", - "@typescript-eslint/eslint-plugin": "2.19.2", - "@typescript-eslint/parser": "2.19.2", + "@typescript-eslint/eslint-plugin": "2.20.0", + "@typescript-eslint/parser": "2.20.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From fe4d2b65dde4d746138f0582b52d3e1f0c13b7e6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 17 Feb 2020 20:39:42 +0000 Subject: [PATCH 103/117] chore(deps): update dependency eslint-plugin-react-hooks to v2.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 71150bea..fbab1115 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", - "eslint-plugin-react-hooks": "2.3.0", + "eslint-plugin-react-hooks": "2.4.0", "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", From e7dc99ebfe85ff02906c2893a88dd1d543f68066 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 18 Feb 2020 00:01:44 +0000 Subject: [PATCH 104/117] chore(deps): update dependency storybook-chromatic to v3.5.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fbab1115..9ad62da7 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "react": "16.12.0", "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", - "storybook-chromatic": "3.5.1", + "storybook-chromatic": "3.5.2", "typescript": "3.7.5" }, "resolutions": { From 822893285e26255cd05694acfe28c9c0e4817a86 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 20 Feb 2020 23:13:07 +0000 Subject: [PATCH 105/117] chore(deps): update dependency typescript to v3.8.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ad62da7..50b8d525 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.12.0", "storybook-chromatic": "3.5.2", - "typescript": "3.7.5" + "typescript": "3.8.2" }, "resolutions": { "@types/react": "16.9.13" From b83a055b5f80429de92dec9e418f23d21ae34745 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 22 Feb 2020 15:51:23 +0000 Subject: [PATCH 106/117] chore(deps): update dependency @testing-library/react to v9.4.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 50b8d525..ef401fb8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@pika/plugin-ts-standard-pkg": "0.9.2", "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", - "@testing-library/react": "9.4.0", + "@testing-library/react": "9.4.1", "@typescript-eslint/eslint-plugin": "2.20.0", "@typescript-eslint/parser": "2.20.0", "babel-eslint": "10.0.3", From a678b13e5af1822b13b01d7e51913978d40a0bd8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 23 Feb 2020 04:48:36 +0000 Subject: [PATCH 107/117] chore(deps): update dependency eslint-plugin-jest to v23.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ef401fb8..2f4b6452 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", - "eslint-plugin-jest": "23.7.0", + "eslint-plugin-jest": "23.8.0", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", From 0904e111d5de986b1e323795a4e9d1e89bf7e0c6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 24 Feb 2020 18:07:47 +0000 Subject: [PATCH 108/117] chore(deps): update typescript-eslint monorepo to v2.21.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2f4b6452..d77a2222 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.13", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.1", - "@typescript-eslint/eslint-plugin": "2.20.0", - "@typescript-eslint/parser": "2.20.0", + "@typescript-eslint/eslint-plugin": "2.21.0", + "@typescript-eslint/parser": "2.21.0", "babel-eslint": "10.0.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From a14e216aa869ec65d58967e49263842378e80e88 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 25 Feb 2020 15:26:05 +0000 Subject: [PATCH 109/117] chore(deps): update dependency @storybook/react to v5.3.14 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d77a2222..6fa9c7a7 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@pika/plugin-bundle-types": "0.9.2", "@pika/plugin-standard-pkg": "0.9.2", "@pika/plugin-ts-standard-pkg": "0.9.2", - "@storybook/react": "5.3.13", + "@storybook/react": "5.3.14", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.1", "@typescript-eslint/eslint-plugin": "2.21.0", From b2645c00269c02c16312a5cd23eca050a032286d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 26 Feb 2020 00:16:20 +0000 Subject: [PATCH 110/117] chore(deps): update dependency babel-eslint to v10.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6fa9c7a7..306990e7 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@testing-library/react": "9.4.1", "@typescript-eslint/eslint-plugin": "2.21.0", "@typescript-eslint/parser": "2.21.0", - "babel-eslint": "10.0.3", + "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.0.6", "copyfiles": "2.2.0", From 4a2b38af0431f387d7b8f18992b7adbfc20eb664 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 26 Feb 2020 20:38:01 +0000 Subject: [PATCH 111/117] chore(deps): update react monorepo --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 306990e7..56d1f324 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", - "eslint-plugin-react-hooks": "2.4.0", + "eslint-plugin-react-hooks": "2.5.0", "jest": "24.9.0", "lerna": "3.20.2", "node-jq": "1.11.0", @@ -74,9 +74,9 @@ "npm-run-all": "4.1.5", "prettier": "1.19.1", "prop-types": "15.7.2", - "react": "16.12.0", + "react": "16.13.0", "react-async": "10.0.0-alpha.0", - "react-dom": "16.12.0", + "react-dom": "16.13.0", "storybook-chromatic": "3.5.2", "typescript": "3.8.2" }, From f488bc58139fb9d9c19c2d551425712c9a572f65 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 27 Feb 2020 12:34:35 +0000 Subject: [PATCH 112/117] chore(deps): update babel monorepo to v7.8.6 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 56d1f324..39c3b5e2 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "postbump": "yarn build:packages" }, "devDependencies": { - "@babel/core": "7.8.4", + "@babel/core": "7.8.6", "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/plugin-proposal-object-rest-spread": "7.8.3", "@babel/plugin-transform-runtime": "7.8.3", - "@babel/preset-env": "7.8.4", + "@babel/preset-env": "7.8.6", "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", From c1b0a134dce68a25197e92fa81593951251b1b41 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 28 Feb 2020 22:41:25 +0000 Subject: [PATCH 113/117] chore(deps): update dependency typescript to v3.8.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 39c3b5e2..8a817b20 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "react-async": "10.0.0-alpha.0", "react-dom": "16.13.0", "storybook-chromatic": "3.5.2", - "typescript": "3.8.2" + "typescript": "3.8.3" }, "resolutions": { "@types/react": "16.9.13" From 1054a84b08c49d1d4f1566341d55c17e2a8cca62 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 29 Feb 2020 20:20:31 +0000 Subject: [PATCH 114/117] chore(deps): update dependency eslint-plugin-jest to v23.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a817b20..2715f975 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "copyfiles": "2.2.0", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", - "eslint-plugin-jest": "23.8.0", + "eslint-plugin-jest": "23.8.1", "eslint-plugin-prettier": "3.1.2", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.18.3", From e5f6903f2ad024f350a3fc38fd34aef73e2a7aa1 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 2 Mar 2020 18:10:20 +0000 Subject: [PATCH 115/117] chore(deps): update typescript-eslint monorepo to v2.22.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2715f975..43560213 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@storybook/react": "5.3.14", "@testing-library/jest-dom": "4.2.4", "@testing-library/react": "9.4.1", - "@typescript-eslint/eslint-plugin": "2.21.0", - "@typescript-eslint/parser": "2.21.0", + "@typescript-eslint/eslint-plugin": "2.22.0", + "@typescript-eslint/parser": "2.22.0", "babel-eslint": "10.1.0", "babel-jest": "24.9.0", "babel-loader": "8.0.6", From d71d0a23c633ca0b60d6a682bdc05adf30a506ea Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 27 Mar 2020 20:12:58 +0100 Subject: [PATCH 116/117] Bump react-scripts and @babel/preset-env. --- examples/basic-fetch/package.json | 2 +- examples/basic-hook/package.json | 2 +- examples/custom-instance/package.json | 2 +- examples/movie-app/package.json | 2 +- examples/with-abortcontroller/package.json | 2 +- examples/with-graphql/package.json | 2 +- examples/with-suspense/package.json | 2 +- examples/with-typescript/package.json | 2 +- package.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/basic-fetch/package.json b/examples/basic-fetch/package.json index a2bbd0f3..2ddd6a3e 100644 --- a/examples/basic-fetch/package.json +++ b/examples/basic-fetch/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/basic-hook/package.json b/examples/basic-hook/package.json index 9ed10a4e..364db283 100644 --- a/examples/basic-hook/package.json +++ b/examples/basic-hook/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/custom-instance/package.json b/examples/custom-instance/package.json index 479c7d39..bc655142 100644 --- a/examples/custom-instance/package.json +++ b/examples/custom-instance/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/movie-app/package.json b/examples/movie-app/package.json index 0edb7e9d..7325bdb7 100644 --- a/examples/movie-app/package.json +++ b/examples/movie-app/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/with-abortcontroller/package.json b/examples/with-abortcontroller/package.json index 8f492537..9f24498a 100644 --- a/examples/with-abortcontroller/package.json +++ b/examples/with-abortcontroller/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/with-graphql/package.json b/examples/with-graphql/package.json index 24869866..1c14ea46 100644 --- a/examples/with-graphql/package.json +++ b/examples/with-graphql/package.json @@ -19,7 +19,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/with-suspense/package.json b/examples/with-suspense/package.json index a201120f..f13c8ad7 100644 --- a/examples/with-suspense/package.json +++ b/examples/with-suspense/package.json @@ -18,7 +18,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0" + "react-scripts": "3.4.1" }, "devDependencies": { "relative-deps": "0.2.0" diff --git a/examples/with-typescript/package.json b/examples/with-typescript/package.json index af4b56ce..6c401377 100644 --- a/examples/with-typescript/package.json +++ b/examples/with-typescript/package.json @@ -21,7 +21,7 @@ "react-async": "^10.0.0", "react-async-devtools": "^10.0.0", "react-dom": "16.11.0", - "react-scripts": "3.2.0", + "react-scripts": "3.4.1", "typescript": "3.7.2" }, "devDependencies": { diff --git a/package.json b/package.json index 43560213..66f8adca 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/plugin-proposal-object-rest-spread": "7.8.3", "@babel/plugin-transform-runtime": "7.8.3", - "@babel/preset-env": "7.8.6", + "@babel/preset-env": "7.8.7", "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@pika/pack": "0.5.0", From 19b1435c497c4a184a2b941baf7f1a4e8f9cb02a Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 27 Mar 2020 23:02:54 +0100 Subject: [PATCH 117/117] Fix bootstrap script. --- examples/basic-fetch/package.json | 1 + examples/basic-hook/package.json | 1 + examples/custom-instance/package.json | 1 + examples/movie-app/package.json | 1 + examples/with-abortcontroller/package.json | 1 + examples/with-graphql/package.json | 1 + examples/with-nextjs/package.json | 1 + examples/with-react-native/package.json | 1 + examples/with-react-router/package.json | 1 + examples/with-suspense/package.json | 1 + examples/with-typescript/package.json | 1 + package.json | 2 +- packages/react-async-devtools/package.json | 1 + packages/react-async/package.json | 1 + 14 files changed, 14 insertions(+), 1 deletion(-) diff --git a/examples/basic-fetch/package.json b/examples/basic-fetch/package.json index 2ddd6a3e..0704df5e 100644 --- a/examples/basic-fetch/package.json +++ b/examples/basic-fetch/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/basic-fetch", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/basic-hook/package.json b/examples/basic-hook/package.json index 364db283..ac227494 100644 --- a/examples/basic-hook/package.json +++ b/examples/basic-hook/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/basic-hook", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/custom-instance/package.json b/examples/custom-instance/package.json index bc655142..00304ed3 100644 --- a/examples/custom-instance/package.json +++ b/examples/custom-instance/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/custom-instance", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/movie-app/package.json b/examples/movie-app/package.json index 7325bdb7..949161b7 100644 --- a/examples/movie-app/package.json +++ b/examples/movie-app/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/movie-app", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-abortcontroller/package.json b/examples/with-abortcontroller/package.json index 9f24498a..6ed0d54c 100644 --- a/examples/with-abortcontroller/package.json +++ b/examples/with-abortcontroller/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/with-abortcontroller", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-graphql/package.json b/examples/with-graphql/package.json index 1c14ea46..9cdbf912 100644 --- a/examples/with-graphql/package.json +++ b/examples/with-graphql/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/with-graphql", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-nextjs/package.json b/examples/with-nextjs/package.json index bfda792a..9b6479de 100644 --- a/examples/with-nextjs/package.json +++ b/examples/with-nextjs/package.json @@ -4,6 +4,7 @@ "private": true, "main": "index.js", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "predev": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-react-native/package.json b/examples/with-react-native/package.json index 10a322d8..8edb052b 100644 --- a/examples/with-react-native/package.json +++ b/examples/with-react-native/package.json @@ -4,6 +4,7 @@ "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "preandroid": "relative-deps", diff --git a/examples/with-react-router/package.json b/examples/with-react-router/package.json index f2d7ac1b..bb43fd93 100644 --- a/examples/with-react-router/package.json +++ b/examples/with-react-router/package.json @@ -4,6 +4,7 @@ "private": true, "main": "index.js", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-suspense/package.json b/examples/with-suspense/package.json index f13c8ad7..913ee220 100644 --- a/examples/with-suspense/package.json +++ b/examples/with-suspense/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/with-suspense", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/examples/with-typescript/package.json b/examples/with-typescript/package.json index 6c401377..4115faef 100644 --- a/examples/with-typescript/package.json +++ b/examples/with-typescript/package.json @@ -4,6 +4,7 @@ "private": true, "homepage": "https://react-async.async-library.now.sh/examples/with-typescript", "scripts": { + "bootstrap": "yarn install", "postinstall": "relative-deps", "prestart": "relative-deps", "prebuild": "relative-deps", diff --git a/package.json b/package.json index 66f8adca..e2d06a47 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "packages/*" ], "scripts": { - "bootstrap": "yarn build:packages && yarn workspaces run install", + "bootstrap": "yarn build:packages && yarn workspaces run bootstrap", "clean": "lerna clean", "start": "run-p start:*", "start:examples": "now dev", diff --git a/packages/react-async-devtools/package.json b/packages/react-async-devtools/package.json index 051c4a28..de29ea57 100644 --- a/packages/react-async-devtools/package.json +++ b/packages/react-async-devtools/package.json @@ -17,6 +17,7 @@ }, "main": "src", "scripts": { + "bootstrap": "yarn install", "build": "pika build", "postbuild": "copyfiles -f ../../LICENSE ../../README.md pkg", "publish": "npm publish pkg" diff --git a/packages/react-async/package.json b/packages/react-async/package.json index 30c51b55..58f73bdb 100644 --- a/packages/react-async/package.json +++ b/packages/react-async/package.json @@ -19,6 +19,7 @@ }, "main": "src", "scripts": { + "bootstrap": "yarn install", "build": "pika build", "postbuild": "copyfiles -f ../../LICENSE ../../README.md pkg", "publish": "npm publish pkg"