Skip to content

Commit 95b559f

Browse files
committed
chore: upgrade react-scripts (cra) to 5.0.1
1 parent 8012b38 commit 95b559f

File tree

41 files changed

+4726
-4211
lines changed

Some content is hidden

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

41 files changed

+4726
-4211
lines changed

.yarn/patches/react-scripts__npm_4.0.2.patch

-28
This file was deleted.

examples/action-listener/counter/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/action-listener/counter/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"react": "^18.1.0",
1212
"react-dom": "^18.1.0",
1313
"react-redux": "^8.0.2",
14-
"react-scripts": "4.0.3",
14+
"react-scripts": "5.0.1",
1515
"typescript": "~4.2.4"
1616
},
1717
"scripts": {
@@ -39,5 +39,8 @@
3939
"last 1 firefox version",
4040
"last 1 safari version"
4141
]
42+
},
43+
"devDependencies": {
44+
"jest-watch-typeahead": "^1.1.0"
4245
}
4346
}

examples/query/react/advanced/.env

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/advanced/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@types/react": "^18.0.5",
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/authentication-with-extrareducers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react-icons": "3.11.0",
1818
"react-redux": "^8.0.2",
1919
"react-router-dom": "6.3.0",
20-
"react-scripts": "4.0.2"
20+
"react-scripts": "5.0.1"
2121
},
2222
"devDependencies": {
2323
"@types/react": "^18.0.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/authentication/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react-icons": "3.11.0",
1818
"react-redux": "^8.0.2",
1919
"react-router-dom": "6.3.0",
20-
"react-scripts": "4.0.2"
20+
"react-scripts": "5.0.1"
2121
},
2222
"devDependencies": {
2323
"@types/react": "^18.0.5",

examples/query/react/authentication/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function App() {
2323
<Box>
2424
<Routes>
2525
<Route path="/login" element={<Login />} />
26-
<Route path="/" element={<PrivateOutlet />}>
26+
<Route path="*" element={<PrivateOutlet />}>
2727
<Route index element={<Hooray />} />
2828
</Route>
2929
</Routes>

examples/query/react/basic/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/basic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@testing-library/react": "^13.3.0",
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/conditional-fetching/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@types/react": "^18.0.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/deduping-queries/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@types/react": "^18.0.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/graphql-codegen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-icons": "3.11.0",
2222
"react-redux": "^8.0.2",
2323
"react-router-dom": "6.3.0",
24-
"react-scripts": "4.0.2"
24+
"react-scripts": "5.0.1"
2525
},
2626
"devDependencies": {
2727
"@graphql-codegen/add": "^2.0.2",

examples/query/react/graphql/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/graphql/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"react-icons": "3.11.0",
2323
"react-redux": "^8.0.2",
2424
"react-router-dom": "6.3.0",
25-
"react-scripts": "4.0.2"
25+
"react-scripts": "5.0.1"
2626
},
2727
"devDependencies": {
2828
"@types/faker": "^5.5.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
SKIP_PREFLIGHT_CHECK=true
2-
NODE_ENV=development
2+
NODE_ENV=development
3+
# https://github.com/facebook/create-react-app/issues/11940
4+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/kitchen-sink/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react-dom": "^18.1.0",
1313
"react-redux": "^8.0.2",
1414
"react-router-dom": "6.3.0",
15-
"react-scripts": "4.0.2"
15+
"react-scripts": "5.0.1"
1616
},
1717
"devDependencies": {
1818
"@testing-library/jest-dom": "^5.11.5",

examples/query/react/mutations/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/mutations/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-icons": "3.11.0",
1919
"react-redux": "^8.0.2",
2020
"react-router-dom": "6.3.0",
21-
"react-scripts": "4.0.2"
21+
"react-scripts": "5.0.1"
2222
},
2323
"devDependencies": {
2424
"@types/react": "^18.0.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/optimistic-update/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-icons": "3.11.0",
1919
"react-redux": "^8.0.2",
2020
"react-router-dom": "6.3.0",
21-
"react-scripts": "4.0.2",
21+
"react-scripts": "5.0.1",
2222
"uuid": "^8.3.2"
2323
},
2424
"devDependencies": {

examples/query/react/pagination/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/pagination/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-icons": "3.11.0",
2020
"react-redux": "^8.0.2",
2121
"react-router-dom": "6.3.0",
22-
"react-scripts": "4.0.2"
22+
"react-scripts": "5.0.1"
2323
},
2424
"devDependencies": {
2525
"@types/faker": "^5.5.5",

examples/query/react/polling/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/polling/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@types/react": "^18.0.5",
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/prefetching-automatic-waterfall/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-icons": "3.11.0",
2020
"react-redux": "^8.0.2",
2121
"react-router-dom": "6.3.0",
22-
"react-scripts": "4.0.2"
22+
"react-scripts": "5.0.1"
2323
},
2424
"devDependencies": {
2525
"@types/faker": "^5.5.5",
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/prefetching-automatic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-icons": "3.11.0",
2020
"react-redux": "^8.0.2",
2121
"react-router-dom": "6.3.0",
22-
"react-scripts": "4.0.2"
22+
"react-scripts": "5.0.1"
2323
},
2424
"devDependencies": {
2525
"@types/faker": "^5.5.5",

examples/query/react/prefetching/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/prefetching/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-icons": "3.11.0",
2020
"react-redux": "^8.0.2",
2121
"react-router-dom": "6.3.0",
22-
"react-scripts": "4.0.2"
22+
"react-scripts": "5.0.1"
2323
},
2424
"devDependencies": {
2525
"@types/faker": "^5.5.5",
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SKIP_PREFLIGHT_CHECK=true
1+
SKIP_PREFLIGHT_CHECK=true
2+
# https://github.com/facebook/create-react-app/issues/11940
3+
DISABLE_ESLINT_PLUGIN=true

examples/query/react/with-apiprovider/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^18.1.0",
1111
"react-dom": "^18.1.0",
1212
"react-redux": "^8.0.2",
13-
"react-scripts": "4.0.2"
13+
"react-scripts": "5.0.1"
1414
},
1515
"devDependencies": {
1616
"@types/react": "^18.0.5",

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"eslint": "^7.25.0",
2727
"eslint-config-prettier": "^8.3.0",
28-
"eslint-config-react-app": "^5.0.1",
28+
"eslint-config-react-app": "^7.0.1",
2929
"eslint-plugin-flowtype": "^5.7.2",
3030
"eslint-plugin-import": "^2.22.1",
3131
"eslint-plugin-jsx-a11y": "^6.4.1",
@@ -37,7 +37,6 @@
3737
"release-it": "^14.12.5"
3838
},
3939
"resolutions": {
40-
"react-scripts": "patch:react-scripts@npm:4.0.2#.yarn/patches/react-scripts__npm_4.0.2.patch",
4140
"console-testing-library": "patch:console-testing-library@npm:0.3.1#.yarn/patches/console-testing-library__npm_0.3.1.patch",
4241
"react-redux": "npm:8.0.2",
4342
"react": "npm:18.1.0",

packages/toolkit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"esbuild": "^0.11.13",
5050
"eslint": "^7.25.0",
5151
"eslint-config-prettier": "^8.3.0",
52-
"eslint-config-react-app": "^5.0.1",
52+
"eslint-config-react-app": "^7.0.1",
5353
"eslint-plugin-flowtype": "^5.7.2",
5454
"eslint-plugin-import": "^2.22.1",
5555
"eslint-plugin-jsx-a11y": "^6.4.1",

0 commit comments

Comments
 (0)