end2end: upgrade create-react-app to 4.0.3

This commit is contained in:
Artur Paikin 2021-08-02 14:01:44 +01:00 committed by Antoine du Hamel
parent d1289d6b9a
commit 0760be8cc4
5 changed files with 16650 additions and 8502 deletions

View file

@ -1 +1,2 @@
SKIP_PREFLIGHT_CHECK=true
DISABLE_ESLINT_PLUGIN=true

File diff suppressed because it is too large Load diff

View file

@ -4,10 +4,9 @@
"private": true,
"homepage": "/create-react-app/",
"dependencies": {
"es6-shim": "^0.35.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.1.0"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3"
},
"scripts": {
"start": "react-scripts start",

View file

@ -1,6 +1,6 @@
import React, { Component } from 'react'
// @uppy/* are available higher up in the dependency tree, but eslint
// does not know about that.
// These are resolved from the root instead of from the local package.json in
// the create-react-app e2e test code.
/* eslint-disable import/no-extraneous-dependencies */
import Uppy from '@uppy/core'
import Tus from '@uppy/tus'

View file

@ -1,4 +1,3 @@
import 'es6-shim' // Polyfill Map and Set for React
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'