68 Commits

Author SHA1 Message Date
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
Dan Abramov
e563b209c7 Fix local development paths (#52)
Local npm start and npm run build got broken by #33
2016-07-21 05:49:56 +01:00
eanplatter
a6edb523a8 Add README to generated project. (#33)
* Add README to generated project

* add logo.svg

* syntax cleanup
2016-07-21 05:05:41 +01:00
Dan Abramov
9df1c2ff16 Make errors and warnings nicer (#50)
* Make errors and warnings nicer

* Fix license stripping to not be eager

* Minor tweaks
2016-07-21 05:04:57 +01:00
Dan Abramov
4ad5170b0b Enable hot reloading for CSS (#42) 2016-07-20 18:05:56 +01:00
Dan Abramov
e1ff147b7d Add npm start to e2e test 2016-07-20 14:27:32 +01:00
Dan Abramov
63610622a2 Fall back to displaying full error if message is missing 2016-07-20 13:38:29 +01:00
Dan Abramov
bfb6ed1500 Bail for production builds
This ensures errors are not tolerated.
Otherwise, Webpack just builds an empty bundle.
2016-07-20 13:36:30 +01:00
Dan Abramov
3d77f5be20 Use a custom ESLint rule list (#27)
* Use a custom eslint rule list

* Sort rules

* Relax some rules
2016-07-20 00:12:49 +01:00
Kevin Lacker
6e0607ea0e I think the word listening is less clear 2016-07-19 14:27:04 -07:00
Kevin Lacker
43bc64fac2 update misc docs + copy 2016-07-19 14:08:41 -07:00
Dan Abramov
a73ebe8e2c Move configs to a separate folder (#23) 2016-07-19 14:00:41 +01:00
Christopher Chedeau
862900d94f s/create-react-app-scripts/react-scripts/ 2016-07-18 15:17:59 -07:00
Christopher Chedeau
0faed81453 Strip license when ejecting 2016-07-18 15:17:58 -07:00
Christopher Chedeau
8989a08b68 Copy files instead of moving them during init 2016-07-18 15:17:58 -07:00