create-react-app
5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed
2.1.8 is the newest release of 2.x.
In short
9 new10 fixed9 changed19 internal
Release note
v2.1.2 is a maintenance release including various bug fixes.
:rocket: New Feature
babel-preset-react-app: Add
allowESModulesoption tobabel-preset-react-app(@Pajn)
:bug: Bug Fix
create-react-app: Disable copy to clipboard in
create-react-app --info(@heyimalex)create-react-app: Update envinfo to
5.11.1(@tabrindle)babel-preset-react-app: Fix TypeScript decorator support (@ianschmitz)
babel-plugin-named-asset-import: Fix named-asset-import plugin to work with export-as syntax (@NShahri)
react-app-polyfill: Don't polyfill fetch for Node (@gshilin)
react-scripts: Version bump
postcss-preset-envto latest (@BPScott)react-scripts: Fix
tsconfig.jsonlib suggested value (@ianschmitz)
:nail_care: Enhancement
react-scripts: Add support for
setupTests.ts(@ianschmitz)
:memo: Documentation
Other
Correct markdown to avoid comment. (@souzasmatheus)
Add example command to create typed project. (@mbelsky)
Make links to docs consistent in README. (@iansu)
Add production build section to docs. (@ianschmitz)
Use https for linked images to fix mixed content warnings. (@iansu)
Docs: update localStorage mock in “Running Tests”. (@phacks)
Add SASS_PATH instructions to Sass stylesheet docs. (@jayantbh)
Add default values to
file_extnote. (@alaycock)Update README.md with updated link about PWAs. (@wuweiweiwu)
Some Grammar fixes. (@nikhilknoldus)
Fix link to page about running tests. (@wsmoak)
React native repository updated in
README.md. (@pavinthan)Rename 'getting started' link to 'docs'. (@kulek1)
docs: Simplify installing Storybook with
npx(@sagirk)docs: Change story book command to
sb init(@andys8)Add PR welcoming badge (@open-source-explorer)
Suggest Encore when not building a SPA with Symfony (@dunglas)
Updated the link to firebase hosting (@githubsaturn)
Fixed link to manifest.json file (@m4jing)
Fix public folder documentation link (@makovkastar)
eslint-config-react-app: Updated docs for
.eslintrc(@ManoelLobo)babel-preset-react-app, create-react-app, eslint-config-react-app, react-dev-utils, react-scripts: Update links to docs in all package README files (@iansu)
react-scripts: Improve advice in
verifyPackageTree.js(@sjalgeo)react-scripts: Add pre-eject message about new features in v2 (@iansu)
react-scripts: Add placeholders to template README for bit.ly links (@iansu)
react-app-polyfill: Note that extra polyfills must be included manually (@ajwann)
:house: Internal
react-scripts: Add
webpsupport for TypeScript. (@dugagjin)react-scripts: Suggest a different default for speed reasons. (@Timer)
react-scripts: Run prettier on HTML files. (@sibiraj-s)
react-scripts: Merge webpack configuration. (@Timer)
react-scripts: Add permissive TS lib defaults. (@Timer)
Other
Added extension to
.eslintrc(@ManoelLobo)Add the latest stable node version. (@noelyoo)
react-dev-utils: Correct some comments. (@mjackson)
react-dev-utils: fix: make typescriptformatter support 0.5 of fork checker. (@SimenB)
react-error-overlay: fix: add
sideEffects: falseto react-error-overlay. (@SimenB)babel-preset-react-app: Add allowESModules option to babel-preset-react-app. (@Pajn)
create-react-app: ignore intellij module files when generating an app. (@denofevil)
Migrating from 2.1.1 to 2.1.2
Inside any created project that has not been ejected, run:
npm install --save --save-exact react-scripts@2.1.2
or
yarn add --exact react-scripts@2.1.2
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.