Commit Graph

363 Commits

Author SHA1 Message Date
Mirza Joldic
fbaeff2d6e Update README.md for now deployments (#2372)
Simplified steps for deploying app to `now` as a static site. No need to `serve` script in `package.json` file. As of May 15, 2017, all static deployments on `now` are free and unlimited.
2017-05-26 12:33:02 +01:00
Jin Zheng
b60f55c6bf Print file sizes with correct build folder path. (#2361)
* Print file sizes with correct build folder path.

* Just use the print the basename.
2017-05-25 16:18:29 +01:00
Dan Abramov
36e279da13 Fix broken links (#2350) 2017-05-24 16:49:56 +01:00
Emanuele Ingrosso
90f9c6bbf9 Update webpack to v2.6.0 in react-scripts (#2349) 2017-05-24 14:57:34 +01:00
Dan Abramov
7a1873c0a7 Publish
- eslint-config-react-app@1.0.4
 - react-dev-utils@2.0.1
 - react-error-overlay@1.0.6
 - react-scripts@1.0.6
2017-05-24 13:22:25 +01:00
Ryan Sullivan
55fe1369d7 Add navigateFallbackWhitelist /__* to SW Precache config (#2347)
* Add navigateFallbackWhitelist /__* to SW Precache config

* Add comments
2017-05-24 13:07:45 +01:00
Iain Beeston
0d2989ba6d Resolve flow errors in eslint JSX a11y (#2346)
* Upgraded eslint-plugin-jsx-a11y to 5.0.3 to take advantage of
  d70ac7d7975819e7a52b85465ec67a0d93eb962a
2017-05-24 11:01:31 +01:00
Dan Abramov
2558c3e32f Publish
- eslint-config-react-app@1.0.3
 - react-dev-utils@2.0.0
 - react-error-overlay@1.0.5
 - react-scripts@1.0.5
2017-05-22 17:09:28 +01:00
Dan Abramov
25f81f2bea Files in public/ folder should not be requested through proxy (#2326) 2017-05-22 17:04:17 +01:00
Pavol Madar
0d1521aabf Remove connect-history-api-fallback and cross-spawn dependencies from react-scripts (#751) (#2320) 2017-05-22 12:46:51 +01:00
Dan Abramov
7e25c9a604 Publish
- react-error-overlay@1.0.4
 - react-scripts@1.0.4
2017-05-22 12:43:47 +01:00
Dan Abramov
d649b8a0de Publish
- eslint-config-react-app@1.0.2
 - react-dev-utils@1.0.3
 - react-error-overlay@1.0.3
 - react-scripts@1.0.3
2017-05-21 20:56:22 +01:00
Dan Abramov
d558eaa94e Roll back to an older version of case-sensitive-paths-webpack-plugin (#2314) 2017-05-21 20:38:53 +01:00
Dan Abramov
ae0cb23dc9 Publish
- react-dev-utils@1.0.2
 - react-error-overlay@1.0.2
 - react-scripts@1.0.2
2017-05-20 19:20:46 +01:00
pmadar
a1749f9154 Remove unnecessary dependencies(#751) (#2283)
* Remove unnecessary dependencies(#751)

* Sort alphabetically
2017-05-20 19:08:58 +01:00
Jeffrey Posnick
eadfad28f4 Provide a no-op SW that will be served by the dev environment. (#2276)
* Provide a no-op SW that will be served by the dev environment.

* Hide no-op service worker from user
2017-05-20 19:07:43 +01:00
Milo Kang
a257e7d0fa Ejecting should ensure you have clean git status (#2221)
* Ejecting should ensure you have clean git status

* Rename function

* Style

* Minor changes

- extract function
- exclude error output for missing git
- more descriptive error message
- no need to mutate answer
- fix answering "no" to return 0 exit code
2017-05-20 18:55:16 +01:00
Dan Abramov
ba0d0daf9c Only enable host check if you use proxy, and add a way to opt out of it (#2288)
* Disable host check if you don't use proxy

* Add a way to opt out and document it
2017-05-20 18:34:16 +01:00
Dan Abramov
95cbcc41b3 Update README.md 2017-05-19 23:18:12 +01:00
Dan Abramov
cd5c6d5717 Publish
- eslint-config-react-app@1.0.1
 - react-dev-utils@1.0.1
 - react-error-overlay@1.0.1
 - react-scripts@1.0.1
2017-05-19 20:22:12 +01:00
Dan Abramov
e8063322e0 Shut down server silently, as it is too noisy 2017-05-19 20:08:05 +01:00
Dan Abramov
3a3be7478b Fix a bug on empty NODE_PATH (#2264) 2017-05-19 20:06:15 +01:00
Dan Abramov
d24311ea79 Always resolve NODE_PATH (#2261)
* Always resolve NODE_PATH

* Update env.js
2017-05-19 19:55:57 +01:00
Dan Abramov
3cd2267256 Additional fix to service worker config for "homepage" field (#2262) 2017-05-19 19:41:59 +01:00
Enguerran
d6d2f6df24 update reference with new name (#2259)
s/adding-images-and-fonts/adding-images-fonts-and-files/
2017-05-19 19:29:07 +01:00
Kelly
bf7df736f1 update readme with example of include path (#2258)
* update readme with example of include path

* Update README.md
2017-05-19 19:28:40 +01:00
Dan Abramov
22ca584b2b Work around Windows path issue in SWPrecacheWebpackPlugin (#2255) 2017-05-19 17:57:58 +01:00
Ade Viankakrisna Fadlil
c749de7f34 add noscript to template's index.html (#2224)
* add noscript to template's index.html

* Tweak message
2017-05-19 17:55:39 +01:00
Dan Abramov
f3f559937e Ignore .env.local in test environment (#2250) 2017-05-19 17:18:29 +01:00
Dan Abramov
9d98ca911e Hide React Storybook from the User Guide while it's incompatible (#2252)
* Hide React Storybook from the User Guide while it's incompatible

* Update README.md
2017-05-19 17:13:39 +01:00
Alexander James Phillips
5410aa4a9c Correct docs on which .env.* files are supported. (#2247)
* Correct which .env. files are referenced in docs

* Highlight this is not available until 1.0.0

* Formatting

* Update README.md

* Update README.md
2017-05-19 16:55:06 +01:00
Dan Abramov
2023e44126 Shame on me 2017-05-19 16:37:41 +01:00
Dan Abramov
e0b444e517 Gracefully shut down the server on signals (#2246) 2017-05-19 14:59:28 +01:00
Oleg Kuzava
4a32171331 Fix read of .env variables (#2242) 2017-05-19 14:47:21 +01:00
Tharaka Wijebandara
54ea47815a Add documentation about using code splitting (#1801)
* Add documentation about using code splitting

* Revise docs a bit

* Update README.md

* Update README.md

* Update README.md
2017-05-19 05:05:18 +01:00
Joe Haddad
741c4f0a96 Enable 1.0 docs (#2220)
* Uncomment merged PRs

* Switch to br

* Update some webpack links

* Add a little about section for PWA

* oops

* fast on subsequent visits

* Add manual proxy config instructions

* hint package.json

* Change to js for comments

* Tune wording
2017-05-19 04:58:37 +01:00
Dan Abramov
b98ba3d7ea Better document PWA stuff 2017-05-19 01:46:47 +01:00
Dan Abramov
43b819c2bb "rule keywords" => "keywords" 2017-05-18 22:46:30 +01:00
Dan Abramov
55afd862c8 Move error overlay middleware (#2216) 2017-05-18 21:01:26 +01:00
Danil Shashkov
5f93bc4d55 ES6 syntax (#2213) 2017-05-18 19:05:46 +01:00
Dan Abramov
8dc9217b61 Move more logic from react-scripts to react-dev-utils (#2209)
* Show warnings for builds

* Move WebpackDevServer helpers into react-dev-utils
2017-05-18 12:26:18 +01:00
Dan Abramov
c82c4f0561 Refactor and improve build output (#2202) 2017-05-18 01:24:42 +01:00
Dan Abramov
fd2a800f76 Disable Uglify reduce_vars (#2200) 2017-05-17 23:24:07 +01:00
Dan Abramov
ee850f5822 Bump Jest to 20.0.3 (#2196) 2017-05-17 20:10:35 +01:00
Dan Abramov
d9a2974574 Tidy up some build logs (#2197) 2017-05-17 20:10:17 +01:00
Jeffrey Posnick
c7c3a521e2 PWA-ification, via SWPrecacheWebpackPlugin + manifest.json (#1728)
* sw-precache-webpack-plugin, SW registration, manifest.json

* Documentation + a few SW tweaks.

* Added an unregister method, too, just in case.

* More info for the READMEs.

* Add minify to SWPrecacheWebpackPlugin config

* Fix SWPrecacheWebpackPlugin typo

* Fix file references in READMEmd

* Add instructions for testing service-worker locally

* Review feedback

* Some additional PWA metadata

* Use sw-precache-webpack-plugin v0.9.1 for node >=4.0.0 support

* Review feedback.

* Add manifest.json context in a comment.

* Fix typo

* Downgrade to sw-precache-webpack-plugin 0.9.1

* Hide changes in README until 1.0

* Hide changes in User Guide until 1.0

* Hide more docs
2017-05-17 19:28:27 +01:00
Kant
e7c113eb15 Webpack config typo (#2193)
* Webpack config typo

* Webpack config more typo
2017-05-17 14:30:07 +01:00
Joe Haddad
a61be9c619 Add module scope plugin (#2189)
* Add module scope plugin

* Oops

* Add comments

* Check windows seps too

* More descriptive error

* Document it
2017-05-17 12:19:52 +01:00
Dan Abramov
65ff5481d9 Ignore Moment.js locales by default (#2187)
* Ignore Moment.js locales by default

* Update README.md
2017-05-16 23:59:48 +01:00
Dan Abramov
e280254d72 Handle errors from port detector (#2182) 2017-05-16 16:57:45 +01:00