* Set baseUrl from jsconfig.json/tsconfig.json
* Resolve the path for loading modules
* Add tests for jsconfig.json
* Add jsconfig.json
* Update packages/react-scripts/scripts/start.js
* Move baseUrl test to config folder
* Remove alias test
* Use chalk from react-dev-utils
* Add lost absolute file for typescript baseUrl test
* Update packages/react-scripts/config/modules.js
* Update other references of useTypeScript to hasTsConfig
* Fix casing of TypeScript
* Keep respecting NODE_PATH for now to support multiple module paths.
* Add test for NODE_PATH
* Add fallback if NODE_PATH is not set.
* Fix node path behavior tests
* Remove debugging code from behavior test suite
* Remove more debugging code
* Show NODE_PATH deprecation warning during build
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
Co-authored-by: Brody McKee <mrmckeb@users.noreply.github.com>
Co-authored-by: Jack Zhao <jzhao@fb.com>
* Add postcss-normalize plugin
* Configure PostCSS Normalize
* Add documentation
* Include the doc in sidebar
* Fix the id in sidebar.json
* Update adding-css-reset.md
Co-authored-by: Jack Zhao <jzhao@fb.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
* Initial pass adding typescript-eslint
* Add warning to shared rule set
* Add documentation for setting up VSCode extension
* Provide tsconfig path to typescript-eslitn
* Add note about npx caching and link to #6119
It is necessary to uninstall any version that was previously installed for the typescript flag to work when using npx.
* Use proper casing for TypeScript
Co-Authored-By: TaylorBriggs <TaylorBriggs@users.noreply.github.com>
The current `analyze` script only analises the `/src` code. This change leverages new version of `source-map-explorer` that is able to analyse multiple bundles at once, including the 3rd party dependencies bundle which is in my opinion even more important to analyze.
* [docs] Warn about storing secrets in env vars
Fixes#5676
Co-Authored-By: Ian Schmitz <ianschmitz@gmail.com>
* [docs] Add NOT to REACT_APP_SECRET_CODE
Fixes#5676
* [docs] Remove line breaks
* Update updating-to-new-releases.md
Related to https://github.com/facebook/create-react-app/issues/6140
* Update updating-to-new-releases.md
Linking to getting started following discussion on #6190.
Adapt terminology to current installation methods.
* Update updating-to-new-releases.md
typo, rleative link
* Update docusaurus/docs/updating-to-new-releases.md
Co-Authored-By: carpben <carpben@users.noreply.github.com>
* Changes to steps for publishing GitHub User Page
Remove the the step for switching to gh-pages branch as it is no longer a viable option.
* Changed projects to project
* Add default values to `file_ext` note
* Update note to include a link to the relevant docs
* Update copy to indicate the default values
* Add missing space