Ian Schmitz
eee8491d57
Add TypeScript linting support ( #6513 )
...
* Initial pass adding typescript-eslint
* Add warning to shared rule set
* Add documentation for setting up VSCode extension
* Provide tsconfig path to typescript-eslitn
2019-03-14 21:17:17 -06:00
Eivind Arvesen
7ae3146037
Support React Hooks ( #5602 ) ( #5997 )
...
* Add Babel plug-in for Hooks; Add ESLint plug-in for Hooks (WIP)
* Fix transform destructuring loose config
* Add eslint-plugin-react-hooks to package.json
* Fix package.json's
* Fix eslint-plugin-react-hooks version
* Fix package.json
* Fix package.json
* Add eslint-plugin-react-hooks to script package.json
* Force array destructuring to work in loose mode only for known Hooks
* Update based on feedback from PR
* Add 'exhaustive-deps' lint rule
* Bump eslint-plugin-react-hooks to stable version
* Remove extraneous dependency from react-scripts
2019-03-14 20:36:30 -06:00
Ian Schmitz
f4f20a20d0
Support browserslist in @babel/preset-env ( #6608 )
...
* Add browserslist support to @babel/preset-env
* Support @babel/polyfill in entry point
2019-03-14 12:16:09 -07:00
Kelvin Jin
88d6f029bd
Add empty mock for http2 ( #5686 )
2019-03-13 19:50:19 -06:00
Taylor Briggs
a500ede755
Add note about npx caching ( #6374 )
...
* Add note about npx caching and link to #6119
It is necessary to uninstall any version that was previously installed for the typescript flag to work when using npx.
* Use proper casing for TypeScript
Co-Authored-By: TaylorBriggs <TaylorBriggs@users.noreply.github.com >
2019-03-12 20:45:57 -06:00
ZHAO Jinxiang
b60f56fca7
change named import into default import ( #6625 )
2019-03-12 07:34:12 -07:00
Salvador Hernandez
dc133a351f
Stage files for commit after ejecting ( #5960 )
...
* add command to add files to staging after eject
* update console.log message
* wrap git add in a try/catch block
* return true & update log message
* add test to check if files were staged
* Fix check for staged files
2019-03-11 22:06:37 -06:00
Ian Schmitz
3c9c21a285
Upgrade dependencies ( #6614 )
...
* Upgrade dependencies
* Upgrade a couple missed deps
* Run Prettier over codebase
2019-03-11 20:45:14 -06:00
Jannis Hell
5b77280dad
Make compiler variable const instead of let ( #6621 )
...
compiler is not being reassigned, so we can use a const here
2019-03-11 12:42:20 -07:00
Ian Schmitz
1a04b96795
Type check JSON files ( #6615 )
2019-03-11 10:20:00 -06:00
ZHAO Jinxiang
e4fdac2418
Change class components to functional components in templates ( #6451 )
...
* change class component to function component
* Update packages/react-scripts/template/src/App.js
Co-Authored-By: xiaoxiangmoe <xiaoxiangmoe@gmail.com >
* Update packages/react-scripts/template-typescript/src/App.tsx
Co-Authored-By: xiaoxiangmoe <xiaoxiangmoe@gmail.com >
2019-03-11 10:05:21 -06:00
Mike Beaton
ed86da9ed3
Convert JSON.stringify \n to os.EOL when writing tsconfig.json ( #6610 )
2019-03-11 08:47:16 -07:00
Aftab Khan
2591590194
Update html-webpack-plugin ( #6361 )
2019-03-10 13:22:19 -06:00
John Reilly
bac02873eb
Enable click to go to error in console for TypeScript ( #6502 )
...
* reattempt changes
* formatter fixes
* fix missing colon in path
* revert path tweaking amends as per discussion with @ianschmitz
2019-03-10 09:31:30 -07:00
ThePrez
c54e36d810
Update webpack-dev-server to 3.2.1 ( #6483 )
...
* Upgrade webpack-dev-server to 3.2.1
2019-03-09 11:58:03 -08:00
JBallin
6a034ba023
[docs] revert removal of newlines from html ( #6386 )
...
An unintended change was merged in #6062
2019-03-09 11:52:11 -08:00
Ian Sutherland
c17e25bf7f
Publish
...
- create-react-app@2.1.8
- react-dev-utils@8.0.0
- react-scripts@2.1.8
v2.1.8
react-scripts@2.1.8
react-dev-utils@8.0.0
create-react-app@2.1.8
2019-03-06 17:53:30 -07:00
Ian Sutherland
529a3d77b7
Prepare 2.1.8 release
2019-03-06 17:51:41 -07:00
Ian Sutherland
1548a0a92e
Reapply "Speed up TypeScript v2 ( #6406 )" ( #6586 )
...
This reverts commit b2cf28b7f1 and reapplies #6406 .
2019-03-06 17:46:38 -07:00
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