2204 Commits

Author SHA1 Message Date
Ian Sutherland
265c1592dc Publish
- babel-plugin-named-asset-import@0.3.2
 - babel-preset-react-app@8.0.0
 - confusing-browser-globals@1.0.7
 - create-react-app@3.0.0
 - eslint-config-react-app@4.0.0
 - react-app-polyfill@1.0.0
 - react-dev-utils@9.0.0
 - react-error-overlay@5.1.5
 - react-scripts@3.0.0
create-react-app@3.0.0 react-scripts@3.0.0 babel-preset-react-app@8.0.0 confusing-browser-globals@1.0.7 eslint-config-react-app@4.0.0 react-app-polyfill@1.0.0 react-dev-utils@9.0.0 react-error-overlay@5.1.5 babel-plugin-named-asset-import@0.3.2 v3.0.0
2019-04-22 12:50:29 -06:00
Ian Sutherland
6cddf9cc09 Prepare 3.0.0 release 2019-04-22 11:44:06 -06:00
Ian Sutherland
fa005d870d Update stale.yml 2019-04-20 20:19:19 -06:00
Romain François
e11ebfa0e8 Update fsevents dependency version (#6843)
Fixes #6852.

I update the dependency version of fsevents because old versions was vulnerable (CWE-59). Vulnerability found with snyk.io report
2019-04-20 18:14:46 -07:00
Ian Schmitz
2303b49c41 Add baseUrl documentation (#6847)
* Add baseUrl documentation

* Update docusaurus/docs/importing-a-component.md

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

* Update docusaurus/docs/importing-a-component.md

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

* Simplify include to match default tsconfig.json
2019-04-19 07:27:05 -07:00
Jack Zhao
200b98b81a Remove no-watch flag in favor of watchAll=false (#6848) 2019-04-19 09:35:46 +03:00
Luiz Felipe Gonçalves
022b98418e Change Create React App version in react-scripts eject warning (#6845)
* fix: change CRA version in eject warning

* Update eject.js
2019-04-18 21:30:41 -06:00
Ian Schmitz
f5b0aac411 Relax ESLint version range (#6840)
* Relax eslint version range

* Use semver package to compare versions during preflight check

* Cleanup package.json files whitespace
2019-04-17 19:46:47 -07:00
Ian Sutherland
4b5b76b79f Prepare 3.0.0 alpha release 2019-04-17 10:01:32 -06:00
Ian Sutherland
657ae2f7be Upgrade to Lerna v3 (#6829)
* Upgrade Lerna to 3.13.2

* Remove independent argument to Lerna

* Update publish command
2019-04-17 09:59:06 -06:00
Ian Sutherland
2add128835 Prepare 3.0.0 alpha release 2019-04-16 15:13:42 -06:00
Robert van Steen
e7a2d6168a Set baseUrl from jsconfig.json/tsconfig.json (#6656)
* Set baseUrl from jsconfig.json/tsconfig.json

* Resolve the path for loading modules

* Add tests for jsconfig.json

* Add jsconfig.json

* Update packages/react-scripts/scripts/start.js

* Move baseUrl test to config folder

* Remove alias test

* Use chalk from react-dev-utils

* Add lost absolute file for typescript baseUrl test

* Update packages/react-scripts/config/modules.js

* Update other references of useTypeScript to hasTsConfig

* Fix casing of TypeScript

* Keep respecting NODE_PATH for now to support multiple module paths.

* Add test for NODE_PATH

* Add fallback if NODE_PATH is not set.

* Fix node path behavior tests

* Remove debugging code from behavior test suite

* Remove more debugging code

* Show NODE_PATH deprecation warning during build


Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
Co-authored-by: Brody McKee <mrmckeb@users.noreply.github.com>
Co-authored-by: Jack Zhao <jzhao@fb.com>
2019-04-16 15:08:24 -06:00
Philip Harrison
ced3fd49ca Add directory details to packages/* package.json (#6826)
Specifying the directory as part of the repository field in a
package.json allows third party tools to provide better support when
working with monorepos. For example, it allows them to correctly
construct a commit diff for a specific package.

This format was accepted by npm in [npm/rfcs#19](https://github.com/npm/rfcs/pull/19).
2019-04-16 07:58:03 -07:00
Nathan Brown
207d9315b1 Update testMatch to also be compatible with Jest 24 (#6313) 2019-04-15 20:44:56 -07:00
Ian Sutherland
9048dd66a0 Move list of files under files key in asset manifest (#6821) 2019-04-15 21:35:25 -06:00
Travis Fischer
50c1884e62 Fix react-scripts peer dependencies link local issue (#6579) (#6580) 2019-04-15 20:59:12 -06:00
Alessandro (Ale) Segala
fdbb55022c InlineChunkHtmlPlugin works with empty publicPath (#6735)
* InlineChunkHtmlPlugin works with empty publicPath

* Update as requested
2019-04-15 20:38:31 -06:00
Ian Schmitz
bffc296a2c Update to core-js@3 (#6769)
* Update to core-js@3

* Remove references to @babel/polyfill
2019-04-14 16:53:11 -07:00
Dan
b29a163547 Copy fix (#6801) 2019-04-14 14:29:13 -07:00
Ian Sutherland
9600b1648f Fix minimum React version for SVG component support (#6820) 2019-04-14 14:27:50 -07:00
Ian Schmitz
715448783a Add link to TypeScript page in Getting Started (#6817)
This also updates our min version of Node that we ask for
2019-04-13 20:18:51 -07:00
bakuzan
431ccf9c43 Clarify production build output files documentation (#6786) 2019-04-13 14:47:33 -07:00
Parth Narielwala
e59e0920f3 Add SVG support dependency note (#6783) 2019-04-10 10:18:25 -06:00
Tom Robinson
b676bf3d4c Remove unused babel-loader from babel-preset-react-app (#6780) 2019-04-09 14:34:28 -07:00
Raphael.dev
dac046df1f Fix code comment typo (#6775) 2019-04-08 19:57:02 -07:00
Ian Schmitz
80b69edb46 Warn when using react-scripts-ts (#6770)
* Warn when using react-scripts-ts

* Update node/npm min version references
2019-04-08 18:26:38 -07:00
Francisco Joshua
a8a3ccfea5 Update link to React Testing Library docs (#6772) 2019-04-08 10:53:03 -07:00
Anurag Goel
a1d6aefc09 Add Render deployment section (#6695) 2019-04-07 23:47:55 -07:00
ZHAO Jinxiang
ebabd18333 Change NODE_ENV and PUBLIC_URL to readonly (#6750) 2019-04-07 20:18:32 +03:00
Ian Schmitz
278c62cf03 Revert "Update to core-js@3"
This reverts commit 71149650ec.
2019-04-06 16:32:19 -07:00
Ian Schmitz
71149650ec Update to core-js@3 2019-04-06 16:24:18 -07:00
Ian Schmitz
91ddd618be Update dependency versions (#6767)
Includes only minor/patch version bumps.
2019-04-06 15:16:08 -07:00
Tom Crockett
c03d6b17dc Update fork-ts-checker-webpack-plugin out of alpha (#6739)
<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots!

Happy contributing!
-->
2019-04-06 14:00:46 -07:00
Hrusikesh Panda
550274e307 Adds PostCSS Normalize (#5810)
* Add postcss-normalize plugin

* Configure PostCSS Normalize

* Add documentation

* Include the doc in sidebar

* Fix the id in sidebar.json

* Update adding-css-reset.md


Co-authored-by: Jack Zhao <jzhao@fb.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-05 10:23:59 -06:00
Pradeep Sekar
ffcd896add Update to workbox-webpack-plugin v4 (#6725)
* Update to workbox-webpack-plugin v4

* Update workbox-webpack-plugin to 4.2.0


Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-05 09:48:01 -06:00
Ian Sutherland
f1523a603a Add temporary workaround for Babel dependency issues in kitchensink-eject test suite (#6762) 2019-04-05 00:03:45 -06:00
Andrew Luca
b8a47d93cf Replace deprecated SFC with FunctionComponent (#6746) 2019-04-04 23:30:10 -06:00
Endilie Yacop Sucipto
3e336d91e0 fix: terser-webpack-plugin hanging on WSL (#6732)
* fix: terser-webpack-plugin hanging on WSL

* nits

* Merge branch 'master' into terser-parallel-bug-wsl

Co-authored-by: Jack Zhao <jzhao@fb.com>
2019-04-04 23:24:27 -06:00
Alex Guerra
ac15fae03e Fix unlogged yarn pnp message (#6759) 2019-04-04 18:07:26 -04:00
Mateusz Burzyński
42640dfce1 Only suggest that tsconfig.json is incorrect when SyntaxError is caught (#6160)
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-04 15:18:15 -06:00
Ian Sutherland
001c23eff4 Enable futureEmitAssets in webpack config (#6696) 2019-04-04 14:35:48 -06:00
Ian Sutherland
bf7d1c4b3e Add temporary workaround for Babel dependency issues in installs test suite (#6757)
This is a temporary fix to get our test suites passing so we can finish work on the 3.0 release. We still need to find and fix the root cause of this issue: #6679. This workaround should be removed once that's fixed.
2019-04-04 13:34:49 -06:00
Ian Schmitz
76fea02277 Cleanup Jest config (#6654)
General cleanup after the [Jest 24 PR](#6278). 

This also includes `jsdom@14` via https://www.npmjs.com/package/jest-environment-jsdom-fourteen. Since we have a node >= 8.10 requirement, we are able to use the latest version of `jsdom` which includes additional implementations of browser APIs such as `MutationObserver` (which we had an issue filed for over at #6617).

/cc @SimenB. Is there more you recommend we do to cleanup our [Jest config](b0cbf2caa1/packages/react-scripts/scripts/utils/createJestConfig.js) for TypeScript?

Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-04 11:00:00 -06:00
Mike Perry Y Attara
e630238d0d Add explanation for adding everything as dependencies to docs (#6082)
* Update available-scripts.md

add the reason for adding packages as dependencies

* Update available-scripts.md

* Update available-scripts.md

* Update available-scripts.md


Co-authored-by: Amy Lam <amy.r.lam@gmail.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-03 13:48:27 -06:00
Pete Nykänen
d42f8882a5 Document .graphql and .gql file loading with graphql.macro (#5481) 2019-04-03 12:21:52 -07:00
Cody Olsen
9514cb88ab Remove --coverage + --watch workaround (#4176) 2019-04-02 10:49:36 -07:00
Jack Wilsdon
1a61db58d4 Remove project property from @typescript-eslint/parser options (#6701)
* Remove project property from @typescript-eslint/parser options

The "project" property has a significant performance impact on linting,
and none our rules currently need it.

Fixes #6661.
2019-03-28 21:17:40 -07:00
Stephen Godderidge
fb6851d651 Docs: Add clarifying note about naming variables (#6491) 2019-03-25 23:13:27 -07:00
Santosh Yadav
5acb28645e Kill verdaccio in CI tasks cleanup (#6700)
Fixes #6663
2019-03-25 17:59:09 -07:00
Monish
d3b19f9789 Add clarifying documentation for how to add a sass stylesheet on Windows (#6322) 2019-03-24 13:41:41 -07:00