Commit Graph

951 Commits

Author SHA1 Message Date
Tomáš Szabo
71c4d116fa Minor performance improvements (#7587)
- use ESLint cache
- remove useless `watch` option in fork-ts-checker
2019-09-10 22:44:24 -07:00
Dominic Tobias
edb34118d6 Upgrade dotenv-expand to fix issues (#7531) 2019-09-10 22:27:25 -07:00
pierreneter
b3f8ef21a2 Bump version of @typescript-eslint/* (#7540) 2019-09-10 22:08:24 -07:00
Brock Wills
c9b95047b9 Explicitly check that EXTEND_ESLINT is true (#7538) 2019-09-08 20:27:06 -07:00
Jerome Leclanche
bb31710123 Disable babel-loader's cacheCompression (#7633) 2019-09-08 18:48:30 -07:00
Ian Schmitz
1f46136d96 Fix build (#7662) 2019-09-08 18:20:51 -07:00
ZHAO Jinxiang
6560858398 Remove trailing spaces from manifest.json (#7585) 2019-08-23 09:20:26 +02:00
Ian Sutherland
4410f5ec30 Publish
- create-react-app@3.1.1
 - eslint-config-react-app@5.0.1
 - react-dev-utils@9.0.3
 - react-error-overlay@6.0.1
 - react-scripts@3.1.1
2019-08-13 13:41:52 -06:00
Ian Schmitz
cbaed7f9ff Fix ESLint 6 support (#7513)
* Remove extends restriction to fix ESLint 6 support

* Attempt to resolve CI errors
2019-08-13 11:24:29 -06:00
Ian Sutherland
a21e6b1d17 Don't block static files in robots.txt (#7508) 2019-08-12 09:28:28 -06:00
Ian Sutherland
a78ff74309 Publish
- babel-plugin-named-asset-import@0.3.3
 - babel-preset-react-app@9.0.1
 - confusing-browser-globals@1.0.8
 - create-react-app@3.1.0
 - eslint-config-react-app@5.0.0
 - react-app-polyfill@1.0.2
 - react-dev-utils@9.0.2
 - react-error-overlay@6.0.0
 - react-scripts@3.1.0
2019-08-09 16:37:31 -06:00
ZHAO Jinxiang
538943ffbd Add readonly modifier for css module (#7497) 2019-08-09 14:03:11 -06:00
ZHAO Jinxiang
a48a054409 Bump version of sass-loader (#7496) 2019-08-09 11:28:25 -06:00
Andrea Puddu
efaee65e90 Fix RegExp from navigateFallbackBlacklist (workbox) (#7176)
Exclude URLs that contains a "?" character.
2019-08-08 16:07:50 -06:00
Kent C. Dodds
9678bbb4bf Support configuring coveragePathIgnorePatterns (#7080) 2019-08-08 15:13:45 -06:00
Ian Schmitz
91c2673e59 Bump dependencies (#7473) 2019-08-08 14:12:34 -07:00
Jack Cross
ea2bcb7f59 Use readConfigFile instead of require for tsconfig (#7248) 2019-08-07 21:00:56 +03:00
dominic scanlan
65a891c2e0 Optimise templates for Lighthouse (#7482) 2019-08-07 12:29:28 +03:00
Igor Muchychka
ae671dc9fe Specify roots in Jest config (#7480) 2019-08-06 20:42:57 -07:00
Andrew Luca
914c95e87f Resolve relative paths for preprocessor styles (#5829)
preprocessor will output sourceMap by default
then check if sourceMaps are needed on resolve-url-loader

Fixes #4653
2019-08-05 20:28:09 -07:00
Sibiraj
066053c8b7 Set jsonpFunction to prevent conflicts (#5951) 2019-08-05 11:24:46 +03:00
Darius Tall
30fc0bf5ed Suggest jsx: "react" in tsconfig (#7472) 2019-08-03 17:21:51 -07:00
Brody McKee
404af90d9a Add ESLint 6 support (#7415) 2019-07-28 15:05:54 +03:00
Brody McKee
cbad256a4a Add explicit check for --watchAll=false (#7433)
Resolves #7180.
2019-07-26 12:26:57 -06:00
Alex Guerra
58fad404cd Update url-loader to 2.0.1
This closes #7359 by making IMAGE_INLINE_SIZE_LIMIT=0 actually disable image inlining.

We use url-loader's `limit` option to set the line at which images will be inlined, and we basically expose this option to our end users via the IMAGE_INLINE_SIZE_LIMIT environment variable. Most people using it want to disable inlining images all together (the major motivator for adding it at all was I think for strict CSP), and our documentation said setting the value to zero would do that. However, it did the opposite: url-loader treated zero as "no limit".

The update to 2.x fixes this; zero means nothing gets inlined. The other changes from the version bump shouldn't affect us:
- minimum node version is 8.9.x, we already require 8.10.x
- the limit was "greater than", is now "greater than or equal to"
2019-07-18 15:56:16 -05:00
Brody McKee
3495286f8f Allow extending config used in eslint-loader (#7036) 2019-07-16 12:17:52 +03:00
Sudhir Mitharwal
dc50dd320e Allow title to be set when importing SVGs (#7118) 2019-07-15 17:54:19 +03:00
Min ho Kim
7c0dfef237 Fix various typos (#7355) 2019-07-15 17:12:35 +03:00
Brian Muenzenmeyer
4c0d8b64aa fix(eject): guard against empty key before access (#7289)
closes #7288
2019-07-02 20:44:03 -04:00
Ian Sutherland
a88a4c3af6 Upgrade webpack to 4.35.0 to fix dynamic import issue (#7257)
* Upgrade webpack to 4.35.0 to fix dynamic import issue

* Add a test maybe?
2019-06-24 12:25:15 -06:00
Peter Bengtsson
9d70c7afab Add environment variable to control image inlining threshold (#6060)
Fixes #3437
2019-06-17 21:25:39 -07:00
Ian Schmitz
45197e67fd Update @typescript-eslint package versions (#7222) 2019-06-14 11:14:01 -07:00
Sebastian Silbermann
820a521b3c Update fsevents dependency version (#7131) 2019-05-29 11:52:20 +03:00
Ian Sutherland
8e32ce57d0 Upgrade svgr to 4.2.0 (#6877) 2019-05-24 09:53:34 -06:00
James Friedman
e2f43a06a6 Allow additional Jest config keys (#6055) 2019-05-12 14:30:58 +03:00
Ian Sutherland
57ef103440 Publish
- babel-preset-react-app@9.0.0
 - create-react-app@3.0.1
 - eslint-config-react-app@4.0.1
 - react-app-polyfill@1.0.1
 - react-dev-utils@9.0.1
 - react-error-overlay@5.1.6
 - react-scripts@3.0.1
2019-05-08 09:36:40 -06:00
Ian Schmitz
4542185dea Unpin babel-jest (#7007) 2019-05-07 10:37:12 -07:00
Ian Schmitz
bf886bc49f Temporary fix for babel-jest preflight error (#7002)
* Temporary fix for babel-jest preflight error

* Update babel-jest in react-error-overlay
2019-05-07 06:51:47 -07:00
Ian Schmitz
4397d069d9 Disable default-case lint rule for TypeScript (#6937) 2019-05-03 13:22:09 -07:00
Maël Nison
b36d1ea1aa Adds the configuration for PnP/Typescript (#6856)
* Adds the configuration for PnP/Typescript

* Adds the header

* Bumps ts-pnp

* Bumps fork-ts-checker-webpack-plugin
2019-05-01 15:04:44 -06:00
Cory Reed
a2ae8a79c0 Remove Object.assign from MiniCssExtractPlugin options (#6854) 2019-04-29 09:31:50 -06:00
Dallon Feldner
785dd47937 Generate SVG component name in Jest fileTransform (#6706) 2019-04-25 15:35:03 -06:00
Petr Huřťák
73d5579e01 Remove body padding reset from templates (#6300)
* remove padding 0 on body from default styles

* Update index.css
2019-04-24 11:32:05 -06:00
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
2019-04-22 12:50:29 -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
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
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