Commit Graph

146 Commits

Author SHA1 Message Date
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
2017-01-09 17:51:41 +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
Eduard Kyvenko
21b0044412 Remove path-exists from dependencies and replace it with fs.existsSync (#1289) 2016-12-18 20:57:00 +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
3df6b49b8e Style nit 2016-12-12 01:49:01 +00:00
Dan Abramov
2b2b8ff338 Replace the Flow documentation section (#1245) 2016-12-11 10:08:37 -08:00
Dan Abramov
96f4be9b75 Publish
- create-react-app@1.0.2
 - react-dev-utils@0.4.2
 - react-scripts@0.8.4
2016-12-11 11:50:25 +00:00
Dan Abramov
a13a65f1c5 Clear scrollback in test mode (#1237) 2016-12-11 03:33:34 -08:00
Benoit Averty
a60140f811 Disable jest watch mode when --coverage flag is present (#1229) 2016-12-11 02:03:19 -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
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
Dan Abramov
e7d71bd574 Publish
- create-react-app@1.0.1
 - react-scripts@0.8.3
2016-12-08 15:45:27 +00:00
Dan Abramov
0a9865db34 Update webpack-subresource-integrity to fix Windows builds (#1203) 2016-12-08 07:04:56 -08:00
mustang
adbc1a206d Instruct Jest to load native components from RNW instead of RN (#1201) 2016-12-08 00:40:18 +00:00
Marek Suscak
9fd528c5b7 Add syntax highlighting configuration guide. (#806)
* Add syntax highlighting configuration guide.

* Update link.
2016-12-07 23:37:10 +02:00
Dan Abramov
49414d6ba0 Publish
- babel-preset-react-app@2.0.1
 - eslint-config-react-app@0.5.0
 - react-dev-utils@0.4.1
 - react-scripts@0.8.2
2016-12-07 21:31:11 +00:00
Dan Abramov
5456ffff29 Let Jest handle all file types (#1197)
* Let Jest handle all file types

* Update regexes

* Fix exclusion regex to also exclude files without extension
* Be over-cautious with Windows paths because I'm not sure how Jest handles them

* There is no automatic babel-jest discovery now that we use transsform
2016-12-07 20:28:03 +00:00
Dan Abramov
cf64077f81 Only honor relative NODE_PATH (#1194) 2016-12-07 16:06:35 +00:00
Dan Abramov
5f57040376 Update Webpack to fix source map issues (#1188) 2016-12-07 12:58:01 +00:00
Vincenzo Chianese
45c042685e Update webpack prod config (#1181) 2016-12-07 12:27:07 +00:00
Bogdan Soare
15feb02e9c Use file-loader for svgs (#1180) 2016-12-06 16:07:50 +00:00
Vincenzo Chianese
11cd813802 Add Subresource Integrity support (#1176)
* Add Subresource Integrity support

* Pin dependency
2016-12-06 12:20:09 +00:00
Harun
80765677d5 Remove path module from webpack config on eject. (#1175)
* Remove path module from webpack config on eject.

Fixes #1174

* Move path module inclusion right after the other imports

Re: #1174
2016-12-06 11:17:18 +00:00
Guilherme Heynemann Bruzzi
023a5d9d46 Add deploy to Firebase CDN on template's README (Closes #374) (#1143)
* Add deploy to Firebase CDN on template's README (Closes #374)

* Move section and minor tweaks
2016-12-05 22:19:26 +00:00
Li Xuanji
b61dc67430 Document what npm build does and pushState (#933)
* Document what npm build does and pushState

* Fix typos, add express example

* Tweaks

* Update README.md
2016-12-05 21:57:54 +00:00
Alex Wilmer
3f6d68390a Fix minor typo/grammar (#1099) 2016-12-05 21:40:22 +00:00
Dan Abramov
0b6f4b8d3c Add "npm run build silently fails" to Troubleshooting (#1168)
* Add "npm run build silently fails" to Troubleshooting

* Update README.md
2016-12-05 21:24:54 +00:00
Stephen John Sorensen
aaa615f6fa Add testURL to jest config (#1120)
In my tests, jsdom was throwing a "SecurityError" at HistoryImpl._sharedPushAndReplaceState (node_modules/react-scripts/node_modules/jsdom/lib/jsdom/living/window/History-impl.js:87:15)

This happens because document.URL defaults to "about:blank". Unfortunately, if you interact with the History object it tries and fails to parse the URL, causing a "SecurityError" to be thrown. Setting the default URL to "http://localhost" fixes this issue.
2016-12-05 20:06:47 +00:00
Ville Immonen
b844e4e878 Publish
- react-scripts@0.8.1
2016-12-04 11:04:12 +02:00
Ville Immonen
715de0de6b Revert Jest moduleNameMapper regex back to a whitelist (#1149)
Jest matches moduleNameMapper regexes with module names, not the full
file path, so the negative lookahead doesn’t work for filtering out
JS files, because they can be imported without the extension. So paths
like `lodash.assign` and `../utils/range` were mislabeled as resources
with unknown file extensions because they have a dot in the name.

As a stopgap measure, revert the moduleNameMapper regex added in #1077.
2016-12-04 10:57:57 +02:00
Ville Immonen
5ee027d638 Publish
- babel-preset-react-app@2.0.0
 - create-react-app@0.7.0
 - eslint-config-react-app@0.4.0
 - react-dev-utils@0.4.0
 - react-scripts@0.8.0
2016-12-03 18:03:38 +02: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
Orta
9ce0aa5f5a Add a note about vscode-jest (#1126) 2016-12-01 16:09:43 +00:00
Dan Abramov
f5f4460681 Add a link to PWA instructions 2016-11-28 17:35:57 +00:00
Adam Stankiewicz
dc6edce99b Add support for non-interactive terminal (#1032) 2016-11-23 23:36:01 +02:00
Dave Ceddia
ce918191b2 Enable proxying of websockets (#1090)
Added `ws: true` to the httpProxyMiddleware options, and also listen
for the "upgrade" event so that websockets can be proxied immediately,
rather than waiting for an initial HTTP request.
2016-11-23 19:42:54 +00:00