Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align with react-scripts 4.0.3 #17

Merged
merged 39 commits into from
Apr 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3a98ed1
Fix noFallthroughCasesInSwitch/jsx object is not extensible (#9921)
ryota-murakami Oct 30, 2020
aec42e2
Add logo license to README
iansu Nov 1, 2020
4e97dc7
Remove trailing space in reportWebVitals.ts (#10040)
sho-t Nov 10, 2020
aafe8af
docs: add React Testing Library as a library requiring jsdom (#10052)
anyulled Nov 10, 2020
5867170
Increase Workbox's maximumFileSizeToCacheInBytes (#10048)
jeffposnick Nov 10, 2020
8f03b91
Create FUNDING.yml
iansu Nov 11, 2020
8bf050a
replace inquirer with prompts (#10083)
EvanBacon Nov 17, 2020
90a0898
Prepare 4.0.1 release
iansu Nov 23, 2020
98a886d
Prepare 4.0.1 release
iansu Nov 23, 2020
de8b2b3
Publish
iansu Nov 23, 2020
9a79df2
chore: bump web-vital dependency version (#10143)
Nov 25, 2020
be6c193
chore: bump typescript version (#10141)
trainto Nov 25, 2020
9b08e3c
Add TypeScript 4.x as peerDependency to react-scripts(#9964)
sheepsteak Nov 26, 2020
91e28a4
remove chalk from formatWebpackMessages (#10198)
jasonwilliams Dec 4, 2020
723224f
Upgrade @svgr/webpack to fix build error (#10213)
jabranr Dec 8, 2020
8f2413e
Improve vendor chunk names in development (#9569)
jrr Dec 8, 2020
580ed5d
Update postcss packages (#10003)
raix Dec 8, 2020
54ad467
Recovered some integration tests (#10091)
maxsbelt Dec 8, 2020
6dce3f4
Upgrade sass-loader (#9988)
ehsankhfr Dec 8, 2020
e039ad3
Move ESLint cache file into node_modules (#9977)
ehsankhfr Dec 8, 2020
3968923
Revert "Update postcss packages" (#10216)
ianschmitz Dec 8, 2020
282c03f
Remove references to Node 8 (#10214)
ianschmitz Dec 14, 2020
a504e9d
fix(react-scripts): add missing peer dependency react and update reac…
merceyz Jan 13, 2021
0f6fc2b
Update using-the-public-folder.md (#10314)
Avivhdr Jan 14, 2021
c9a24db
docs: add missing override options for Jest config (#9473)
tobiasbueschel Feb 3, 2021
d229676
Fix CI tests (#10217)
ianschmitz Feb 3, 2021
6a39607
appTsConfig immutability handling by immer (#10027)
josezone Feb 3, 2021
8fa0a26
Add support for new BUILD_PATH advanced configuration variable (#8986)
ajhyndman Feb 3, 2021
b9963ab
Add opt-out for eslint-webpack-plugin (#10170)
mrmckeb Feb 3, 2021
32c06e6
Prepare 4.0.2 release
iansu Feb 3, 2021
9c75260
Publish
iansu Feb 3, 2021
3f5dea9
tests: update test case to match the description (#10384)
jamesgeorge007 Feb 3, 2021
9722ef1
Bump webpack-dev-server 3.11.0 -> 3.11.1 (#10312)
Awarua- Feb 18, 2021
18b5962
Upgrade eslint-webpack-plugin to fix opt-out flag (#10590)
mrmckeb Feb 22, 2021
6947896
update immer to 8.0.1 to address vulnerability (#10412)
wclem4 Feb 22, 2021
f710976
Prepare 4.0.3 release
iansu Feb 22, 2021
cce32fa
Update CHANGELOG
iansu Feb 22, 2021
f92c37a
Publish
iansu Feb 22, 2021
1f93e4f
Merge branch 'webpack-5-react-scripts-4.0.3-next' into react-scripts-…
blackarctic Apr 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
## 4.0.3 (2021-02-22)

v4.0.3 is a maintenance release that includes minor bug fixes and dependency updates.

#### :bug: Bug Fix

- `react-scripts`
- [#10590](https://github.com/facebook/create-react-app/pull/10590) Upgrade eslint-webpack-plugin to fix opt-out flag ([@mrmckeb](https://github.com/mrmckeb))

#### :house: Internal

- `react-dev-utils`
- [#10412](https://github.com/facebook/create-react-app/pull/10412) update immer to 8.0.1 to address vulnerability ([@wclem4](https://github.com/wclem4))
- `create-react-app`
- [#10384](https://github.com/facebook/create-react-app/pull/10384) tests: update test case to match the description ([@jamesgeorge007](https://github.com/jamesgeorge007))

#### Committers: 4

- Brody McKee ([@mrmckeb](https://github.com/mrmckeb))
- Dion Woolley ([@Awarua-](https://github.com/Awarua-))
- James George ([@jamesgeorge007](https://github.com/jamesgeorge007))
- Walker Clem ([@wclem4](https://github.com/wclem4))

# Migrating from 4.0.2 to 4.0.3

Inside any created project that has not been ejected, run:

```bash
npm install --save --save-exact react-scripts@4.0.3
```

or

```
yarn add --exact react-scripts@4.0.3
```

## 4.0.2 (2021-02-03)

v4.0.2 is a maintenance release that includes minor bug fixes and documentation updates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('getTemplateInstallPackage', () => {
});

it('typescript@next gives cra-template-typescript@next', async () => {
await expect(getTemplateInstallPackage('cra-template-typescript@next')).resolves.toBe(
await expect(getTemplateInstallPackage('typescript@next')).resolves.toBe(
'cra-template-typescript@next'
);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-app",
"version": "4.0.2",
"version": "4.0.3",
"keywords": [
"react"
],
Expand Down
686 changes: 345 additions & 341 deletions packages/create-react-app/yarn.lock.cached

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wbpk-5-cra-utils",
"version": "11.0.2-next.1",
"version": "11.0.3",
"description": "Webpack 5 utilities used by Create React App",
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,7 +65,7 @@
"global-modules": "2.0.0",
"globby": "11.0.1",
"gzip-size": "5.1.1",
"immer": "7.0.9",
"immer": "8.0.1",
"is-root": "2.1.0",
"loader-utils": "2.0.0",
"open": "^7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ module.exports = function (webpackEnv) {
extensions: ['js', 'mjs', 'jsx', 'ts', 'tsx'],
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
emitWarning: isEnvDevelopment && emitErrorsAsWarnings,
failOnError: !(isEnvDevelopment && emitErrorsAsWarnings),
context: paths.appSrc,
cache: true,
cacheLocation: path.resolve(
Expand Down
10 changes: 5 additions & 5 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-5-react-scripts",
"version": "4.0.2-next.3",
"version": "4.0.3",
"description": "Configuration and scripts for Create React App using Webpack 5.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -53,7 +53,7 @@
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.9.2",
"eslint-webpack-plugin": "^2.1.0",
"eslint-webpack-plugin": "^2.5.2",
"file-loader": "6.1.1",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "4.5.0",
Expand All @@ -72,7 +72,7 @@
"postcss-safe-parser": "5.0.2",
"prompts": "2.4.0",
"react-app-polyfill": "^2.0.0",
"react-dev-utils": "^11.0.2",
"react-dev-utils": "^11.0.3",
"react-refresh": "^0.8.3",
"resolve": "1.18.1",
"resolve-url-loader": "^3.1.2",
Expand All @@ -82,9 +82,9 @@
"terser-webpack-plugin": "3.0.1",
"ts-pnp": "1.2.0",
"url-loader": "4.1.1",
"wbpk-5-cra-utils": "11.0.2-next.1",
"wbpk-5-cra-utils": "11.0.3",
"webpack": "5.10.0",
"webpack-dev-server": "3.11.0",
"webpack-dev-server": "3.11.1",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.1.4"
},
Expand Down