1254 Commits

Author SHA1 Message Date
Dan Abramov
dc95d18c9c Publish
- create-react-app@1.4.3
 - react-dev-utils@4.2.1
 - react-scripts@1.0.16
react-dev-utils@4.2.1 create-react-app@1.4.3 react-scripts@1.0.16 v1.0.16
2017-10-31 10:41:25 +00:00
Dan Abramov
b8e6ba3c4a Reorder publishing instructions 2017-10-31 10:40:27 +00:00
Dan Abramov
7ae6ab1017 Changelog for 1.0.16 (#3376) 2017-10-31 10:38:03 +00:00
Piotr
1740c3fe61 Update favicon description (#3374) 2017-10-31 10:25:11 +00:00
Dan Abramov
a9257ec978 Changelog for 1.0.15 (#3357)
* Changelog for 1.0.15

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-10-31 09:04:49 +00:00
Pete Feltham
e62bfdd7ce Replace template literal; fixes #3367 (#3368) 2017-10-31 09:04:35 +00:00
Dan Abramov
87643fdb2f CLI@1.4.2
Lerna is acting up.
2017-10-31 09:04:35 +00:00
Dan Abramov
5e7b9675aa Publish
- babel-preset-react-app@3.1.0
 - react-dev-utils@4.2.0
 - react-error-overlay@3.0.0
 - react-scripts@1.0.15
react-scripts@1.0.15 react-error-overlay@3.0.0 react-dev-utils@4.2.0 babel-preset-react-app@3.1.0
2017-10-31 09:04:34 +00:00
Dan Abramov
1a61cd452e Add preflight CWD check for npm (#3355)
* Add preflight CWD check for npm

* Typos
2017-10-30 21:24:06 +00:00
Joe Haddad
de1beec690 Stop using npm link in tests (#3345)
* Try a custom function

* fix path

* install rsync

* Test with node 8

* Ensure package is removed from the tree

* Remove ours

* matching functions

* try cygwin

* try c:/

* sigh

* Try /cygdrive/

* Try /cygdrive/

* Revert "Try /cygdrive/"

This reverts commit ab1ed779456d39bedbdb128a7aec3bb88b8eeb1c.

* Use sub-optimal copy

* Remove rsync install

* Fix variable

* Continue on err

* Don't link react-scripts, lol

* run yarn after eject

* re-enable cleanup

* uninstall yarn

* try with force

* appveyor ... seriously?

* swallow bad eject

* remove eject error swallow

* Revert "run yarn after eject"

This reverts commit eebf1dbc19aeb6e1f66d5ec27bda2d076bea0956.

* Run yarn after eject

* add a comment
2017-10-30 14:18:25 +00:00
IJAJ MULANI
345f550861 Fix for add .gitattributes file #3080 (#3122) 2017-10-28 22:13:43 +01:00
Rami
e05a5fe49b Mention that start_url needs to be "." for client side routing
* Change template manifest start_url to dot to make it react-router friendly

* Revert "Change template manifest start_url to dot to make it react-router friendly"

This reverts commit 02f53e81caea999ddba45f2cd012a9fb976c839e.

* Add a note about PWA manifest and client-side routing
2017-10-28 22:13:02 +01:00
Hrvoje Šimić
fc885a03d9 start using npm-run-all to build scss and js (#2957)
instead of using `&&` to run multiple commands in `package.json`, guide users to use `npm-run-all`
2017-10-28 22:11:19 +01:00
captDaylight
5a336ad117 Updating the Service Worker opt-out documentation (#3108) 2017-10-28 22:03:57 +01:00
Kévin Dunglas
15d8e53daf Remove an useless negation in registerServiceWorker.js (#3150) 2017-10-28 22:01:24 +01:00
Nik Nyby
70e0c08ef7 Remove output.path from dev webpack config (#3158)
According to this parameter's comment, it's unused but webpack-dev-server crashes without it. However, webpack-dev-server is running fine for me without this parameter.
2017-10-28 21:58:09 +01:00
Joe Haddad
5c8000f300 Add .mjs support (#3239) 2017-10-28 21:48:42 +01:00
Ryan Sullivan
4add16dc77 Add documentation for Enzyme 3 integration (#3286)
This resolves #3272.
2017-10-28 21:44:27 +01:00
Satya van Heummen
1fa16ace5f Make uglify work in Safari 10.0 - fixes #3280 (#3281)
Implement settings as suggested here:
https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-options

To solve this Safari bug:
https://bugs.webkit.org/show_bug.cgi?id=171041
2017-10-28 21:42:41 +01:00
Ryan Sullivan
8c7b6e766e Fix favicon sizes value in manifest (#3287)
Fixes #3284.
2017-10-28 21:39:26 +01:00
Dan Abramov
d98b7565b4 Bump dependencies (#3342)
* Bump dependencies

* Downgrade source-map back to 0.5.x

Not sure what changed there but our bundle snapshot doesn't match with minor changes.
I couldn't figure out how to update it, and also whether we need to tweak getPrettyURL in response.
2017-10-28 21:34:47 +01:00
Aaron Shafovaloff
c51258b8a8 recommend react-snap; react-snapshot isn't upgraded for React 16 (#3328) 2017-10-28 21:18:01 +01:00
Dan Abramov
0f5deb6a8e Update appveyor.cleanup-cache.txt 2017-10-28 18:38:05 +01:00
Dan Abramov
fe4dc744d7 Polyfill rAF in test environment (#3340) 2017-10-28 17:57:27 +01:00
Dan Abramov
c66c296fd1 Use React 16 in development 2017-10-28 17:10:07 +01:00
Dan Abramov
4d4cbf0583 Use a simpler string replacement for the overlay 2017-10-28 17:00:39 +01:00
Dan Abramov
aa322d0893 Clarify the npm precompilation advice
It's confusing: https://mobile.twitter.com/brianleroux/status/923581596720013312

h/t @brianleroux
2017-10-26 18:34:58 +01:00
Lorenzo Palmes
54f7da9bb9 Update eslint-plugin-react (#3146)
* update eslint-plugin-react to 7.3.0

* Updated eslint-plugin-react to 7.4.0
2017-10-23 16:18:54 -04:00
Matt Phillips
72a02c7feb Add jest coverage configuration docs (#3279) 2017-10-21 17:33:04 -04:00
Josh Branchaud
a0c515c8ad Update link to Jest Expect docs (#3303)
The existing link lands on a 'this page has moved' placeholder that
doesn't redirect to the correct location. This PR replaces it with the
currently working URL.
2017-10-19 13:59:10 -04:00
Joe Haddad
1a3017b717 Update README.md 2017-10-17 14:37:28 -04:00
Alex
2d0ef6a436 Fix dead link to Jest "expect" docs (#3289)
Closes #3291
2017-10-17 11:19:44 -04:00
Joe Haddad
991b092c89 Use production React version for bundled overlay (#3267)
* Use production React version

* We cannot strip our own checks if production

* Keep the sourcemap during minify

* Prevent devtools pollution

* Add some comments

* sigh
2017-10-11 18:16:38 -04:00
Joe Haddad
9ce144ed90 Add warning when using react-error-overlay in production (#3264)
* Add a warning when running minified

* Add more robust check

* Update index.js
2017-10-11 14:20:23 -04:00
André Ericson
86b4b6ab85 Add external links to deployment services (#3265) 2017-10-11 10:27:40 -04:00
Joe Haddad
360fa27cf2 react-error-overlay has no dependencies now (#3263)
* `react-error-overlay` has no dependencies now (it's bundled)

* Use babel 6 for now
2017-10-11 10:07:56 -04:00
Tharaka Wijebandara
00ed100b26 Add click-to-open support for build errors (#3100)
* Implement click-to-open for babel syntax errors in build error overlay

* Add click-to-open support for lint errors and refactor parser

* Reactor code to reuse open-in-editor functionality in both build and runtime error overlays

* Fix some eslint warnings

* Add a comment about keeping middleware and dev client in sync

* Remove es6 features from webpack dev client

* Make open-in-editor functionality to work with new iframe script

* Rename `openInEditor` to `editorHandler`
 -  Remove indirection of openInEditorListener
 -  Check editorHandler for null before styling error clickable

* Fix flow errors
2017-10-05 20:21:17 -04:00
Jonny Buchanan
a0030fcf2d Update style-loader and disable inclusion of its HMR code in builds (#3236) 2017-10-05 20:02:32 -04:00
Joshua Wiens
62f0a83c5e Update url-loader to 0.6.2 for mime ReDoS vuln (#3246)
- Changelog: https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md
 - Reference issue:  https://nodesecurity.io/advisories/535

Fixes #3244
2017-10-05 19:49:07 -04:00
Tharaka Wijebandara
cd3d04b71e Make error overlay to run in the context of the iframe (#3142)
* Make error overlay to run in the context of the iframe

* Configure webpack to build the entire package

* Remove inline raw-loader config

* Configure watch mode for error-overlay webpack build

* Add polyfills to the error-overlay iframe script

* Add header comment

* Configure to fail CI on error or warning

* Suppress flow-type error on importing iframe-bundle

* Change webpack to a dev dependency and pin some versions

* Disable webpack cache

* Update license headers to MIT
2017-10-03 21:45:15 +05:30
Joe Haddad
01a0d737c7 Fix Windows compatibility (#3232)
* Windows compatibility

* Use regex for mutli-replace
2017-10-02 23:45:20 -04:00
Toshiharu Nishina
f498547408 Fix package management link in README (#3227) 2017-10-02 23:30:44 -04:00
Joe Lim
1e98d0f428 Watch for changes in src/**/node_modules (#3230)
* Allow the dev server to watch for changes in src/node_modules

* fix eslint error

* fix broken regex

* handle trailing slash edge case for file paths

Closes #2760
Fixes #3223
2017-10-02 22:57:02 -04:00
Petr Huřťák
c00358376b More spec compliant HTML template (#2914)
Changed

`<!doctype html>`

to

`<!DOCTYPE html>`

According to the spec it should be uppercase (but parsing is case insensitive)
2017-09-28 23:03:27 -04:00
David Beitey
8c8bbca7ca Minor change to highlight dev proxy behaviour (#3075) 2017-09-28 23:02:22 -04:00
Robert Panzer
a34701b718 Correct manual proxy documentation (#3185)
Correct manual proxy documentation
2017-09-28 22:59:51 -04:00
Mohamed Oun
6e5e2279a6 Improve grammar in README (#3211)
Also, clarify hot reloading a bit.
2017-09-28 21:18:52 -04:00
Joe Haddad
b2c0b3f74b Publish
- babel-preset-react-app@3.0.3
 - create-react-app@1.4.1
 - eslint-config-react-app@2.0.1
 - react-dev-utils@4.1.0
 - react-error-overlay@2.0.2
 - react-scripts@1.0.14
babel-preset-react-app@3.0.3 create-react-app@1.4.1 eslint-config-react-app@2.0.1 react-dev-utils@4.1.0 react-error-overlay@2.0.2 react-scripts@1.0.14
2017-09-26 20:19:49 -04:00
Joe Haddad
fedc539246 Fix license comments 2017-09-26 20:15:14 -04:00
Joe Haddad
9e966b4cdb Changelog for 1.0.14 2017-09-26 20:11:50 -04:00