Przeglądaj źródła

end2end: upgrade create-react-app to 4.0.3

Artur Paikin 3 lat temu
rodzic
commit
0760be8cc4

+ 1 - 0
test/endtoend/create-react-app/.env

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

Plik diff jest za duży
+ 2665 - 2194
test/endtoend/create-react-app/package-lock.json


+ 3 - 4
test/endtoend/create-react-app/package.json

@@ -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",

+ 2 - 2
test/endtoend/create-react-app/src/App.js

@@ -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'

+ 0 - 1
test/endtoend/create-react-app/src/index.js

@@ -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'

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików