Commit Graph

1739 Commits

Author SHA1 Message Date
Dan Abramov
56fed47976 Tweak preflight check message 2018-10-02 00:40:46 +01:00
Dan Abramov
bce2bfca6d Support globalSetup and globalTeardown Jest options (#5218) 2018-10-02 00:33:26 +01:00
Joe Haddad
316da53a32 Check for more packages which may cause problems (#5217) 2018-10-01 18:20:42 -04:00
Dan Abramov
45e621748c Fix absolute paths on eject (#5214) 2018-10-01 22:48:01 +01:00
Irvin Denzel Torcuato
bf5a4bf989 Feed correct line number to gvim on launch (#5202)
Clicking Error overlay should feed the correct line number for gvim.

Added `gvim` in `COMMON_EDITORS_LINUX`, launches new gvim when it is running.

Tested with gvim 8.0.707 on a Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux VM

Relates to https://github.com/facebook/create-react-app/issues/2636.
2018-10-01 22:08:53 +01:00
Dan Abramov
b10337697e Don't crash npm test when hg/git are missing (#5212) 2018-10-01 22:08:14 +01:00
Marco Slooten
b539b649a5 Adds instructions to README on how to customize Bootstrap with Sass (#5211)
* Adds instructions to create a Bootstrap theme with Sass

* Update README.md

* Update README.md

* Update README.md
2018-10-01 22:01:53 +01:00
Dan Abramov
33034190bb Oops 2018-10-01 21:44:16 +01:00
Dan Abramov
0a34c9e96a Edits 2018-10-01 21:43:48 +01:00
Joe Haddad
04eb460728 Correct links 2018-10-01 16:43:03 -04:00
Dan Abramov
79485d7d9c Update README.md 2018-10-01 16:31:38 -04:00
Dan Abramov
9e88a8e574 Update README.md 2018-10-01 20:03:27 +01:00
Dan Abramov
22d6f42755 Update CHANGELOG.md 2018-10-01 19:53:52 +01:00
Joe Haddad
bd1b9fa95c Publish eslint-config-react-app@3.0.2 eslint-config-react-app@3.0.2 2018-10-01 12:59:37 -04:00
Joe Haddad
e0fe2d3456 Disable react/no-deprecated rule (#5205)
* Disable react/no-deprecated rule

* Changed wording
2018-10-01 12:48:26 -04:00
Joe Haddad
62615763c8 Correct package dependency version 2018-10-01 12:31:05 -04:00
Joe Haddad
f0784fc27f Publish
- babel-plugin-named-asset-import@0.2.1
 - babel-preset-react-app@5.0.1
 - confusing-browser-globals@1.0.2
 - create-react-app@2.0.1
 - eslint-config-react-app@3.0.1
 - react-app-polyfill@0.1.2
 - react-dev-utils@6.0.2
 - react-error-overlay@5.0.2
 - react-scripts@2.0.2
react-app-polyfill@0.1.2 babel-plugin-named-asset-import@0.2.1 babel-preset-react-app@5.0.1 confusing-browser-globals@1.0.2 create-react-app@2.0.1 eslint-config-react-app@3.0.1 react-dev-utils@6.0.2 react-error-overlay@5.0.2 react-scripts@2.0.2
2018-10-01 12:21:46 -04:00
Joe Haddad
194a29102f Fix overlay IE 11 compatibility (#5203) 2018-10-01 12:12:25 -04:00
Joe Haddad
1e1019abbd Polyfill error overlay for IE9 support (#5198)
* Polyfill for IE9 support

* Turn off performance option in webpack
2018-10-01 11:26:29 -04:00
Maël Nison
9e074bbf08 Plug'n'Play support (#5136)
* Adds the PnP plugin for Webpack to find dependencies when working under PnP

* Adds configuration for jest

* Adds an e2e test for when using PnP

* Avoids cra from crashing at the engine check

* Avoids cra from crashing when initializing react-scripts

* Makes the ownPath portable

* Fixes linting

* Bumps to pnp-webpack-plugin@1.1.0, removes symlinks: false

* Adds a --use-pnp option

* Pin version
2018-10-01 15:53:07 +01:00
Dan Abramov
f59165fcee Oops 2018-10-01 15:48:05 +01:00
Dan Abramov
3783dd36f4 Tweak user guide a bit 2018-10-01 15:47:30 +01:00
Marek Suscak
9f7f2abf2e Document adding SVGs as React components (#5147)
* Document importing SVGs as React components

* Update README.md
2018-10-01 10:16:59 -04:00
Dan Abramov
4a96247bf0 Treat .css and .sass/.scss as side effectful (#5197) 2018-10-01 15:07:09 +01:00
Dan Abramov
53e4c0ac0e Format SVG React snapshots as <svg> tag with props (#5196)
* Format SVG React snapshots as <svg> tag with props

* Keep output simpler
2018-10-01 14:50:23 +01:00
Fabrizio Cucci
aa57262f7f Fix typo in 'Configuring the Proxy Manually' (#5193)
Replace `src/setupTests.js` with `src/setupProxy.js`.
2018-10-01 07:11:35 -04:00
Joe Haddad
2afcd4fdfc Add license file to all packages (#5192) 2018-09-30 23:17:18 -04:00
Joe Haddad
df98c0c561 Update notes about advanced proxy 2018-09-30 22:33:13 -04:00
Joe Haddad
b5bae2576b Make the use of a tidle more prominent 2018-09-30 22:29:13 -04:00
Joe Haddad
e85019fa79 Add docs about browsers list post processing CSS 2018-09-30 22:26:51 -04:00
Joe Haddad
789933c0aa Still emit runtime chunk (#5184) 2018-09-30 20:58:45 -04:00
Joe Haddad
02b8c35529 Test class properties (#5183)
* Test flow types are stripped before class properties are transformed

* Do not search multiple levels deep

* Revert "Do not search multiple levels deep"

This reverts commit 5b5324da3532b9a68d82880d5209f6217e009e45.

* Add missing file for test script to boot

* Make sure src and node modules are ignored

* Fix error

* derp

* fix test

* Drop unneeded check
2018-09-30 20:26:11 -04:00
Jeffrey Posnick
3c70340117 Updates to README to reflect Workbox usage (#5111)
* Updates to README to reflect Workbox usage.

* Update README.md

* Update README.md
2018-09-30 20:12:30 -04:00
Joe Haddad
72d4ab0292 Strip flow syntax before any other transform (#5182)
* Strip flow syntax before any other transform
Plugins run before presets so we can't use the flow preset

* Add informative comment
2018-09-30 20:06:38 -04:00
Joe Haddad
70b3110a75 Use Workbox CDN as default (#5180) 2018-09-30 17:58:40 -04:00
Joe Haddad
ac214e3633 Switch AppVeyor to GCE 2018-09-30 17:46:04 -04:00
Joe Haddad
7b1a32be6e Polish webpack message output (#5174)
* Only install react-scripts in CI mode

* Link locally

* Re-enable all output tests

* 💄 Polish webpack output

* Test sass support message

* Add more tests, but disabled

* Format missing default export error

* Format aliased import

* Why was node-sass required? Odd

* Format webpack rejection error

* Re-enable unknown package test

* Format file not found error and catch module scope plugin error

* Re-disable case sensitive paths

* Intercept and format case sensitive path errors

* Test out of scope message formatting

* Run behavior on macOS

* Run behavior on Node 8 and 10, only Node 8 for macOS

* Add some debugging

* Update matcher

* Only check stderr

* Remove old snapshot

* More debug

* Remove debug

* Add new debug

* Disable test on linux

* Add comment for future
2018-09-30 17:44:49 -04:00
Joe Haddad
5abff641a9 Remove thread-loader (#5170)
* Remove thread-loader
After the cache is warm, it is possible for thread-loader to hurt speed

* Disable babel output formatting
2018-09-29 18:30:28 -04:00
Daniel Wang
7f5ec4977b Add additional troubleshooting for Github Pages (#5169)
* Add additional troubleshooting for Github Pages

* Update README.md
2018-09-29 15:03:45 -04:00
Joe Haddad
401ff540e4 Filter out precache assets 2018-09-28 23:25:27 -04:00
Joe Haddad
232e892754 Drop comment 2018-09-28 23:05:53 -04:00
Joe Haddad
42026a01f7 Correctly lookup assets when using a relative build directory (#5163)
* Correctly lookup assets when using a relative build directory

* Hah, var ...

* Add e2e test for relative paths

* Format svg
2018-09-28 23:03:48 -04:00
Joe Haddad
bf408bde1e Add CSS Grid Layout instructions 2018-09-28 14:51:10 -04:00
Maël Nison
e4270bda29 Bumps workbox to the next patch release (#5158) 2018-09-28 16:26:17 +01:00
Maël Nison
97c7131d12 Forwards args through thread-loader (#5157)
* Forwards args through thread-loader

* Comments & dev
2018-09-28 16:21:58 +01:00
Joe Haddad
72fe2df6fb Cleanup README 2018-09-28 10:40:34 -04:00
Joe Haddad
c5c7da0fa5 Publish
- babel-preset-react-app@5.0.0
 - react-app-polyfill@0.1.1
 - react-dev-utils@6.0.1
 - react-error-overlay@5.0.1
 - react-scripts@2.0.1
react-app-polyfill@0.1.1 babel-preset-react-app@5.0.0 react-scripts@2.0.1 react-error-overlay@5.0.1 react-dev-utils@6.0.1
2018-09-28 08:54:24 -04:00
Joe Haddad
3ae3cf3678 Toggle mjs files to javascript/auto type (#5151) 2018-09-28 08:34:06 -04:00
Joe Haddad
2a7346e085 Run behavioral smoke tests with Jest, add output tests (#5150)
* Run smoke tests with Jest

* Get a unique port for smoke test

* Upgrade verdaccio across the board

* Drop unneeded step

* Try latest instead

* Boot registry in home directory

* Correct config path

* Add mutex

* Test webpack message formatting

* Strip color

* Add browserslist to default

* Disable another broken feature
2018-09-28 06:19:29 -04:00
Ian Sutherland
39c73ce5e3 Switch back to babel-loader (#5143)
* Switch back to babel-loader

* Preserve existing caller options. Use Object.assign instead of object spread.

* Updated filename in package.json

* Update comment about cache identifier

* Update macro check to use a regex

* Move macro check regex out of function
2018-09-27 19:17:21 -04:00