Explorer: Bump react-scripts and typescript to v4 (#13216)
This commit is contained in:
parent
f96ab5a818
commit
6fa40f10d1
File diff suppressed because it is too large
Load Diff
|
@ -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": {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable @typescript-eslint/no-redeclare */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
enums,
|
enums,
|
||||||
object,
|
object,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable @typescript-eslint/no-redeclare */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
StructType,
|
StructType,
|
||||||
pick,
|
pick,
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable @typescript-eslint/no-redeclare */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
StructType,
|
StructType,
|
||||||
enums,
|
enums,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable @typescript-eslint/no-redeclare */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
StructType,
|
StructType,
|
||||||
number,
|
number,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable @typescript-eslint/no-redeclare */
|
||||||
|
|
||||||
import {
|
import {
|
||||||
StructType,
|
StructType,
|
||||||
enums,
|
enums,
|
||||||
|
|
|
@ -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>;
|
||||||
|
|
|
@ -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"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue