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

v6.0.0 Update from upstream (CRA v4.0.2 > v5.0.1) #24

Merged
merged 98 commits into from
Jul 7, 2022

Conversation

Gnito
Copy link

@Gnito Gnito commented Jul 6, 2022

This PR updates Create React App from v4.0.2 to v5.0.1

There are a couple of major releases underneath CRA:

  • Webpack v5
  • PostCSS v8

Consequences:

  • postcss-apply plugin is not working anymore (it's been deprecated for a long time)
    • We have introduced a naive custom version of it as a private plugin to give more time to migrate away.
    • However, you should migrate away from postcss-apply syntax (aka CSS Property Sets)
    • New dependency, balanced-match, was added due to this private plugin.
  • You should add @importfor customMediaQueries file.
    • E.g. @import '../../styles/customMediaQueries.css';
    • Some parallelism has increased in the build process and postcss-import wasn't included without it being explicitly mentioned per CSS file.
  • Loadable components was updated
    • "@loadable/component": "^5.15.2",
    • "@loadable/webpack-plugin": "^5.15.2",
    • Client app should update their part of Loadable components too
      • "@loadable/component": "^5.15.2",
      • "@loadable/server": "^5.15.2",

Read more from FTW-daily's PR:
sharetribe/ftw-daily#1531

This commit shows most of the changes to our custom code on top of CRA:
42a5d23

jamesgeorge007 and others added 30 commits February 3, 2021 13:03
Resolves facebook#10084 security vulnerability in websocket-driver library version 0.5.6, imported transitively by sockjs
Resolves facebook#10411

Bumps immer version to 8.0.1 to address the prototype pollution
vulnerability with the current 7.0.9 version.
 - create-react-app@4.0.3
 - react-dev-utils@11.0.3
 - react-scripts@4.0.3
The variable is also used in dev.
* Update getProcessForPort.js

* Update getProcessForPort.js

Co-authored-by: Zhou Peng <zpbrent@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This just fixes a shell snippet in the readme file for this plugin
Replace the Github home link with a link to the repo's main page or a link to the source (https://github.com/CodeByZach/pace/blob/master/pace.js)
Bump immer minor version to fix `Prototype Pollution` Security issue.
Co-authored-by: Brody McKee <mrmckeb@gmail.com>
iansu and others added 21 commits December 14, 2021 08:56
 - cra-template-typescript@1.2.0
 - cra-template@1.2.0
 - create-react-app@5.0.1
 - eslint-config-react-app@7.0.1
 - react-dev-utils@12.0.1
 - react-error-overlay@6.0.11
 - react-scripts@5.0.1
- Update custom dependencies
- Add customized version of postcss-apply as private plugin
- Update check for webpack config structure
- Add new configs needed by Webpack v5
- Reintroduce splitChunks (CRA team had accidentally removed it)
- Update build-print (correct link to Flex Docs)
@Gnito Gnito changed the title Update from upstream Update from upstream (CRA v4.0.2 > v5.0.1) Jul 7, 2022
@Gnito Gnito changed the title Update from upstream (CRA v4.0.2 > v5.0.1) v6.0.0 Update from upstream (CRA v4.0.2 > v5.0.1) Jul 7, 2022
@Gnito Gnito merged commit e25d807 into master Jul 7, 2022
@Gnito Gnito deleted the update-from-upstream branch July 7, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.