Explorer: Bump react-scripts and typescript to v4 (#13216)

This commit is contained in:
Justin Starry 2020-10-28 12:49:28 +08:00 committed by GitHub
parent f96ab5a818
commit 6fa40f10d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 7294 additions and 3604 deletions

10875
explorer/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,11 +36,11 @@
"react-countup": "^4.3.3", "react-countup": "^4.3.3",
"react-dom": "^16.14.0", "react-dom": "^16.14.0",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-scripts": "3.4.3", "react-scripts": "^4.0.0",
"react-select": "^3.1.0", "react-select": "^3.1.0",
"solana-sdk-wasm": "file:wasm/pkg", "solana-sdk-wasm": "file:wasm/pkg",
"superstruct": "github:solana-labs/superstruct", "superstruct": "github:solana-labs/superstruct",
"typescript": "^3.9.7", "typescript": "^4.0.5",
"wasm-loader": "^1.3.0" "wasm-loader": "^1.3.0"
}, },
"scripts": { "scripts": {

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { import {
enums, enums,
object, object,

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { import {
StructType, StructType,
pick, pick,

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { StructType, object, string, enums, pick } from "superstruct"; import { StructType, object, string, enums, pick } from "superstruct";
import { Pubkey } from "validators/pubkey"; import { Pubkey } from "validators/pubkey";

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { object, StructType, number, nullable, enums } from "superstruct"; import { object, StructType, number, nullable, enums } from "superstruct";
import { Pubkey } from "validators/pubkey"; import { Pubkey } from "validators/pubkey";
import { BigNum } from "validators/bignum"; import { BigNum } from "validators/bignum";

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { import {
StructType, StructType,
enums, enums,

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { import {
StructType, StructType,
number, number,

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { import {
StructType, StructType,
enums, enums,

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-redeclare */
import { object, any, StructType, string } from "superstruct"; import { object, any, StructType, string } from "superstruct";
export type ParsedInfo = StructType<typeof ParsedInfo>; export type ParsedInfo = StructType<typeof ParsedInfo>;

View File

@ -14,7 +14,8 @@
"isolatedModules": true, "isolatedModules": true,
"noEmit": true, "noEmit": true,
"jsx": "react", "jsx": "react",
"baseUrl": "src" "baseUrl": "src",
"noFallthroughCasesInSwitch": true
}, },
"include": ["src"] "include": ["src"]
} }