Commit Graph

1693 Commits

Author SHA1 Message Date
Vasiliy Taranov
65bde54306 Add causes of dev server not detecting changes (#1422)
* Add causes of dev server not detecting changes

Add causes of `npm start` not detecting changes to Troubleshooting chapter of User Guide

* Reworded slightly

* Update README.md
2017-01-23 21:22:55 +01:00
soo
adce379187 replace two space syntax with <br> tag (#1393)
for consistency :)
2017-01-23 20:47:40 +01:00
Fabrizio Castellarin
9099570b94 Use a more sophisticated template for end-to-end testing. (#1187)
* Use a more sophisticated template for end-to-end testing.

* Not publish integration tests to npm

* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Prepare the commands for testing with a template

* Fix dev "template" path

* Add various features to test

* Test various features separately

* Test language features

* Comment unused e2e.sh lines

* Add "development" tests

* Test environment variables

* Test webpack plugins

* Replace kitchensink README

* Switch integration tests from jest to mocha

* Use `fs-extra`

* Use the correct folders

* Do some cleanup

* Print a better message for `--template`

* Test `npm start` with and without https

* Separate fast e2e testing from kitchensink testing

* Hide `--internal-testing-template` (former `--template`) CLI option
2017-01-23 20:43:16 +01:00
Daniel Schep
7cd03f9f1a Document Flow support (#1384)
* Document Flow support

Projects created by Create React App use the `babel-preset-react` which includes
Flow babel plugins which introduces new syntax. This is important for users to know
as it causes what used to be syntax errors to be silently suppressed because they're
valid type annotations in Flow. For example if a user accidentally has `[foo: 'bar']`,
Babel will silently convert it to `[foo]`.

* Make it a bit clearer
2017-01-12 10:30:35 -08:00
Robbie H
17bb8d420f webpack-dev-server patch for 'still-ok' success status (#1377) 2017-01-12 10:27:58 -08:00
Jimmy Miller
3f6937c956 Change console.log for errors and warnings (#1375)
Array.forEach is passed the following parameters:

currentValue
    The current element being processed in the array.
index
    The index of the current element being processed in the array.
array
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach

console.log takes multiple arguments. We only want to print the first one, the actually message.
2017-01-11 12:15:58 -08:00
Pedro Nauck
d29fb006c0 Add missing import in react-dev-utils README.md (#1369) 2017-01-11 07:53:54 -08:00
Ville Immonen
11cc5aef48 Merge pull request #1367 from facebookincubator/0.8.x
0.8.5
2017-01-09 17:59:11 +02:00
Ville Immonen
a5b838940e Publish
- create-react-app@1.0.3
 - react-scripts@0.8.5
create-react-app@1.0.3 react-scripts@0.8.5 v0.8.5
2017-01-09 17:51:41 +02:00
Ville Immonen
ad86746ada Update changelog for 0.8.5 2017-01-09 17:45:30 +02:00
Ville Immonen
24abc5e154 Use yarnpkg alias to run Yarn (#1365)
There’s a common tool included in Hadoop that also has a `yarn` command,
which created issues for users who had Hadoop installed:
* #1257
* #1363

Yarn also installs the command under `yarnpkg` alias (added in
cefa9a368d)
so we can use `yarnpkg` instead of `yarn` to make it more reliable.

This has no effect on users who don't have Hadoop installed, but those
who have won't see errors from falsely detecting Hadoop Yarn as Yarn
the package manager, and they can now also install Yarn to make use of
our Yarn support without the Hadoop Yarn interfering.
2017-01-09 17:27:07 +02:00
Ville Immonen
1b645e2cc4 Use yarnpkg alias to run Yarn (#1365)
There’s a common tool included in Hadoop that also has a `yarn` command,
which created issues for users who had Hadoop installed:
* #1257
* #1363

Yarn also installs the command under `yarnpkg` alias (added in
cefa9a368d)
so we can use `yarnpkg` instead of `yarn` to make it more reliable.

This has no effect on users who don't have Hadoop installed, but those
who have won't see errors from falsely detecting Hadoop Yarn as Yarn
the package manager, and they can now also install Yarn to make use of
our Yarn support without the Hadoop Yarn interfering.
2017-01-09 17:25:31 +02:00
Fatih
25480273b0 Bump babel-loader version (#1009) (#1309) 2017-01-08 05:46:29 -08:00
Paul O’Shannessy
4d7b7544e7 Use npm script hooks to avoid && in deploy script (#1324) 2016-12-30 17:59:27 +02:00
Christian Raidl
a90e2b2eea fix readme: remove double 'we' (#1312) 2016-12-30 17:56:12 +02:00
Johnny Magrippis
e45b08746a Fixes duplicate "is" typo (#1306) 2016-12-30 17:55:31 +02:00
David
ac6a4c83fd Updated react-scripts babel-jest && jest packages to 18.0.0 (#1311) 2016-12-23 12:09:39 -08:00
Matthew Holloway
7d66ba176a Downgrading to compatible version of SockJS-Client (#1274) 2016-12-20 16:06:56 -08:00
Eduard Kyvenko
21b0044412 Remove path-exists from dependencies and replace it with fs.existsSync (#1289) 2016-12-18 20:57:00 +02:00
Dinuka De Silva
5fa34ddba1 gh-1269: Enabling nested folder paths for project name (#1270)
* gh-1269: Enabling nested folder paths for project name

* gh-1269: Added "fs-extra" and removed "path-exists"

* gh-1269: Added e2e test cases to verify nested folder names
2016-12-18 19:51:05 +02:00
Jay Phelps
7408e36478 Only gitignore dirs in root, not deep (#1267) 2016-12-14 03:06:38 -08:00
Cary Landholt
94c912dc60 Remove interactive shell check when opening browser on start (#1264)
Browser launch can still be suppressed using BROWSER=none
2016-12-13 08:13:30 -08:00
MUA
7a8edf07fb Heroku Deployment: Adds a note on how to resolve "File/Module Not Found Errors" (#1260)
* Adds note on how to resolve file or directory not found errors for heroku deployments

* Style tweaks
2016-12-12 16:43:08 -08:00
Dan Abramov
ab3913cc11 Clarify when to use the public folder 2016-12-12 14:21:46 +00:00
Dan Abramov
587b2f8b59 Add "Changing the Page Title" to User Guide (#1256)
* Add "Changing the Page Title" to User Guide

* Add link to main README
2016-12-12 05:43:59 -08:00
Dan Abramov
3a67987857 Add "Syntax Highlighting" link to main README 2016-12-12 01:49:52 +00:00
Dan Abramov
3df6b49b8e Style nit 2016-12-12 01:49:01 +00:00
Dan Abramov
519d32a19f Only open Chrome tab if BROWSER is missing or is Chrome (#1247) 2016-12-11 13:15:42 -08:00
Gabriel Aumala
759806ed4f Configure which browser to open in npm start (#873) (#1148)
Use a 'BROWSER' environment variable with npm start to specify which
browser to open. if the value of 'BROWSER' is not valid executable file,
don't open any browser.
2016-12-11 12:16:35 -08:00
Dan Abramov
2b2b8ff338 Replace the Flow documentation section (#1245) 2016-12-11 10:08:37 -08:00
Dan Abramov
ccdaa60065 Fix typos 2016-12-11 12:00:42 +00:00
Dan Abramov
96f4be9b75 Publish
- create-react-app@1.0.2
 - react-dev-utils@0.4.2
 - react-scripts@0.8.4
create-react-app@1.0.2 v0.8.4 react-scripts@0.8.4 react-dev-utils@0.4.2
2016-12-11 11:50:25 +00:00
Dan Abramov
92efefcec6 Add 0.8.4 changelog (#1238) 2016-12-11 03:49:39 -08:00
Dan Abramov
a13a65f1c5 Clear scrollback in test mode (#1237) 2016-12-11 03:33:34 -08:00
Dan Abramov
a8dedf3275 Tweak console messages (#1236)
* Tweak minimal Node error message

* Tweak console messages

* It doesn't need to be from npm

* Try to fix e2e test
2016-12-11 03:20:49 -08:00
Dan Abramov
5c551f8da3 Use a better clear console sequence (#1211) 2016-12-11 02:04:09 -08:00
Benoit Averty
a60140f811 Disable jest watch mode when --coverage flag is present (#1229) 2016-12-11 02:03:19 -08:00
Fabrizio Castellarin
7f9fb294b3 Use "commander" for cli argv handling (#1195)
* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Revert comment about min supported node version

* Check sooner for the minimal node version

* Add travis test for node <4

* Parse stderr in node versions <4
2016-12-11 01:01:20 -08:00
Pavel Kolesnikov
9d42ffab97 Proxy rewrites Origin header to match the target server URL (#1212)
* Proxy rewrites Origin header to match the target server URL

* Added comments on rewriting Origin header by the proxy middleware
2016-12-11 00:48:35 -08:00
Brian Ng
801b955146 Bump babel-eslint version (#1214) 2016-12-11 00:47:39 -08:00
Joe Haddad
f4c3f8b6d8 Disable subresource integrity temporarily (#1233) 2016-12-11 00:34:22 -08:00
Shogun Sea
f3c6de802d fix html-dev-plugin link in react-dev-utils doc (#1232) 2016-12-10 13:51:09 -08:00
Jirat Ki
7e2a08b957 Strip filename from loader notation first (#1226) 2016-12-10 06:48:27 -08:00
Ville Immonen
308121da83 Update CONTRIBUTING.md (#1225)
* Update CONTRIBUTING.md

* Add more detailed change log instructions
2016-12-10 16:01:50 +02:00
Ville Immonen
0990ce089d Exit with an error code when npm/yarn install fails (#1224)
Previously create-react-app exited with 0 after an installation error.
2016-12-10 03:54:14 +02:00
Ville Immonen
2e02e36b9e Clean up Yarn detection and install code (#1223)
* Remove the “‘yarn’ is not recognized as an internal or external
  command, ...” message on Windows
* Simplify the detection code: just run `yarn --version` – if it
  succeeds use `yarn`, if it fails use `npm`.
2016-12-10 03:11:14 +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
Dave Baskin
f44ae25fcf Adding troubleshooting information about Subresource Integrity digests. (#1220) 2016-12-09 12:41:56 -08:00
Jirat Ki
3416ba2802 Fix - openChrome won't open default browser (using Canary) (#1215)
- Use “Chrome” instead of "Google Chrome", It  will try to use current active browser.
  otherwise, use default.
- If “Chrome”s aren’t running, will fallback to opn(url)
2016-12-09 04:48:17 -08:00
Dan Abramov
e7d71bd574 Publish
- create-react-app@1.0.1
 - react-scripts@0.8.3
v0.8.3 create-react-app@1.0.1 react-scripts@0.8.3
2016-12-08 15:45:27 +00:00