Skip to content

Commit

Permalink
Update to latest from facebook/create-react-app master (#4)
Browse files Browse the repository at this point in the history
* Update packages (facebook#9081)

* Fix dotenv file loading order (facebook#9037)

* Fix dotenv file loading order

* tests: fix failing env tests

* tests: fix more failing tests

Co-authored-by: Brody McKee <mrmckeb@hotmail.com>

* feat: remove typescript flag and NODE_PATH support (facebook#8934)

* Update question issue template

* Update getting-started.md to match templates (facebook#9089)

* Upgrade to Jest 26 (facebook#8955)

* Update Jest to 26

* Upgrade to Jest 26.0.1

* Use jest-circus test runner by default

* Try resolving test runner to fix behavior tests

* Run TypeScript verification in new context

* Delete globalThis if polyfilled

* feat(react-scripts): allow testMatch for jest config (facebook#9114)

resolves facebook#8637

* Add support for absolute paths when using url() in CSS (facebook#7937)

* Support scss absolute path resolution for url()

Adding resolve-url-loader broke all apps using scss with centralized assets folder and all url(./assets/*.png) broke (facebook#7023).
This change allows apps to use url(/assets/*.png) and it would map to src/assets/*.png

* test: Add global scss assets test

* Upgrade dependencies (facebook#9132)

* Fix typo in docs (facebook#9135)

* Add performance relayer + documentation (web-vitals) (facebook#9116)

Co-authored-by: Brody McKee <mrmckeb@users.noreply.github.com>
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* Update deployment docs for Azure Static Web Apps (facebook#9042)

Co-authored-by: Minh Nguyen <minhnguyenxx@gmail.com>

* Replace Spectrum links with GitHub Discussions (facebook#9102)

* Use process.execPath to spawn node subprocess (facebook#8694)

* Upgrade dependencies (facebook#9196)

* Bump version of Verdaccio (facebook#7787)

* Support ESLint 7.x (facebook#8978)

* Fix chai URL (facebook#8895)

The root domain, chaijs.com, does not serve a valid certificate
and gives a browser warning.

* Explain how to uninstall create-react-app globally (facebook#9244)

* Explain how to uninstall create-react-app globally

* Add uninstallation intructions for yarn

* Upgrade dependencies (facebook#9317)

* Switch to the Workbox InjectManifest plugin (facebook#9205)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* Upgrade refresh plugin (facebook#9348)

* feat: Update ESLint dependencies (facebook#9251)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* Remove server worker registration from default templates (facebook#9349)

* Clarify wording in adding TypeScript to existing project (facebook#9231)

* feat: better refresh plugin integration (facebook#9375)

* feat: exit on outdated create-react-app version (facebook#9359)

* Prepare 4.0.0 alpha release

* Updated README.md Templates to Follow ESLint Markdown Rules (facebook#9241)

* [Doc] fix React Testing Library example (facebook#9245)

* Update running-tests.md (facebook#9380)

* Add Fast Refresh warning when using React < 16.10 (facebook#9350)

* Publish refreshOverlayInterop with react-dev-utils (facebook#9390)

* fix: remove deprecated rule (facebook#9401)

* clean formatMessage usage (facebook#9059)

* feat: Update testing-library dependencies to latest (facebook#9252)

* fix: use default modules option from `preset-env` (facebook#9374)

* Bump immer version (facebook#8933)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>

* Upgrade whatwg-fetch (facebook#9392)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* Fix template name handling (facebook#9412)

* Prepare 4.0.0 alpha release

* chore: update to jest@26.3 (facebook#9461)

* Create SECURITY.md

* Add 3.4.2 to changelog

* Add 3.4.3 to the changelog

* Fixes in the /packages/react-devs-utils/README.md file (facebook#9471)

* Added CRA logo in README.md (facebook#9363)

* Added React logo in README.md

* Added React logo in README file that makes looks nicer now.

* Added CRA Logo in README.md that looks nicer

* Replacing React Logo with CRA Logo instead

Co-authored-by: Eddie Monge Jr <eddiemonge@users.noreply.github.com>

* Update README.md

Co-authored-by: Eddie Monge Jr <eddiemonge@users.noreply.github.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>

* Update Vercel deployment documentation (facebook#9560)

* Fix insensitive language in Docusaurus docs (facebook#9618)

* Remove ESLint extends and add Jest rules (facebook#9587)

* fix: Fix azure-pipelines' endOfLine (facebook#9258)

* Update template dependencies to latest version (facebook#9526)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* Update running-tests.md (facebook#9073)

* feat: Update ESLint dependencies (facebook#9434)

* Emphasise that Next.js is capable of SSG (facebook#9630)

* docs: add alt tag to homepage logo (facebook#9499)

* fix: resolve CI build failure (facebook#9640)

* Use new JSX transform with React 17 (facebook#9645)

* Upgrade dependencies (facebook#9639)

* Prepare 4.0.0 alpha release

* Update postcss-safe-parser

* Prepare 4.0.0 alpha release

* Update CODEOWNERS

* fix: resolve ESLint config from appPath (facebook#9683)

* Add AVIF image support (facebook#9611)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>

* fix: resolve new JSX runtime issues (facebook#9788)

* Upgrade Docusaurus to latest version (facebook#9728)

Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: Brody McKee <mrmckeb@hotmail.com>
Co-authored-by: Brody McKee <mrmckeb@users.noreply.github.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
Co-authored-by: Josemaria Nriagu <49484425+josenriagu@users.noreply.github.com>
Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
Co-authored-by: atlanteh <atlanteh@gmail.com>
Co-authored-by: Jakob Krigovsky <jakob@krigovsky.com>
Co-authored-by: Houssein Djirdeh <houssein.djirdeh@gmail.com>
Co-authored-by: Burke Holland <burkeholland@gmail.com>
Co-authored-by: Minh Nguyen <minhnguyenxx@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
Co-authored-by: Brian Morearty <brian@morearty.org>
Co-authored-by: Nick McCurdy <nick@nickmccurdy.com>
Co-authored-by: Jeffrey Posnick <jeffy@google.com>
Co-authored-by: Dylan Brookes <24858006+merelinguist@users.noreply.github.com>
Co-authored-by: Michael Mok <pmmmwh@gmail.com>
Co-authored-by: Rafael Quijada <firehawk09@users.noreply.github.com>
Co-authored-by: Sakito Mukai <sakito21@gmail.com>
Co-authored-by: Andy C <7357845+andycanderson@users.noreply.github.com>
Co-authored-by: Kline Moralee <klinemoralee@gmail.com>
Co-authored-by: Gerrit Alex <admin@gerritalex.de>
Co-authored-by: Sam Chen <chenxsan@gmail.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Stafford Williams <staff0rd@users.noreply.github.com>
Co-authored-by: Lenard Pratt <striderman34@gmail.com>
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Webdot_30 <nwaforuchechukwu2007@gmail.com>
Co-authored-by: Raihan Nismara <31585789+raihan71@users.noreply.github.com>
Co-authored-by: Eddie Monge Jr <eddiemonge@users.noreply.github.com>
Co-authored-by: Timothy <1695613+timothyis@users.noreply.github.com>
Co-authored-by: Liam Duffy <3338808+liamness@users.noreply.github.com>
Co-authored-by: Tobias Büschel <13087421+tobiasbueschel@users.noreply.github.com>
Co-authored-by: Hongbo Miao <Hongbo.Miao@outlook.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
  • Loading branch information
1 parent 545d460 commit 0809abf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions packages/babel-preset-react-app/create.js
Expand Up @@ -8,6 +8,15 @@

const path = require('path');

const hasJsxRuntime = (() => {
try {
require.resolve('react/jsx-runtime.js');
return true;
} catch (e) {
return false;
}
})();

const validateBoolOption = (name, value, defaultValue) => {
if (typeof value === 'undefined') {
value = defaultValue;
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-app/yarn.lock.cached
Expand Up @@ -11470,4 +11470,4 @@ yargs@^15.4.1:
string-width "^4.2.0"
which-module "^2.0.0"
y18n "^4.0.0"
yargs-parser "^18.1.2"
yargs-parser "^18.1.2"

0 comments on commit 0809abf

Please sign in to comment.