Commit Graph

149 Commits

Author SHA1 Message Date
Ioannis Cherouvim
7ec36479b3 Improved language used in markdown code blocks. (#6419)
* Improved language used in code blocks.
2019-02-21 21:16:33 -08:00
Martin Litvaj
01ecfc1337 Analyse also dependencies bundle (#6438)
The current `analyze` script only analises the `/src` code. This change leverages new version of `source-map-explorer` that is able to analyse multiple bundles at once, including the  3rd party dependencies bundle which is in my opinion even more important to analyze.
2019-02-21 06:50:21 -08:00
Deniz Susman
8a12ddf67f Fix typo in doc (#6454)
"Collocation" insead of "Colocation".
2019-02-18 08:36:43 -08:00
Dan Abramov
8026a51c53 Update the docs to match #5846 2019-02-15 13:54:04 +00:00
Amy Lam
8944aab66d Merge pull request #6365 from yangshun/docusaurus-upgrade
Upgrade Docusaurus and enable new features
2019-02-12 18:26:48 -07:00
Ian Schmitz
4c02980f4c Update docs links to prefer HTTPS for supported domains (#6383)
* Update docs links to prefer HTTPS for supported domains

* Fix existing typos
2019-02-10 08:26:49 -08:00
JBallin
313e472331 [docs] Warn/clarify that env vars are NOT "SECRET" (#6062)
* [docs] Warn about storing secrets in env vars

Fixes #5676

Co-Authored-By: Ian Schmitz <ianschmitz@gmail.com>

* [docs] Add NOT to REACT_APP_SECRET_CODE

Fixes #5676

* [docs] Remove line breaks
2019-02-09 17:41:24 -08:00
Yangshun Tay
84c1c5423b Upgrade Docusaurus and enable new features 2019-02-08 22:29:41 +08:00
Timothy
817ecb1bb6 Update ZEIT Now deployment instructions (#6359) 2019-02-08 00:00:52 -05:00
Rico Kahler
dea19fdb30 Add --no-watch test flag to docs (#6331) 2019-02-04 09:21:05 +02:00
Nikita Lyzhov
1c591cb7a4 Update serve change listening port documentation (#6229)
* [docs] Change serve port flag and add example

* [docs] Add --listen flag
2019-01-20 13:46:50 -07:00
Ben Carp
ed5fb1066b Update updating-to-new-releases.md with note about global installs (#6190)
* Update updating-to-new-releases.md

Related to https://github.com/facebook/create-react-app/issues/6140

* Update updating-to-new-releases.md

Linking to getting started following discussion on #6190. 
Adapt terminology to current installation methods.

* Update updating-to-new-releases.md

typo, rleative link

* Update docusaurus/docs/updating-to-new-releases.md

Co-Authored-By: carpben <carpben@users.noreply.github.com>
2019-01-19 19:13:37 -07:00
Steven Tan
803946fe58 Changes to steps for publishing GitHub User Page (#6095)
* Changes to steps for publishing GitHub User Page

Remove the the step for switching to gh-pages branch as it is no longer a viable option.

* Changed projects to project
2019-01-16 18:39:34 -08:00
Ian Schmitz
2741781bc6 Add note for global install of CLI (#6157)
* Add note for global install of CLI

Closes #6140.
2019-01-09 13:16:09 -08:00
loveky
caf0effda5 update link for difference between proposal stages (#6149)
seems the page which the old link points to has removed the related information.
2019-01-08 07:36:06 -08:00
Yangshun Tay
ddf294159f Remove extra table cell (#6141) 2019-01-07 07:53:08 -08:00
Hardo
dae67ff06a Fix typo in CSS modules docs (#6067) 2019-01-04 17:18:24 +02:00
Dan Abramov
c8c3e48abd Update adding-typescript.md 2019-01-03 15:38:20 +00:00
Janne R
86eb24d4a6 Replace deprecated VSCode launch.json variable (#6110)
Replace deprecated ${workspaceRoot} variable with ${workspaceFolder} in VSCode launch.json. See https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
2019-01-01 14:02:48 -08:00
Jason Quense
e7b975e8c2 Generalize the Bootstrap documentation (#5631)
* Generalize the adding bootstrap documentation

* Update adding-bootstrap.md

* Update adding-bootstrap.md

* Update adding-bootstrap.md
2018-12-24 12:58:45 -07:00
Lukas Werfel
42a1b5acb2 Update eslint instructions in docs (#6084)
Add a note that it will work in IDE with 2.0.3 and later
2018-12-24 10:42:57 -05:00
Denis Mukhametov
0f4781e850 Fix control comment fo CSS Grid prefixing (#6061)
"on" value of "autoprefixer grid" is kinda deprecated. It's better to use "autoplace" or "no-autoplace" instead.
https://github.com/postcss/autoprefixer#options

"autoplace" enables PostCss' autoplace polyfill for ie and makes prefixes, "no-autoplace" only makes prefixes
https://github.com/postcss/autoprefixer#does-autoprefixer-polyfill-grid-layout-for-ie
2018-12-23 14:59:01 -05:00
Matheus Souza
45bc6280d1 Fix Markdown comment in proxying docs (#6009) 2018-12-11 09:35:24 -07:00
Max Belsky
4a6007e035 Add docs for creating new TypeScript project (#6015) 2018-12-11 09:45:39 +02:00
Ian Schmitz
8985924521 Add production build section to docs (#5900) 2018-12-08 14:14:25 -08:00
Manoel
a9cf551db7 Update eslint instructions in docs (#5990) 2018-12-08 09:02:58 +02:00
Ian Sutherland
2fa4c8a18e Use https for linked images in docs to fix mixed content warnings (#5985) 2018-12-06 12:58:33 -07:00
Nicolas Goutay
af0a854a6c Add removeItem to localStorage mock in docs (#5919) 2018-12-05 15:41:58 -07:00
Jayant Bhawal
013c8f2c73 Add SASS_PATH instructions to Sass docs (#5917)
`node-sass` supports the SASS_PATH variable that we can use. This PR adds that to the documentation.
2018-12-04 09:45:56 -07:00
Adam Laycock
5352a0c046 Add note to docs about using Sass and Flow together (#5823)
* Add default values to `file_ext` note

* Update note to include a link to the relevant docs

* Update copy to indicate the default values

* Add missing space
2018-11-27 16:06:33 -07:00
Wendy Smoak
de44ef806d Fix link to page about running tests (#5883) 2018-11-22 18:35:33 -08:00
kulek1
69babbb55a Rename 'getting started' link to 'docs' (#5806) 2018-11-14 09:27:07 -08:00
Sagir Khan
d72256c7f8 docs: Simplify installing Storybook with npx (#5788)
Reduce two-step install to just one step (per the latest storybook docs)

Change (i) `npm install -g @storybook/cli` and (ii) `sb init` to `npx -p @storybook/cli sb init`

Refs: https://storybook.js.org/basics/quick-start-guide/
2018-11-14 08:54:02 -07:00
Andy
1d8d9eaaee docs: Change Storybook install documentation (#5779) 2018-11-12 11:14:49 -07:00
Kasra Bigdeli
fbfa21621a Updated the link to firebase hosting (#5710) 2018-11-04 16:32:04 -08:00
Jing Ma
5a8fd83962 Fixed link to manifest.json file (#5704) 2018-11-04 19:24:32 -05:00
Oleksandr Melnykov
8025a0ac9e Fix broken documentation link (#5670)
Fix public folder documentation link
2018-11-04 12:03:04 -08:00
Jake Boone
c11cc81fb7 Update making-a-progressive-web-app.md (#5658) 2018-10-31 23:06:51 -04:00
Vincent
d671b8fb04 Add link to cra-ts migration guide (#5629)
For users coming from create-react-app-typescript, the added link provides instructions on how to port their app to Create React App.
2018-10-30 11:34:07 -04:00
Joe Haddad
b6e4cc70aa Add note about react-scripts version 2018-10-29 23:50:46 -04:00
Eric Feng
2a7fd5a1ea Fixing Internal Links (#5552)
* Fixing Internal Links

Internal links, like those found on [Available Scripts](https://facebook.github.io/create-react-app/docs/available-scripts)
use absolute urls and therefore link to https://facebook.github.io/docs/deployment instead of
https://facebook.github.io/create-react-app/docs/deployment.

* changing to markdown links and fixing various broken internal links
2018-10-29 14:00:28 -04:00
Joe Haddad
eca0ec0d52 Refine how TypeScript env types are handled (#5593)
* Specify types in package

* Do not remove types file on eject

* Stop copying types into generated project

* Reference react and react-dom

* Reference node types

* Install node types as well

* Restore copying

* Add Node to the list of installed types

* Reference Jest types

* Remove jest types from install

* Remove jest from CRA install

* Remove Jest reference and let user do this themselves

* Stop copying types file

* Add types key to package.json

* Add appTypeDeclarations and create when missing

* Rename declarations file

* Add Jest back to install instructions

* Minimize diff
2018-10-27 22:11:47 -07:00
Joe Haddad
6a94cc7c51 Adjust notes 2018-10-24 01:09:52 -04:00
Joe Haddad
34962872e7 Simplify TypeScript setup instructions 2018-10-24 01:07:33 -04:00
Amy Lam
618225314f Add Algolia search bar to Docusaurus (#5551) 2018-10-24 01:00:19 -04:00
Bruno Lemos
3c11efe206 Simplified TypeScript steps (#5533) 2018-10-22 15:35:51 -04:00
Joe Haddad
2cf5cca586 Update adding-typescript.md 2018-10-22 13:46:39 -04:00
Joe Haddad
e0939b6262 Automatically create a tsconfig.json when entrypoint is TypeScript 2018-10-22 08:24:48 -04:00
Joe Haddad
680cf9371a Validate tsconfig when using TypeScript (#5524)
* Sanity check TypeScript config

* Check more options

* Set all defaults and suggestions

* Update docs

* Update doc notes

* Automatically copy react app declared types to project on start

* Remove note about loaders.d.ts
2018-10-22 08:15:41 -04:00
Joe Haddad
c019942bf9 Always type check TypeScript when being used (#5515)
* Always type check TypeScript when being used

* Use alternate version
2018-10-21 18:24:33 -04:00