Commit Graph

140 Commits

Author SHA1 Message Date
Ro Savage
78dbf7bf2b Add simplified service worker invalidation (#2551)
* Add service worker invalidation

* Update valid service worker check only on local host
2017-06-27 17:07:38 +01:00
Marius Wirtherle
6a09ed1e6e docs: added REACT_EDITOR to Advanced Configuration section (#2445)
* docs: added REACT_EDITOR to `Advanced Configuration` section

* Update README.md

* Update launchEditor.js
2017-06-27 16:30:26 +01:00
Mateusz Zatorski
c22c8b3007 add docs for setting up CircleCI for CRA (#2423)
* add docs for setting up CircleCI for CRA

* Reword
2017-06-26 17:33:19 +01:00
Jeffrey Posnick
a7d31d9fa8 Determines whether PUBLIC_URL is same-origin before registering SW. (#2432) 2017-06-26 17:30:43 +01:00
Jay V
76bd132157 Docs: Added link to tutorial on code splitting (#2427)
* Adding link to tutorial on code splitting

Link to tutorial on Code Splitting with React Router

* Update README.md
2017-06-26 17:28:56 +01:00
Andi N. Dirgantara
2ab7ead907 Fix wrong comment on Proxy guide (#2447)
It should be `baz` instead of `bar` on last example.
2017-06-18 12:52:34 -04:00
Roman
e6f99359e8 Fix broken link to React Router docs (#2538)
* Update README.md

Fix broken link to React Router documentation

* Update README.md
2017-06-18 12:50:19 -04:00
Khang Lu
67f6163b0d Simplify flow init docs (#2522)
- Call `npm run flow --init` won't create a .flowconfig file, it should be `npm run flow init`
2017-06-12 13:19:12 -04:00
Michael Shilman
9b3cf2f57d Fix link to Storybook docs (#2521) 2017-06-11 23:15:26 -04:00
Alexandre Nicastro
cccd855fc8 Fix minor docs typo (#2500) 2017-06-08 02:41:29 -04:00
bryankang
b264b8de33 Prioritize index.css over the implicit App.css (#2470) 2017-06-06 00:36:13 +01:00
Norbert de Langen
e898215b7f re-add storybook && update the documentation and links (#2331)
* re-add storybook && update the documentation and links

* Change to new documentation domain
2017-06-04 08:14:16 -04:00
Ryan Sullivan
d1f37d98ab Update Travis CI Node versions in User Guide (#2454)
Removed Node v4 (CRA only supports Node >= 6)
2017-06-02 14:05:25 +01:00
Rustem Kakimov
e91648a9bb Fix docs typo (#2420)
"ensuring that you web app" ->
"ensuring that your web app"
2017-05-31 09:40:46 -04:00
Lufty Wiranda
19c5277593 docs: update jest-enzyme section (#2392)
since CRA now use the latest version of Jest under the hood,
`jest-enzyme` v3.2.0 is now working perfectly fine
2017-05-29 19:50:32 +01:00
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
Dan Abramov
36e279da13 Fix broken links (#2350) 2017-05-24 16:49:56 +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
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
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
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
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
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
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
Gabriel Aumala
8f028ae4b5 Support node scripts in BROWSER (#1590)
* Support node scripts in BROWSER

Modify OpenBrowser.js to run node scripts specified with the BROWSER environment
variable . If the value of the BROWSER environment variable ends with '.js' a
child process is spawned to execute the script with node.js. Any
arguments passed to npm start are also passed to this script, as well as
the url where the app is served.
The command executed in the child process is:

node <pathToScript> [OPTIONS] <url>

Update User Guide.

* Tweak code style

* Pin dep

* Comment out 0.10 docs
2017-05-16 00:25:04 +01:00
Cesar Varela
fa4829629a Update README.md (#2137) 2017-05-12 17:42:34 +01:00
Valerii Sorokobatko
80a7fc391d Feature/different env config files #1343 (#1344)
* support different env configs.

* fomrat code

* Hide doc

* Slightly rework the PR

* Remove .env in default template
* Use just one entry in the paths
* Unify env.js and loadEnv.js

* Oops, forgot these folks
2017-05-12 11:30:59 +01:00
Kelly
2de95c4097 Update Sass docs (#2114)
* update readme with fix from https://github.com/facebookincubator/create-react-app/issues/1939

* update with better globbing

* added note

* updating with a note and reverting previous changes

* how about this?

* refactor

* added note about new files back in after verifying locally

* spaces back in, sorry was my editor!

* removed note about new files :)

* added bullet about new files issue currently open on node-sass
2017-05-12 00:00:45 -04:00
Scott Ranger
59c439bd9f Fixed documentation link for storybook in README.md (#2081) 2017-05-04 15:23:45 +01:00
David Ascher
f762728975 Fix instructions for serving with now (#2052)
* Fix instructions for serving with now

Not sure if new, but the `--single` flag is now important.

* Keep it shorter
2017-05-02 19:23:52 +01:00
Lufty Wiranda
629d575a0a Update README.md (#2058)
* Update README.md

* Update README.md
2017-05-01 14:32:13 +01:00
Dan Abramov
851a404d18 Suggest to create .eslintrc for IDE lint plugins (#2054)
* Suggest to create .eslintrc for IDE lint plugins

* Update README.md

* Update README.md
2017-05-01 13:55:20 +01:00
Ben Pickles
33a9700173 Fix Netlify heading level. (#2033) 2017-04-25 15:14:06 +01:00
Michael Wayman
a1b56cf8b3 Update README.md CSS Preprocessor --> node-sass-chokidar alternative (#1987)
* resolves facebookincubator/create-react-app#1986 updates CSS Preprocessor docs to include information on node-sass-chokidar alternative to node-sass

* Update README.md
2017-04-22 15:33:49 -04:00
Igor Ramos
05f3f5ee81 Update doc server example to work from any directory (#1988)
* Node.js serving with absolute path

It’s safer to use the absolute path of the directory that you want to serve, in case you run the express app from another directory.

* Update README.md
2017-04-18 21:38:07 -04:00
Joseph Race
cb41a76eaa Update information in User Guide for Enzyme dependency (#1982) 2017-04-14 13:20:20 +01:00
Dan Abramov
798572a8bc Note that only jest-enzyme@2.x is compatible 2017-04-09 20:02:56 +01:00
Tom Canac
c83ee7a302 Suggest Yarn in HTML template (#1911)
* Fix npm to yarn

* yarn & npm

* Update index.html

* Switch ordering of suggestion

We should suggest NPM first for new users.
2017-04-05 13:28:32 -04:00
Jonathan
2ac3f99b69 Fix responsive behavior in iOS 9+ (#1821)
* Adding shrink-to-fit=no for proper responsive handling on Safari 9+
2017-03-22 13:49:25 -04:00
Stoicescu Cristi
c436bf356e User Guide: Removed blockquote from code section, due to markdown conflict (#1869)
* Removed blockquote from code section

* Fix the fix
2017-03-21 01:21:09 +00:00
Dan Abramov
35d84ef052 Make Surge guide more focused 2017-03-18 15:28:37 +00:00
Leo Lamprecht
8c00af1440 Suggest serve for running in production (#1760)
* Suggest `serve` for serving the `build` directory

* How to handle it with Node in prod (or other platforms)

* Pretty newline added

* Adjusted default port of static server

* Remove `open` command from output

* Removed constant assignment

* Better explanation for not using having to use a static server

* Cute newline added

* Style nits
2017-03-08 22:34:31 +00:00
Andres Suarez
837f5449a5 Add yarn steps for adding flow (#1756)
[skip ci]
2017-03-07 21:44:35 +00:00
Valerii Sorokobatko
fe7b5c212b update to modern code style (#1738)
* mv create-react-app/index.js -> create-react-app/creteReactApp.js

* update to modern code style

* var -> cosnt

* set trailing-coma to es5 for prettier
2017-03-07 19:46:10 +00:00
Rory Hunter
2ac1b38ec6 Whitelist files that can be embedded through url-loader (#1305)
* Whitelist files that can be embedded through url-loader

Change the current catch-all loader to use file-loader instead of
url-loader, and exclude common image file extensons. Add another url-loader
for images, configured identically to the original catch-all loader.

Part of issue #1293.

* Update tests to reflect change in loader config

* Integration test fix

* More CI fixes

* Work around broken loader-utils behaviour in integration tests

* Revise the documentation around file loading

* Documentation tweaks

* Docs tweak

* Update test now that webpack/loader-utils has been updated

* Update react-scripts to depend on babel-loader@7.0.0-alpha.2

* Bump deps
2017-03-07 01:24:56 -05:00