Commit Graph

147 Commits

Author SHA1 Message Date
Joe Haddad
2d765637cd Update README.md 2017-09-09 22:25:58 +02:00
Ade Viankakrisna Fadlil
e08b789c2e Format UglifyJs error (#2650)
* format UglifyJs error

* move formatBuildError to react-dev-utils

* fix readme

* use regex for plucking the path from stack

* make path human readable and fallback to show error if regex not matched

* rename to printBuildError and add link to the docs

* fix link indentation

* improve readibility + shorten link
2017-09-09 22:25:57 +02:00
Joe Haddad
de34cf6501 Update README.md 2017-09-09 22:25:56 +02:00
Joe Haddad
791df185e9 Update README.md 2017-09-09 22:25:56 +02:00
Dan Abramov
64e5869412 Add explicit "Opting Out of Caching" header (#2822) 2017-09-09 22:25:21 +02:00
zeel
c3f4b7ca06 Moved npm run build before npm test (#2725)
Closes #2713
2017-09-09 22:25:20 +02:00
Ade Viankakrisna Fadlil
494d96fdbe Docs for react-router v4 basename feature (#2668)
* Docs for react-router v4 basename feature

Fix https://github.com/facebookincubator/create-react-app/issues/2593

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-09-09 22:25:20 +02:00
Danny Ho
028b5c55de Remove Windows note for source-map-explorer (#2719)
Glob support has been added in source-map-explorer@1.4+
2017-09-09 22:25:18 +02:00
Daniel Banck
a720aa0dec Fix minor typo (#2679)
"Styleguidist combines of a style guide, ..." --> "Styleguidist combines a style guide, ..."
2017-08-07 16:17:28 +02:00
Ade Viankakrisna Fadlil
6cafdfc375 Add more info about apache client side routing (#2666)
* Add more info about apache client side routing

After a revelation in https://github.com/facebookincubator/create-react-app/issues/2593#issuecomment-311729534

* Update README.md
2017-08-07 16:17:28 +02:00
Jaco Bovenschen
22a950376c Add json and css to lint-staged in template README (#2671)
* Add json and css to lint-staged in template README

This changes the proposed way about using prettier inside the README.md, because prettier supports css since the 1.4.0 release and json since the 1.5.0 release. 

Was not sure if it was a good idea to add different regexes for json and css inside the README.md don't have a real opinion about it myself, could maybe easier for starters to do so if they wan't to add things like eslint or stylelint the the commit hooks.

* Use capitalization for Javascript, CSS and JSON

* Change 'Javascript to JavaScript'
2017-08-07 16:17:28 +02:00
Dan Abramov
9e64ca3999 Minor code style edits to user guide (#2660)
* Minor code style edits to user guide

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-08-07 16:10:59 +02:00
Dan Abramov
a7efc39606 Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist

* Update README.md
2017-08-07 16:10:59 +02:00
Colin Galindo
6f4c6969ef Add instructions to use source-map-explorer (#1641) 2017-08-07 16:10:41 +02:00
Artem Sapegin
a3fc196e56 Add React Styleguidist (#2044) 2017-08-07 16:10:27 +02:00
Maarten Hus
6d87749ee7 Added instruction on how to install Prettier (#2006)
* Added instruction on how to install Prettier

* Tweak style

* Update README.md

* Update README.md

* Support JSX

* Update README.md

* Update README.md
2017-08-07 16:09:06 +02:00
Heng Li
9e2c334171 Update README.md (#1813) 2017-08-07 16:08:22 +02:00
Gabriel Aumala
330f480090 Add more info about OOM build failiure [docs] (#2060)
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
2017-08-07 16:08:22 +02:00
James Blight
9fc378032a Update docs with WebSocket proxy information (#2305)
* Update docs with WebSocket proxy information

* Tweak wording
2017-08-07 16:08:22 +02:00
Brian Douglas
2bd9c8b919 Add yarn example under "Installing a Dependency" (#2362)
Due to many of the other examples in the README showing both `npm` and `yarn` commands.
I have added an example of how to install a dependency using `yarn`.
2017-08-07 16:08:22 +02:00
Marius Wirtherle
2a4fe99c62 docs: added REACT_EDITOR to Advanced Configuration section (#2445)
* docs: added REACT_EDITOR to `Advanced Configuration` section

* Update README.md

* Update launchEditor.js
2017-08-07 16:05:30 +02:00
Mateusz Zatorski
408ba258b2 add docs for setting up CircleCI for CRA (#2423)
* add docs for setting up CircleCI for CRA

* Reword
2017-08-07 16:03:41 +02:00
Jay V
936fb90c37 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-08-07 16:02:40 +02:00
Andi N. Dirgantara
4aa42e2921 Fix wrong comment on Proxy guide (#2447)
It should be `baz` instead of `bar` on last example.
2017-08-07 16:02:05 +02:00
Roman
e1f7da4c25 Fix broken link to React Router docs (#2538)
* Update README.md

Fix broken link to React Router documentation

* Update README.md
2017-08-07 16:02:05 +02:00
Khang Lu
733a1776db Simplify flow init docs (#2522)
- Call `npm run flow --init` won't create a .flowconfig file, it should be `npm run flow init`
2017-08-07 16:02:05 +02:00
Michael Shilman
19c7bf7368 Fix link to Storybook docs (#2521) 2017-08-07 16:02:05 +02:00
Alexandre Nicastro
89b42aaa58 Fix minor docs typo (#2500) 2017-08-07 16:02:05 +02:00
Norbert de Langen
864ef28ca5 re-add storybook && update the documentation and links (#2331)
* re-add storybook && update the documentation and links

* Change to new documentation domain
2017-08-07 16:00:38 +02:00
Ryan Sullivan
c7f79f756e Update Travis CI Node versions in User Guide (#2454)
Removed Node v4 (CRA only supports Node >= 6)
2017-08-07 16:00:38 +02:00
Rustem Kakimov
a537444d57 Fix docs typo (#2420)
"ensuring that you web app" ->
"ensuring that your web app"
2017-08-07 16:00:38 +02:00
Lufty Wiranda
3d6ead5215 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-08-07 16:00:37 +02:00
Mirza Joldic
a3b4de1847 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-08-07 15:59:41 +02: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
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
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