Commit Graph

190 Commits

Author SHA1 Message Date
Jeffrey Posnick
3fa1499dd3 Determines whether PUBLIC_URL is same-origin before registering SW. (#2432) 2017-08-07 16:03:40 +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
bryankang
ad5b884cfb Prioritize index.css over the implicit App.css (#2470) 2017-08-07 16:00:47 +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
Tom Crockett
62cfd49bae Remove unneeded React.Component type parameters
TypeScript's new type parameter defaulting makes these unnecessary.
2017-08-02 00:07:37 -07:00
William Monk
a445a40de5 Merge pull request #115 from nicolaserny/master
Update tsconfig to support dynamic import
2017-07-27 13:45:45 +01:00
nicolaserny
0880881d5b Add missing tsconfig.test.json file 2017-07-25 09:29:07 +02:00
nicolaserny
2133270916 update tsconfig to support dynamic import 2017-07-24 13:07:24 +02:00
Jason S
ea3fb7bb53 remove typePatches
closes wmonk/create-react-app-typescript#89
2017-07-20 10:03:50 -07:00
William Monk
d2369f887a Fix bug with new @types/react 2017-06-23 16:37:15 +01:00
William Monk
6bd33bd2ec Merge remote-tracking branch 'facebook/master' 2017-05-25 08:38:39 +01:00
Dan Abramov
36e279da13 Fix broken links (#2350) 2017-05-24 16:49:56 +01:00
William Monk
32f52bebfe Merge remote-tracking branch 'facebook/master' 2017-05-21 21:27:47 +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
Will Monk
3a47a01c40 Fix Generic Typings For react@15.5.x 2017-04-12 14:08:44 +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