Commit Graph

749 Commits

Author SHA1 Message Date
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
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
9e88a8e574 Update README.md 2018-10-01 20:03:27 +01: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
2018-10-01 12:21:46 -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
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
70b3110a75 Use Workbox CDN as default (#5180) 2018-09-30 17:58:40 -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
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
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
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
Marek Suscak
7644f736b2 Mention .module.scss/sass convention (#5145) 2018-09-27 17:14:20 -04:00
Joe Haddad
27ac52ac2f Remove runtime alias hack (#5142)
* Remove runtime alias hack

* Pass absolute path to preset

* Change comment

* Give a relative path to absolute runtime

* Clean up config

* Tweak again

* Make absolute runtime the default

* Remove runtime package from error overlay
2018-09-27 16:52:43 -04:00
Joe Haddad
ce5a2e4e14 Adjust regex fed to RegExp
https://github.com/facebook/create-react-app/pull/4169#issuecomment-425145384
2018-09-27 11:56:42 -04:00
David Moodie
3b71621552 Workbox service worker (#4169)
* Add workbox service worker functionality

* Remove debug

* Set workboxConfig for when there isn't a cra config file

* Remove workbox configuration options as c-r-a isn't planning on supporting optional configuration

* Remove c-r-a config path from paths

* Add workbox service worker functionality

* Remove c-r-a config path from paths

* Inline the webpack workbox config

* Use settings reccommended by @jeffposnick

https://github.com/facebook/create-react-app/pull/4169/#issuecomment-422963072

* Fallback to public url index.html, not root

* Add one comment

* Update comment

* Correct regex
2018-09-27 11:51:42 -04:00
Joe Haddad
6510a27e8b Drop loader utils from react-scripts 2018-09-27 10:03:36 -04:00
Joe Haddad
fed41009b6 Output CSS sourcemaps in separate file (#5131)
* Output CSS sourcemaps in separate file

* explain options
2018-09-27 09:13:27 -04:00
Joe Haddad
d3e56cdc9e Update fetch documentation about polyfills 2018-09-27 08:48:54 -04:00
Joe Haddad
fa6e5bd069 Change polyfill link to our package 2018-09-27 08:44:29 -04:00
Marco Fugaro
1b57f0157b Remove highlightCode:true because it's now the default (#5085) 2018-09-27 00:20:42 -04:00
XiaoYan Li
46b18d9f36 Prevent Babel config overridden (#5109) 2018-09-26 17:03:31 -04:00
Sagiv ben giat
cbf532073e Update minify instructions (#5105)
* changed to Migrate to v2.x

* richer explanation

* Update README.md
2018-09-26 16:25:45 -04:00
Joe Haddad
54323f07dc Remove advanced proxy guide 2018-09-26 15:05:21 -04:00
Joe Haddad
ac5376f9b9 Publish
- babel-plugin-named-asset-import@0.2.0
 - babel-preset-react-app@4.0.0
 - confusing-browser-globals@1.0.1
 - create-react-app@2.0.0
 - eslint-config-react-app@3.0.0
 - react-app-polyfill@0.1.0
 - react-dev-utils@6.0.0
 - react-error-overlay@5.0.0
 - react-scripts@2.0.0
2018-09-26 14:00:59 -04:00
Joe Haddad
98b63a3f9f Update template browser defaults 2018-09-26 13:38:26 -04:00
Joe Haddad
bfb17b2043 Tweak browser support section 2018-09-26 11:12:23 -04:00