Joe Haddad
613b584f42
Add PUBLIC_URL env variable for advanced use ( #937 ) ( #1504 )
...
* Add `PUBLIC_URL` env variable for advanced use (#937 )
* Add support for `PUBLIC_URL` env variable
* Remove unnecessary duplications
* Simplify served path choice logic
* Honor PUBLIC_URL in development
* Add e2e tests
Enables serving static assets from specified host.
2017-02-09 23:15:15 -05:00
Jay Phelps
9e0e18fd2e
UX: Explain why build is failing ( #1352 )
2017-02-08 15:27:44 -05:00
Paul O’Shannessy
4d7b7544e7
Use npm script hooks to avoid && in deploy script ( #1324 )
2016-12-30 17:59:27 +02:00
Eduard Kyvenko
21b0044412
Remove path-exists from dependencies and replace it with fs.existsSync ( #1289 )
2016-12-18 20:57:00 +02:00
Jirat Ki
39a5b4de6e
Skip gh-page setup instruction if scripts.deploy has been added ( #1222 )
2016-12-09 12:42:52 -08:00
Dirk-Jan Rutten
cdd17a6914
Crash the build during CI whenever linter warnings are encountered ( #944 )
...
* Added functionality to crash the build during CI whenever linter warnings are encountered.
* Updated the docs with a description on how to use the build in CI
* Fixed small typo
* Fixed description of build error.
2016-12-03 14:39:29 +02:00
Brian Ng
2da6edabab
Replace rimraf with fs-extra functions ( #1072 )
2016-11-21 18:26:08 +00:00
Dan Abramov
ff7e22e5a8
Update GH deploy instructions to match User Guide
2016-11-20 18:13:09 +00:00
Nazim Hajidin
1668fb1948
Add missing --dev argument ( #1058 )
2016-11-20 15:30:12 +02:00
Ville Immonen
bcc469c9a5
Support Yarn ( #898 )
...
In the `create-react-app` command, try to install packages using Yarn.
If Yarn is not installed, use npm instead.
In `react-scripts`, detect if the project is using Yarn by checking if
a `yarn.lock` file exists. If the project is using Yarn, display all
the instructions with Yarn commands and use Yarn to install packages
in `init` and `eject` scripts.
2016-11-17 22:55:00 +02:00
Patrick Dillon
c6428eaff9
Exit production build if any errors are in build stats ( #859 )
...
* Exit on any errors passed in build stats
* Match console error output in start.js
2016-10-07 15:12:53 +01:00
Jan Potoms
feb6036fb2
Update instructions on publishing to GitHub pages ( #841 )
...
* Update instructions on publishing to GitHub pages
* Update README formatting
2016-10-04 15:34:41 +03:00
Brian Ng
909d938166
Fix some typos ( #809 )
2016-10-01 12:13:42 +03:00
Dan Abramov
e5bf5af296
Extract some utilities into a separate package ( #723 )
...
* Extract some utilities into a separate package
* Add utils dir to `files` in package.json
* Do not create an empty `utils` dir on eject
2016-09-23 20:53:08 +01:00
Ayrton De Craene
8e5183ac1b
Load environment file in development ( #695 )
...
* Load environment file via dotenv if .env file is present
* Document loading environment variables in .env file
* Minor doc tweaks
2016-09-23 11:59:38 +01:00
Dan Abramov
bc6392afaf
Add support for public/ folder ( #703 )
2016-09-22 21:25:34 +01:00
Ville Immonen
26464096d5
Set up a monorepo with Lerna
2016-09-19 10:52:19 +03:00