Commit Graph

1694 Commits

Author SHA1 Message Date
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
Joe Haddad
af61071a85 Add behavior e2e tests (#5146)
* Add new behavior e2e test script

* Add output for transparency
2018-09-27 17:42:59 -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
a73829ffa6 Reference issue to test 2018-09-27 12:02:32 -04:00
Viktor Havrylin
be8f9da4cf Fix displaying third party webpack plugins errors (#5137) 2018-09-27 12:02:17 -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
328c3123e8 Don't polyfill fetch for Node (#5132) 2018-09-27 10:23:02 -04:00
Joe Haddad
6510a27e8b Drop loader utils from react-scripts 2018-09-27 10:03:36 -04:00
Maël Nison
ed93715faa Lists loader-utils in the dependencies (#5134) 2018-09-27 10:03:11 -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
XiaoYan Li
e11334f7d8 Clean up @babel/plugin-transform-regenerator (#5119) 2018-09-27 07:49:00 -04:00
PatrickJS
908595ad26 Fix Troubleshooting link (#5102)
https://github.com/facebook/create-react-app/pull/5097
2018-09-27 00:43:03 -04:00
Marco Fugaro
1b57f0157b Remove highlightCode:true because it's now the default (#5085) 2018-09-27 00:20:42 -04:00
Conrad Buck
52f2946919 Eliminate regenerator from preset-react-app plugins (#4630)
Regenerator is already included by preset-env.

Fixes #4627
2018-09-27 00:12:49 -04:00
XiaoYan Li
409e571f93 Add dynamic import transformer for dependencies in test env (#5110) 2018-09-26 17:07:59 -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
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
4562ab6fd8 Merge branch 'master' into next 2018-09-26 11:26:55 -04:00
Joe Haddad
1448b2414a Make Sass missing message friendlier (#4514)
* Tweak browser support section

* Make sass message friendlier

* Tweak message

* Tweak message futher

* test
2018-09-26 11:22:15 -04:00
Joe Haddad
bfb17b2043 Tweak browser support section 2018-09-26 11:12:23 -04:00
Joe Haddad
d7bffcac1a Update Sass documentation 2018-09-26 10:52:06 -04:00
Joe Haddad
21c751175c Format Markdown and CSS files on commit 2018-09-26 10:38:21 -04:00
Joe Haddad
5b4c94c7a3 Format user guide 2018-09-26 10:36:30 -04:00
Reuben Antz
6c0cf8c3ac Update targeted IE version in documentation (#4551)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2018-09-26 01:36:12 -04:00
Joe Haddad
523d6e9615 Revert "Remove CSS modules docs (#3832)" (#3833)
This reverts commit 11f1aa09b3.
2018-09-26 01:33:38 -04:00
Joe Haddad
deffd04130 Fix babel runtime exclude rule 2018-09-26 01:31:50 -04:00
Jack Zhao
63398bd5e4 Remove babelrc dependency for kitchensink test (#5098)
* add kitchensink-eject to local-test

* add jest transform

Closes https://github.com/facebook/create-react-app/issues/5095
2018-09-26 00:58:06 -04:00
Joe Haddad
725d388f8e Move allow failures to the correct location 2018-09-26 00:21:09 -04:00
Joe Haddad
0551727fee Allow failures on installs 2018-09-26 00:10:41 -04:00
Joe Haddad
a87c6738e3 Narrow down to Yarn Cache folder 2018-09-26 00:04:05 -04:00
Joe Haddad
000d79af6f Cache Yarn and npm instead of our own node_modules 2018-09-26 00:01:04 -04:00
Joe Haddad
969fb37ea9 Disable source maps for node_modules (#5096) 2018-09-25 21:24:48 -04:00
Joe Haddad
adfb20c403 Turn on Babel helpers (#5093)
* Turn on helpers and test importing something with async/await works

* Compiling babel runtime breaks itself

* Add helpers option to babel plugin with defaults

* Make helpers off by default and on in our configuration

* Hit eject and e2e

* meh

* copy'n'paste

* change again

* Turn off helpers by default in /prod, /dev, /test

* oops

* Spread undefined

* Use object assign not object spread

* Put preset in template since it's needed

* Fix e2e tests
2018-09-25 18:59:06 -04:00
Joe Haddad
5599eff861 Drop IE 11 support by default (#5090)
* Drop ie 11 support and move polyfills to a new package

* More useful directions for what entry point to use
https://github.com/facebook/create-react-app/pull/5090#discussion_r220313783

* Clear up what file this polyfill goes in
https://github.com/facebook/create-react-app/pull/5090#discussion_r220313980

* Polyfill `window`, not `global`

* Remove proxy polyfill file
2018-09-25 16:08:29 -04:00
Joe Haddad
5f381e7646 Allow stage 3 css transforms (#5091)
* Switch to stage 3 css

* Tweak default browsers, too
2018-09-25 15:21:55 -04:00
Grady Kuhnline
fb6e6f70a3 Add postcss-preset-env, remove autoprefixer (#4716)
* add postcss-preset-env, remove autoprefixer

* limit to stage 4
2018-09-25 10:33:23 -04:00
Joe Haddad
11737bc786 Prevent the cache of files using Babel Macros (#5078)
* Add new overrides option

* Add file to package.json

* Create our own loader

* Remove overrides

* We have to use a real babel option

* Add comments
2018-09-24 20:10:11 -04:00
Joe Haddad
9cff39efa1 Relax peer dep 2018-09-24 17:41:40 -04:00
Joe Haddad
d609a3fb63 Update transform dynamic import 2018-09-24 17:41:40 -04:00