121 Commits

Author SHA1 Message Date
Dan Abramov
7796c94d79 Publish
- babel-preset-react-app@3.0.1
 - create-react-app@1.3.2
 - eslint-config-react-app@1.0.5
 - react-dev-utils@3.0.1
 - react-error-overlay@1.0.8
 - react-scripts@1.0.8
2017-06-28 17:30:24 +01:00
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +01:00
Dan Abramov
16e5d15e92 Bump dependencies (#2658) 2017-06-28 15:05:30 +01:00
Dan Abramov
7cf4de71fa Warn about large bundle sizes (#2648) 2017-06-28 00:00:49 +01:00
Pete Nykänen
84299ceb23 Add Brackets to launchEditor.js (#2637) 2017-06-27 21:46:59 +01:00
Marius Wirtherle
6a09ed1e6e docs: added REACT_EDITOR to Advanced Configuration section (#2445)
* docs: added REACT_EDITOR to `Advanced Configuration` section

* Update README.md

* Update launchEditor.js
2017-06-27 16:30:26 +01:00
Levin Rickert
2874e1209e Auto-detect running editor on Windows for error overlay (#2552)
* Auto-detect running editor on Windows for error overlay

* Ignore process output if powershell call fails

* Support Notepad++
2017-06-27 16:16:02 +01:00
Mikhail Osher
58ef08f798 Support PhpStorm in launchEditor (#2622)
https://www.jetbrains.com/help/webstorm/opening-files-from-command-line.html
https://www.jetbrains.com/help/phpstorm/opening-files-from-command-line.html

Both editors have the same signature `<editor> <projectPath> --line <number> <filePath>` to open file from the command line.
It seems to work even if `<projectPath>` is omitted (commit 02f88ba157).

Tested on `Win10`+`PhpStorm2016` and `macOS 10.12`+`PhpStorm2017`.
2017-06-26 16:19:21 +01:00
Levin Rickert
b1c0faaffe Show warning when trying to run on port below 1024 without admin permissions under Linux (#2518) 2017-06-19 18:00:11 +02:00
Joe Haddad
dc4ce606ef Unscope detect-port (#2483)
Resolves #2481
2017-06-06 14:02:27 -04:00
Marius Wirtherle
02f88ba157 Add WebStorm >2017 launchEditor Support (#2414) 2017-05-30 14:00:16 +01:00
Frédéric Miserey
bcf398d75b Fix detection of parent directory in ModuleScopePlugin (#2405)
* Fix detection of parent directory

* Correct parent directory detection fix

Add windows specific path and extend to issuer path
2017-05-29 19:49:57 +01:00
Dan Abramov
70bf12505c Suggest just "yarn build" (#2385) 2017-05-27 21:26:53 +01:00
Dan Abramov
58d8c5c05c Publish
- react-dev-utils@3.0.0
 - react-error-overlay@1.0.7
 - react-scripts@1.0.7
2017-05-27 12:42:54 +01:00
Jin Zheng
b60f55c6bf Print file sizes with correct build folder path. (#2361)
* Print file sizes with correct build folder path.

* Just use the print the basename.
2017-05-25 16:18:29 +01:00
Dan Abramov
7a1873c0a7 Publish
- eslint-config-react-app@1.0.4
 - react-dev-utils@2.0.1
 - react-error-overlay@1.0.6
 - react-scripts@1.0.6
2017-05-24 13:22:25 +01:00
Joe Haddad
a29808a2c8 Don't resolve localhost if on network (#2332)
* Don't resolve if on network

* Update WebpackDevServerUtils.js
2017-05-24 11:00:24 +01:00
Dan Abramov
2558c3e32f Publish
- eslint-config-react-app@1.0.3
 - react-dev-utils@2.0.0
 - react-error-overlay@1.0.5
 - react-scripts@1.0.5
2017-05-22 17:09:28 +01:00
Dan Abramov
25f81f2bea Files in public/ folder should not be requested through proxy (#2326) 2017-05-22 17:04:17 +01:00
Dan Abramov
9cfa3552ba Limit console warnings to 5 files at most (#2327) 2017-05-22 16:36:53 +01:00
Pavol Madar
0d1521aabf Remove connect-history-api-fallback and cross-spawn dependencies from react-scripts (#751) (#2320) 2017-05-22 12:46:51 +01:00
Dan Abramov
d649b8a0de Publish
- eslint-config-react-app@1.0.2
 - react-dev-utils@1.0.3
 - react-error-overlay@1.0.3
 - react-scripts@1.0.3
2017-05-21 20:56:22 +01:00
Joe Haddad
2430b5615f Ensure address is private (#2297)
* Ensure address is private
Resolves #2296

* adjust rule

* Update WebpackDevServerUtils.js
2017-05-21 20:44:28 +01:00
Broda Noel
7348ca9bd1 Wrap console calls into a check (#2301)
* Wrap console calls into a check

* Add another check
2017-05-21 20:42:28 +01:00
Dan Abramov
ae0cb23dc9 Publish
- react-dev-utils@1.0.2
 - react-error-overlay@1.0.2
 - react-scripts@1.0.2
2017-05-20 19:20:46 +01:00
pmadar
a1749f9154 Remove unnecessary dependencies(#751) (#2283)
* Remove unnecessary dependencies(#751)

* Sort alphabetically
2017-05-20 19:08:58 +01:00
Jeffrey Posnick
eadfad28f4 Provide a no-op SW that will be served by the dev environment. (#2276)
* Provide a no-op SW that will be served by the dev environment.

* Hide no-op service worker from user
2017-05-20 19:07:43 +01:00
Dan Abramov
d76c1b78eb Wrap console calls into a check (#2290) 2017-05-20 19:06:48 +01:00
Dan Abramov
f3ff3f2473 Add missing license headers 2017-05-20 18:59:22 +01:00
Malcolm
d3e85364fe Add WSL support to launchEditor utility (#2282) 2017-05-20 17:52:58 +01:00
Jonathan
68cd59837e Fix missing dependency (#2269)
* Adding missing dependency

* Pinning text-table dependency
2017-05-19 22:57:11 +01:00
Dan Abramov
cd5c6d5717 Publish
- eslint-config-react-app@1.0.1
 - react-dev-utils@1.0.1
 - react-error-overlay@1.0.1
 - react-scripts@1.0.1
2017-05-19 20:22:12 +01:00
chyipin
1834cb5dbd Show customized build path for serve instruction (#2229)
* Show customized build path for serve instruction

* Remove cyan
2017-05-19 17:18:00 +01:00
Joe Haddad
70a7f28e2b Add explicit package dependence (#2243)
Closes #2232
2017-05-19 08:19:04 -04:00
Dan Abramov
6c8b18b0cd Improve interaction between compile and runtime overlays (#2219) 2017-05-18 23:07:56 +01:00
Dan Abramov
43b819c2bb "rule keywords" => "keywords" 2017-05-18 22:46:30 +01:00
Dan Abramov
55afd862c8 Move error overlay middleware (#2216) 2017-05-18 21:01:26 +01:00
Dan Abramov
07c75aa5fd Replace text-align: start with left to fix Edge (#2215) 2017-05-18 19:04:43 +01:00
Dan Abramov
8dc9217b61 Move more logic from react-scripts to react-dev-utils (#2209)
* Show warnings for builds

* Move WebpackDevServer helpers into react-dev-utils
2017-05-18 12:26:18 +01:00
Brian Vaughn
0681e24531 Tweaked error overlay styles (pt2) (#2208)
* Fixed several of the issues and nits from PR:

* Moved margin between header and file name to header, so when content was scrolled, the header would remain more separate
* Made build-time and runtime overlays better match
* Secondary error <pre> style now uses yellow bg instead of red
* 'Scrollable Header' (see above comment to why this is necessary) but I did increase the max-height from 35% to 50%.
* Fixed header and 'X' button vertical alignment

* Temporary stack margin fix

* Move "N errors" to the top
2017-05-18 12:25:43 +01:00
Dan Abramov
c82c4f0561 Refactor and improve build output (#2202) 2017-05-18 01:24:42 +01:00
Brian Vaughn
68f95d4133 Tweaking error overlay styles (#2201)
* Tweaked overlay styles

* Tweaked pre-style

* Clicked to background overlay dismiss

* Tidied up styles tobe more mobile Safari friendly

* Re-enabled pre-wrap

* Margin fixes

* Base font-size 10 -> 11px

* Error overlay is full-screen now based on feedback

* Make "N errors on the page" visible again

* Fix bottom margin of frame location and lack of tab nav

* Add tooltip to close button

* Bring compile error styles closer to runtime overlay

* s/when/if/
2017-05-18 00:48:33 +01:00
Joe Haddad
c27d765014 Test module scoping (#2198)
* Correct readme

* Add tests

* Update README.md
2017-05-17 14:52:55 -05:00
Dan Abramov
d9a2974574 Tidy up some build logs (#2197) 2017-05-17 20:10:17 +01:00
Joe Haddad
a61be9c619 Add module scope plugin (#2189)
* Add module scope plugin

* Oops

* Add comments

* Check windows seps too

* More descriptive error

* Document it
2017-05-17 12:19:52 +01:00
Dan Abramov
493e5a6996 Tweak lint rules (#2186) 2017-05-16 23:35:14 +01:00
Dan Abramov
46eeabca7e Tweak colors for better contrast on Windows (#2180) 2017-05-16 16:45:12 +01:00
Dan Abramov
58689133a1 Bump versions 2017-05-16 09:49:04 +01:00
Alison Monteiro
98fec2d543 react-dev-utils/openBrowser now supports urls with 2+ params (#2076)
* react-dev-utils/openBrowser now supports urls with 2+ params

Fixed #2047

* react-dev-utils/openBrowser: encode url before open the browser
2017-05-16 03:16:59 +01:00
Dan Abramov
0ffed85e6c Bump dependencies (#2170)
* Bump dependencies

* Bump CSS deps

* Somehow I missed dotenv

* Bump ESLint deps

* Tweak ESLint rules
2017-05-16 02:59:32 +01:00