Packages

create-react-app

5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed

Upgrading create-react-app From 2.1.8 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.1.8Latest5.1.0
  1. 2.1.8yours
  2. 3.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Release by release

  1. 3.0.0

    Migration needed22 Apr 201922 new · 5 fixes
    • Breaking

      Like any major release, react-scripts@3.0.0 contains a few breaking changes.

    • Breaking

      babel-plugin-named-asset-import, confusing-browser-globals, react-dev-utils, react-error-overlay, react-scripts: Update to Jest 24 (@loryman)

    • Breaking

      eslint-config-react-app, react-scripts: Add TypeScript linting support (@ianschmitz)

    • Breaking

      babel-preset-react-app, eslint-config-react-app, react-scripts: Support React Hooks (#5602) (@eivind88)

18 other lines we could not sort, mostly version bumps
  • Upgrade to Lerna v3 (@iansu)

    3.0.0
  • react-scripts: Update testMatch to also be compatible with Jest 24 (@ngbrown)

    3.0.0
  • react-scripts: Change app component declaration from arrow function to regular function (@iansu)

    3.0.0
  • react-scripts: change named import into default import (@xiaoxiangmoe)

    3.0.0
  • react-scripts: make compiler a const not a let (@Primajin)

    3.0.0
  • babel-plugin-named-asset-import, confusing-browser-globals, react-dev-utils, react-error-overlay, react-scripts: Cleanup Jest config (@ianschmitz)

    3.0.0
  • react-dev-utils: Remove unused eslint comment (@mohitsinghs)

    3.0.0
  • eslint-config-react-app: Sync version of babel-eslint in eslint-config-react-app for react-scripts V3 (@dalcib)

    3.0.0
  • react-scripts: Update fsevents dependency version (@FrancoisRmn)

    3.0.0
  • react-scripts: Update to workbox-webpack-plugin v4 (@r0ughnex)

    3.0.0

15 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.