Commit Graph

2118 Commits

Author SHA1 Message Date
Ian Sutherland
e69ad37fcf Publish
- create-react-app@2.1.7
 - react-dev-utils@7.0.5
 - react-scripts@2.1.7
react-scripts@2.1.7 react-dev-utils@7.0.5 create-react-app@2.1.7 v2.1.7
2019-03-06 17:40:34 -07:00
Ian Sutherland
3a37bb0039 Prepare 2.1.7 release 2019-03-06 17:39:04 -07:00
Ian Sutherland
b2cf28b7f1 Revert "Speed up TypeScript v2 (#6406)" (#6585)
This reverts commit 6a5b3cdaaa.
2019-03-06 17:33:17 -07:00
Ian Sutherland
b5887dcac7 Publish
- babel-preset-react-app@7.0.2
 - confusing-browser-globals@1.0.6
 - create-react-app@2.1.6
 - eslint-config-react-app@3.0.8
 - react-app-polyfill@0.2.2
 - react-dev-utils@7.0.4
 - react-error-overlay@5.1.4
 - react-scripts@2.1.6
create-react-app@2.1.6 react-scripts@2.1.6 babel-preset-react-app@7.0.2 confusing-browser-globals@1.0.6 eslint-config-react-app@3.0.8 react-app-polyfill@0.2.2 react-dev-utils@7.0.4 react-error-overlay@5.1.4 v2.1.6
2019-03-06 16:17:21 -07:00
Ian Sutherland
7782f9db95 Prepare 2.1.6 release 2019-03-06 15:58:39 -07:00
Bimochan Shrestha
ff19e0a6d2 Fix build deployment instruction link appends comma at end (#6511) 2019-02-24 14:45:06 -08:00
Ian Sutherland
0793d48fc1 Remove AppVeyor config files (#6493) 2019-02-22 11:19:50 -07:00
Saransh Kataria
01fbb7993f removed redundant statements (#6254)
The enabled by default statement made sense when the developer was supposed to disable flow in order to use ts. Both those statements in there create some confusion about it in my opinion.
2019-02-21 22:31:55 -08:00
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
Amy Lam
b8386fe04f Merge pull request #6481 from adyouri/master
Fix a typo
2019-02-21 08:41:31 -08:00
Pete Nykänen
9fcc45abd1 Merge pull request #6482 from mattfwood/patch-1
minor typo fix in openBrowser
2019-02-21 17:42:44 +02:00
Matt Wood
38ae7348c8 minor typo fix in openBrowser 2019-02-21 09:40:00 -06: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
Abdelhadi Dyouri
a5c6112b8b Fix a typo 2019-02-21 14:43:50 +00:00
Ian Schmitz
6c8e2e53c5 Use contenthash instead of chunkhash for better long-term caching (#6387) 2019-02-20 18:24:19 -08:00
Ian Sutherland
87191e68d4 Remove latest Node version from Travis config (#6474) 2019-02-20 16:41:31 -07:00
Jack Zhao
28f5427979 revert css sourcemaps in development (#6472)
This fixes #6399.
2019-02-20 16:16:18 -05:00
Leigh Halliday
d57fd37d2d Convert all bit.ly links from http to https (#6239) 2019-02-19 09:25:19 -07:00
Ian Sutherland
0b8cfa1cca Add CODEOWNERS 2019-02-18 19:23:26 -07:00
Ian Schmitz
6a5b3cdaaa Speed up TypeScript v2 (#6406)
* Revert "Revert "Speed up TypeScript projects (#5903)""

This reverts commit 544a5943ce.

* Move fork-ts-checker dep to react-dev-utils

* Convert WebpackDevServerUtils.createCompiler to take in options arg

* Update README.md for react-dev-utils
2019-02-18 16:31:44 -08:00
Deniz Susman
8a12ddf67f Fix typo in doc (#6454)
"Collocation" insead of "Colocation".
2019-02-18 08:36:43 -08:00
Meo H
a8af55dc7e Only use yarn.lock.cached if using the default Yarn registry (#6253) 2019-02-18 14:49:55 +00:00
Ian Schmitz
09def49be5 Revert "Switch to eval-source-map (#5060)" (#6444)
This reverts commit 773d103986.
2019-02-18 06:50:16 -05:00
Aaron Reisman
df3e73f454 Exclude .d.ts files from TypeScript glob 2019-02-17 10:17:49 +02:00
Dan Abramov
8026a51c53 Update the docs to match #5846 2019-02-15 13:54:04 +00:00
Gasim Gasimzada
319cf9b9e1 Add forward ref to SVG Component (#5457)
* Add forward ref to SVG component

* Write proper component for the ref test

* Add ref to jest svg transform and fix tests

* Fix SVG file location

* Use proper `ref` instead of svgRef in tests

* Add ref to svgr loader
2019-02-14 12:20:39 -07:00
Ian Schmitz
67e8e2cba6 Update stale.yml 2019-02-13 19:52:57 -08: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
Juan Picado @jotadeveloper
c6eca6e498 Add information for usage custom registries on e2e testing #4488 (#5767) 2019-02-11 17:15:41 -05:00
Ian Schmitz
1548e39bf7 Publish
- create-react-app@2.1.5
 - react-dev-utils@7.0.3
 - react-scripts@2.1.5
react-scripts@2.1.5 react-dev-utils@7.0.3 create-react-app@2.1.5 v2.1.5
2019-02-11 08:36:54 -08:00
Ian Schmitz
59bf92e46d Prepare 2.1.5 release 2019-02-11 08:19:19 -08:00
Ian Schmitz
544a5943ce Revert "Speed up TypeScript projects (#5903)"
This reverts commit 5ce09db2b3.
2019-02-11 08:10:33 -08:00
Ian Schmitz
72c49ac807 Revert "Move fork-ts-checker-webpack-plugin dependency to react-dev-utils (#6395)"
This reverts commit c2b715847c.
2019-02-11 08:10:10 -08:00
X.L
c2b715847c Move fork-ts-checker-webpack-plugin dependency to react-dev-utils (#6395) 2019-02-11 07:41:55 -08:00
Ian Schmitz
b02f181d0d Publish
- babel-plugin-named-asset-import@0.3.1
 - babel-preset-react-app@7.0.1
 - create-react-app@2.1.4
 - eslint-config-react-app@3.0.7
 - react-app-polyfill@0.2.1
 - react-dev-utils@7.0.2
 - react-error-overlay@5.1.3
 - react-scripts@2.1.4
babel-plugin-named-asset-import@0.3.1 react-scripts@2.1.4 react-error-overlay@5.1.3 react-dev-utils@7.0.2 react-app-polyfill@0.2.1 eslint-config-react-app@3.0.7 create-react-app@2.1.4 babel-preset-react-app@7.0.1 v2.1.4
2019-02-10 13:48:33 -08:00
Ian Schmitz
bd8c405018 Prepare 2.1.4 release 2019-02-10 13:23:35 -08:00
Ian Schmitz
b7e0158441 Upgrade dependencies (#6393) 2019-02-10 12:24:40 -08:00
Ian Schmitz
5a7dc2d1c0 Revert "Check for multiple project names when initializing (#6080)"
This reverts commit a78be99b5e.
2019-02-10 10:59:41 -08: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
Dan Abramov
782d71b957 Add Jest typeahead plugin (#5213)
* Add Jest typeahead plugin

* Update jest-watch-typeahead to 0.2.1
2019-02-10 08:13:27 -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
Andrew Turgeon
42ed676f77 Update babel-plugin-macros 2.4.4 -> 2.4.5 (#6307)
As part of the latest babel-plugin-macros [2.4.5 release](https://github.com/kentcdodds/babel-plugin-macros/releases/tag/v2.4.5), there was a small fix that went in that fixes a [bug](https://github.com/kentcdodds/babel-plugin-macros/pull/100) specifying the `babelMacros` entry in `package.json` no longer working. This patch version increase should remedy the issue and allow specifying babel macro configuration in the `package.json` file again (as stated in the [user docs](https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md#config-experimental) of babel-plugin-macros)
2019-02-09 14:39:06 -08:00
Dominik Palo
caf0a30e38 Use semicolons in the ProcessEnv interface (#6364) 2019-02-08 07:41:30 -08:00
Yangshun Tay
84c1c5423b Upgrade Docusaurus and enable new features 2019-02-08 22:29:41 +08:00
zhuoli99
18d5e87b75 Sass source map for dev (#5713)
Sass source map for dev
2019-02-07 21:18:50 -08:00
Timothy
817ecb1bb6 Update ZEIT Now deployment instructions (#6359) 2019-02-08 00:00:52 -05:00
Tomáš Szabo
5ce09db2b3 Speed up TypeScript projects (#5903)
As a lot of [people](https://hackernoon.com/why-i-no-longer-use-typescript-with-react-and-why-you-shouldnt-either-e744d27452b4) is complaining about TypeScript performance in CRA, I decided to enable `async` mode in TypeScript checker.

These changes basically brings the JS compilation times to TS projects. So, recompilation took less than 1 second instead of 3 seconds in medium size project.

The problem with async mode is that type-errors are reported after Webpack ends up recompilation as TypeScript could be slower than Babel. PR allows to emit files compiled by Babel immediately and then wait for TS and show type errors in terminal later. Also, if there was no compilation errors and any type error occurs, we trigger a hot-reload with new errors to show error overlay in browser.

Also, I wanted to start a discussion about `skipLibCheck: false` option in default `tsconfig.json`. This makes recompilations really slow and we should consider to set it to `true` or at least give users a big warning to let them know that it could be really slow.

The following video is showing the updated workflow with a forced 2.5 second delay for type-check to give you an idea how it works.

![nov-26-2018 15-47-01](https://user-images.githubusercontent.com/5549148/49021284-9446fe80-f192-11e8-952b-8f83d77d5fbc.gif)


I'm pretty sure that PR needs some polishing and improvements but it should works as it is. Especially a "hack" with reloading the browser after type-check looks ugly to me.

cc @brunolemos as he is an initiator of an original TypeScript PR.

Should fix https://github.com/facebook/create-react-app/issues/5820
2019-02-07 19:34:52 -08:00
Chris Self
1deb811c5d Make manifest.json description more generic (#6355) 2019-02-06 19:40:17 -08:00
Nathan Schneider
aa25c77bbc Fix missing article in README (#6346) 2019-02-06 09:56:36 +02:00
gottfired
1648ce8106 Fix order of args in tasks/cra test (#6342) 2019-02-05 09:45:57 +02:00