Commit Graph

82 Commits

Author SHA1 Message Date
Dan Abramov
d5ebaeb684 Add proxy option to package.json
This allows users to avoid CORS in simple projects that are hosted on the same server as backend.
2016-08-25 13:44:54 +01:00
Dan Abramov
c7849e2e27 Make missing module output slimmer
Thanks to @geowarin for the tip in https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
2016-08-22 18:42:31 +01:00
Dan Abramov
12b097287a Make build output more chill 2016-08-22 18:42:25 +01:00
Anton Kaminsky
0298a81e01 Small grammatical correction (#367)
* Small grammatical correction

* Fix another grammatical error for consistency
2016-08-22 18:40:34 +01:00
Dan Abramov
8e1629578f Document configuration and build process (#362) 2016-08-22 18:40:10 +01:00
Dan Abramov
2df4201cf6 Further tweak the build output 2016-08-22 18:27:01 +01:00
Dan Abramov
1d994daca7 Minor tweaks to console output 2016-08-22 18:26:56 +01:00
Dan Abramov
147dd9d476 Minor style tweaks 2016-08-22 18:26:45 +01:00
Elijah Manor
ae2cc0e57e Adjust colors and account for unicode when padding 2016-08-22 18:26:30 +01:00
Elijah Manor
b68205a385 Display Build Size Difference 2016-08-22 18:26:25 +01:00
Dan Abramov
946fd01cca Force rebuild after npm install (#349)
Fixes #186
2016-08-22 18:20:14 +01:00
Dan Abramov
d9d6c926f8 Tweak npm start to make it clear it’s not optimized
Ref: https://twitter.com/sprjrx/status/760481328886272004
2016-08-22 18:19:45 +01:00
Dan Abramov
75e27ea445 Make AppleScript call more bulletproof and silence its output
Fixes #322
2016-08-22 18:19:39 +01:00
Dan Abramov
ce749992b9 Revert "Fix port detection lag on OS X with Firewall enabled (#319)"
The problem has since been fixed upstream.

This reverts commit f7011e0472.
2016-08-22 18:18:47 +01:00
Dan Abramov
f7011e0472 Fix port detection lag on OS X with Firewall enabled (#319)
This fixes #302 by temporarily forking `detect-port`.
Hopefully this fix will be merged into the original project, and we can refer to it again.
2016-08-01 15:38:05 +01:00
Dave Ceddia
6a8f79ce3a Prevent Webpack from watching node_modules dir (#294) 2016-07-30 16:00:11 +01:00
Dan Abramov
65c2ff321b Make GH Pages support more discoverable (#286) 2016-07-29 20:40:18 +01:00
Dan Abramov
f05cba5e29 Use /static paths for assets (#278)
* Use /static paths for assets

* Fix e2e test
2016-07-29 17:09:48 +01:00
Dan Abramov
2749026af3 Make filesize stats prettier (#265) 2016-07-28 20:43:49 +01:00
Dan Abramov
2e20fd13c0 Use a more solid way to reset the console
This seems to work best, both on Windows, OS X, and Linux
2016-07-28 15:14:47 +01:00
Lawrence Wu
ca7d227ae0 Display JS and CSS bundle sizes after build (#229)
* Display JS and CSS bundle sizes after build

* Print gzipped filesize, address nits

* Use filesize for human readable output.
2016-07-28 00:58:15 +01:00
Dan Abramov
2fe84ecded Respect process.env.PORT 2016-07-27 21:48:19 +01:00
Peter Indiola
2edf2180f2 Suggest another port when 3000 is busy (#101, #243)
Also fixes #194
2016-07-27 21:21:50 +01:00
Dan Abramov
1740fa99fc Fixup GH Pages deploy instructions
These work regardless of whether you already have a gh-pages branch.
2016-07-27 19:22:48 +01:00
Dan Abramov
9645cbd117 Switch over to recommending pushstate-server
It has a sane default port, gzip, and doesn’t aggressively cache index.html.
Perfect.
2016-07-27 16:52:58 +01:00
Dan Abramov
6d7741e897 Add Promise and fetch polyfills (#235) 2016-07-27 13:04:13 +01:00
Dan Abramov
3a1ed7a9d0 Recommend st instead of http-server
It has gzip built-in so the size numbers are closer to real world. Thanks @ForbesLindesay for the tip!
Related to #228
2016-07-27 12:04:17 +01:00
Dan Abramov
9b6e87c6cb Remove build directory without ending up in trash
This is frustrating with shells like `fish` that track directory moves
2016-07-26 22:31:11 +01:00
Dan Abramov
9a4e9678ad Add some newlines to the console output 2016-07-26 12:11:16 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
Kevin Lacker
511668c538 fix cdpath bug 2016-07-24 22:16:28 -07:00
Dan Abramov
458d3f9eb1 Provide instructions on publishing GH Pages (#162)
* Provide instructions on GH Pages deploy

* Add docs for GH Pages deployment

* Prevent incorrect paths in file-loader

* Minor message tweaks

* Update README.md

* Fix relative paths
2016-07-25 00:55:59 +01:00
Donald Hruska
ef4f8e9058 Don't assume the project is hosted at the root (#94)
* Don't assume the project is hosted at the root
* Require package.json in webpack.config.prod.js and use homepage if set; otherwise use '/'

* Fix package.json path and add sample package.json for tests

* Update publicPath to use relative path portion of URL defined in homepage

* Update successful bundle generation message

* Show bundle generation success message based on presence of homepage in package.json
2016-07-25 00:07:33 +01:00
Keyan Zhang
76935de8e2 Explicitly specify ESLint config path for editor plugins in package.json (#149)
* explicitly specify ESLint config path for editor plugins

* changed to use single quote
2016-07-24 22:19:58 +01:00
Alex
c9fd6979ac Fix issue #127 (#128) 2016-07-23 21:19:07 +01:00
Nathan Verni
e3954981ea Adds .gitignore file to default template (#79)
* Adds .gitignore file to default template

* Simplify renames

* Reference npm issue in comment

* Removing leading slash
2016-07-22 13:14:52 -07:00
eanplatter
ad2550f70e Recursively copy the template folder (#74)
* Recursively copy the template folder

* add fs-extra library
2016-07-22 06:42:46 -07:00
Dan Abramov
03c62f1c25 Eject Flow stubs
Related to #72, c2ba7a4a6c
2016-07-22 13:19:58 +01:00
Dan Abramov
024b4d4fcd Minor tweaks 2016-07-22 11:09:56 +01:00
Max
9317d106a3 Fix check for smoke test 2016-07-22 11:07:45 +01:00
Keyan Zhang
b1ce4598ec Dogfood our eslint config (#68)
* dogfood eslint config

* moved linting to e2e
2016-07-22 03:30:43 +01:00
Tyler McGinnis
cc9b01db56 Fix Typo (#63) 2016-07-21 23:45:36 +01:00
Dan Abramov
d24a1c9525 Tweak initial output 2016-07-21 21:22:49 +01:00
Dan Abramov
37009b1fcf Attempt to reuse Chrome tab on OS X (#62)
Fixes #38
2016-07-21 21:22:31 +01:00
Dan Abramov
a84bffc295 Tweak message 2016-07-21 17:06:02 +01:00
Dan Abramov
938ff9daa6 Misc fixes for Windows (#60) 2016-07-21 16:44:57 +01:00
Dan Abramov
8830b85d5e Add compile progress indication 2016-07-21 16:44:41 +01:00
Dan Abramov
d8cf3147de Fix eject on Windows (#58) 2016-07-21 15:46:46 +01:00
Dan Abramov
e0558bc4c6 Use a single script (#57)
It is easier to add more scripts later this way.
2016-07-21 15:02:27 +01:00
Dan Abramov
955ea330df Make messages windows-friendly 2016-07-21 11:20:42 +01:00