Commit Graph

987 Commits

Author SHA1 Message Date
Kelly
2de95c4097 Update Sass docs (#2114)
* update readme with fix from https://github.com/facebookincubator/create-react-app/issues/1939

* update with better globbing

* added note

* updating with a note and reverting previous changes

* how about this?

* refactor

* added note about new files back in after verifying locally

* spaces back in, sorry was my editor!

* removed note about new files :)

* added bullet about new files issue currently open on node-sass
2017-05-12 00:00:45 -04:00
Dan Abramov
2b596547c8 Fix a bad condition
https://github.com/facebookincubator/create-react-app/pull/2123#discussion_r116062043
2017-05-11 19:07:40 +01:00
Dan Abramov
1ede6a8d12 Only show first error (#2125) 2017-05-11 15:54:31 +01:00
Dan Abramov
3521eb7c8b Make error box messages friendlier (#2123) 2017-05-11 15:37:48 +01:00
Dan Abramov
a4bd567dac Bump React in development (#2122) 2017-05-11 15:11:15 +01:00
Siddharth Doshi
efd99a95f3 disable ignoring unused vars prefixed with _ (#1763) 2017-05-11 14:34:52 +01:00
Joe Haddad
942cf6230c Adds tests for the overlay (#2118)
* Add get-source-map tests

* Fixtures shouldn't be formatted

* Add mapper tests

* Add stack-frame tests

* Add more util tests

* Add unmapper tests

* Add parser tests

* Switch to snapshots

* Snapshot more
2017-05-11 14:00:20 +01:00
Dan Abramov
69590775ce Omit ESLint warnings when there are ESLint errors (#2120) 2017-05-11 13:58:07 +01:00
Joe Haddad
8d4604eb3a Default to 0.0.0.0 (#2117) 2017-05-11 13:42:57 +01:00
Joe Haddad
70768b321e Add react-error-overlay package (#2111)
* ༼ つ ◕_◕ ༽つ stack-frame-overlay

* Fix linting

* Remove auto overlay

* Fix e2e

* Pull in the rest

* Appease flow

* Correct dep

* Remove old repo references

* Check flow on test

* Test overlay in e2e

* Add cross env

* Rename package

* Make sure it gets built post-install

* Update the README

* Remove extra builds now that there's a postinstall script

* Revert "Remove extra builds now that there's a postinstall script"

This reverts commit 8bf601dbd36c1e0da7f785fa9ade70ab08ed8772.

* Remove broken script

* Fix some dev ergo
2017-05-10 19:56:30 -04:00
Joe Haddad
1acc3a45f1 Do not parse .eslintignore (#2115) 2017-05-10 19:24:51 -04:00
Dan Abramov
0a503954b2 Prettify errors and warnings for Webpack 2 (#2113)
* Prettify errors and warnings for Webpack 2

* Update formatWebpackMessages.js
2017-05-10 21:49:37 +01:00
Ian Schmitz
f35593c12d Bump minimal Node version to 6 (#1897)
* Bump minimal Node version to 4.7.0

* Bump minimal Node version to 4.7.0

Modified additional files that needed a bump to 4.7.0 minimum node version

* Bump minimal Node version to 4.7.0

Reverse changes to packages/create-react-app/index.js as this file needs to continue to work on Node 0.10+

* Bump minimal node version to 6

* Bump minimal node version to 6

* Bump minimal node version to 6
2017-05-09 11:11:31 +01:00
Dan Abramov
2d7a1bb209 Minor tweaks for crash overlay (#2101) 2017-05-09 11:09:13 +01:00
Dan Abramov
3a527f2a09 Revert "Forbid using window properties as global variables" (#2099)
* Revert "Ignore the yarn cache directory (#2063)"

This reverts commit 94149c77a8.

* Revert "Forbid using window properties as global variables (#1840)"

This reverts commit 5a7d8e899e.
2017-05-08 19:26:03 +01:00
Jeremy Morrell
94149c77a8 Ignore the yarn cache directory (#2063) 2017-05-08 15:05:49 +01:00
Siddharth Doshi
5a7d8e899e Forbid using window properties as global variables (#1840)
* Forbid using window properties as global variables

* Change globals list to match Standard.

* Fix globals
2017-05-05 18:59:49 -04:00
Scott Ranger
59c439bd9f Fixed documentation link for storybook in README.md (#2081) 2017-05-04 15:23:45 +01:00
Dan Abramov
f1563b98b0 Temporarily pin Yarn to fix CI 2017-05-03 16:40:47 +01:00
David Ascher
f762728975 Fix instructions for serving with now (#2052)
* Fix instructions for serving with now

Not sure if new, but the `--single` flag is now important.

* Keep it shorter
2017-05-02 19:23:52 +01:00
Lufty Wiranda
629d575a0a Update README.md (#2058)
* Update README.md

* Update README.md
2017-05-01 14:32:13 +01:00
Dan Abramov
851a404d18 Suggest to create .eslintrc for IDE lint plugins (#2054)
* Suggest to create .eslintrc for IDE lint plugins

* Update README.md

* Update README.md
2017-05-01 13:55:20 +01:00
Jeremy Stucki
3fac03664c Define dev chunk names (#2050)
* Define dev chunk names

Fixes #2046

* Add comment
2017-05-01 13:01:37 +01:00
Tim Welch
bed9a39c97 Update README.md (#2040) 2017-04-27 23:45:30 -04:00
Joe Haddad
d65070edc4 Use prop-types package (#2029) 2017-04-25 10:33:55 -04:00
Ben Pickles
33a9700173 Fix Netlify heading level. (#2033) 2017-04-25 15:14:06 +01:00
Joe Haddad
88f4f95ae8 Upgrade webpack deps and use strictExportPresence (#2028) 2017-04-25 10:36:18 +01:00
Joe Haddad
d721d4a094 Modularize and extract crashOverlay to iframe (#1842)
* Modularize and extract crashOverlay to iframe

* Do not break words

* Disable warning overlay

* Use CJS imports
2017-04-24 22:03:32 -04:00
Joe Haddad
927c539bc5 Use custom sourcemap file names 2017-04-24 21:51:59 -04:00
Joe Haddad
5bb502a28f Turn off CSS source maps 2017-04-24 14:54:37 -04:00
Michael Wayman
a1b56cf8b3 Update README.md CSS Preprocessor --> node-sass-chokidar alternative (#1987)
* resolves facebookincubator/create-react-app#1986 updates CSS Preprocessor docs to include information on node-sass-chokidar alternative to node-sass

* Update README.md
2017-04-22 15:33:49 -04:00
Joe Haddad
a53f22b76d Fix AppVeyor CI (#2010) 2017-04-21 22:05:06 -04:00
Ade Viankakrisna Fadlil
d6173fd2a4 Minify and map css (#2013)
Minify and map css
2017-04-21 21:15:58 -04:00
Buns Shar
c0fd569654 Resolve localhost when offline on Windows (#1839)
* Change proxy localhost to I27.0.0.1 for windows

* Update comment

* resolve localhost IP with DNS lookup on windows

* Fix CI errors

* Promisify addWebpackMiddleware

* Remove Node 6 syntax

* Update addWebpackMiddleware.js

* Actually use the resolved proxy
2017-04-21 16:23:08 -04:00
Marco Fugaro
31a38b34c4 removed options in UglifyJsPlugin which are equal to the defaults (#1993)
* removed redundant already default options in UglifyJsPlugin

* re-enabled remove comments Uglify option

JSDoc-style comments weren't being removed
2017-04-19 11:40:42 +01:00
Igor Ramos
05f3f5ee81 Update doc server example to work from any directory (#1988)
* Node.js serving with absolute path

It’s safer to use the absolute path of the directory that you want to serve, in case you run the express app from another directory.

* Update README.md
2017-04-18 21:38:07 -04:00
anilreddykatta
a0b16df53f Relax label rules (#1989) 2017-04-18 21:28:10 -04:00
anilreddykatta
0b9c65f2f6 Add folder structure docs for new contributors (#1991)
* Adding folder structure to help people navigate through project. It helps in resolving issues by providing brief description of each package and its purpose

* Removing unnecessary packages from Folder structure heading

* Update CONTRIBUTING.md
2017-04-18 21:25:00 -04:00
Gabriel Aumala
ef86877331 Start the dev server at the specified host (#1301)
Pass the host from environment variable as argument of the devServer's
listen function instead of a field of options object.
Set the default host to 0.0.0.0 instead of localhost.
2017-04-18 21:06:54 -04:00
Joe Haddad
31243283ab Add linked modules test (#1913) 2017-04-14 23:46:04 -04:00
Buns Shar
f61cba104e Ensure proxy url starts with http:// or https:// (#1890) 2017-04-14 22:51:29 -04:00
Joseph Race
cb41a76eaa Update information in User Guide for Enzyme dependency (#1982) 2017-04-14 13:20:20 +01:00
Mark Dalgleish
53943a85ee Add sku to the list of alternatives (#1962) 2017-04-10 12:02:51 +01:00
Dan Abramov
798572a8bc Note that only jest-enzyme@2.x is compatible 2017-04-09 20:02:56 +01:00
Tom Canac
c83ee7a302 Suggest Yarn in HTML template (#1911)
* Fix npm to yarn

* yarn & npm

* Update index.html

* Switch ordering of suggestion

We should suggest NPM first for new users.
2017-04-05 13:28:32 -04:00
Joe Haddad
5364908ef9 Duplicate CLI file warning header 2017-03-27 00:39:14 -04:00
Joe Haddad
7b124e7fd4 Re-disable babel modules transform (#1894)
* Upgrade webpack & related deps

* Disable module transform (requires webpack 2+)
2017-03-26 23:50:36 -04:00
Darren Scerri
b403048f01 Fix AppVeyor CI (#1868)
* Fix AppVeyor CI (#1876)

* Run AppVeyor on Visual Studio 2017
2017-03-24 23:13:44 -04:00
Lorenzo Palmes
1e1a3cbf10 Test for accidental extraneous dependencies (#1825)
* Added test to check for accidental dependencies

* Refactored test into a function

* Removed non capturing group from grep

* Update e2e-installs.sh
2017-03-23 19:49:05 -04:00
Asa Ayers
47a8148fb1 Fix importing npm linked libraries (#1359)
* Fix importing npm linked libraries

* Update webpack.config.dev.js

* Update webpack.config.prod.js
2017-03-22 20:29:53 -04:00