Commit Graph

1290 Commits

Author SHA1 Message Date
Nikolay Stoynov
2c6dd45cf4 Handle browser arguments (#7277) 2019-06-26 11:47:30 +03: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
TheBear44
bfee6069c9 Update peer dependencies in eslint-config-react-app (#7274) 2019-06-24 09:42:04 -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
Ivan Aksamentov
24489ac0a6 fix: ESLint config overrides key should be an array, not object (#7219)
Array format for `overrides` key in eslint config file is now enforced in ESLint v6. Anyone who uses `eslint-config-react-app` and ESLint v6 gets a type mismatch error. This commit fixes the error by converting the object into a one-element array containing this object.
Only 2 characters are added: `[` and `]`. The large diff is due to formatting.
2019-06-14 10:43:17 -07:00
James K Nelson
f522a0dae2 Use correct babel transform for dynamic import in dependencies (#7208) 2019-06-13 12:10:27 -06:00
Andy Hopper
56d1de2745 Disabled TS no-undef rule (#7179) 2019-06-06 11:57:30 -04:00
Sebastian Silbermann
820a521b3c Update fsevents dependency version (#7131) 2019-05-29 11:52:20 +03:00
Tobias Büschel
695ca7576a Fix minimum version error on old versions of Node.js (#6941) 2019-05-28 09:48:11 -06:00
Ian Sutherland
8e32ce57d0 Upgrade svgr to 4.2.0 (#6877) 2019-05-24 09:53:34 -06:00
James George
a98337c257 Replace opn with open (#7058)
The `opn` package has been deprecated, replaced by `open`.
2019-05-21 11:23:04 +03:00
Vincent Pizzo
bdaccf7161 Adjust typescript-eslint to not warn about typedefs when used before defined (#7079) 2019-05-20 08:40:54 -07: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 Sutherland
0905b51525 Prepare 3.0.1 release 2019-05-08 09:33:52 -06:00
Ian Schmitz
4542185dea Unpin babel-jest (#7007) 2019-05-07 10:37:12 -07:00
Ian Schmitz
6ff2bfaf55 Disable no-dupe-class-members for TypeScript (#6987) 2019-05-07 09:17:06 -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
Tore Hammervoll
c34c7436de Update dependencies babel preset with recent changes (#6887)
* Update dependencies preset to support browserslist

* Loose mode array destructuring for hooks in dependencies
2019-04-28 22:15:29 -07:00
vg-stan
c80e3feda7 Change cssmodule classname hash to use repo relative paths (#6876)
* Change cssmodule classname hash to use repo relative paths instead of system absolute paths
2019-04-27 18:48:44 -07: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 Schmitz
002260708f Fix no-useless-constructor rule in TypeScript (#6862) 2019-04-24 07:35:51 -07:00
David Cho-Lerat
c38aecf73f Fix typo in README.md (#6879) 2019-04-24 11:45:45 +03: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
Ian Sutherland
6cddf9cc09 Prepare 3.0.0 release 2019-04-22 11:44:06 -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
Ian Sutherland
4b5b76b79f Prepare 3.0.0 alpha release 2019-04-17 10:01:32 -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
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
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