Use types in tscnofig to explicitly define global types (#1045)

This commit is contained in:
Nathan Bierema 2022-01-22 16:51:27 -05:00 committed by GitHub
parent 5572d5704d
commit 0576588a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
106 changed files with 319 additions and 194 deletions

View File

@ -1,4 +1,7 @@
{
"extends": "../tsconfig.react.base.json",
"compilerOptions": {
"types": ["chrome"]
},
"include": ["src"]
}

View File

@ -19,8 +19,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts",
"type-check": "tsc --noEmit"
},
@ -33,10 +33,10 @@
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@types/node": "^16.11.17",
"@types/webpack-dev-server": "^4.5.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"fork-ts-checker-webpack-plugin": "^6.5.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -6,7 +6,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.json'],
},
},
{
@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,3 +1,8 @@
module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -6,7 +6,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.json'],
},
},
{
@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,4 +1,9 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -4,8 +4,8 @@
"version": "0.1.3",
"license": "MIT",
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -27,10 +27,10 @@
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/styled-components": "^5.1.19",
"@types/webpack-dev-server": "^4.5.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -1,4 +1,9 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
{

View File

@ -13,8 +13,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -33,10 +33,10 @@
"@types/node": "^16.11.17",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/webpack-dev-server": "^4.5.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -1,3 +1,8 @@
module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -22,7 +22,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
{

View File

@ -5,4 +5,9 @@ module.exports = {
moduleNameMapper: {
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -21,12 +21,12 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --hot --env development --env platform=web --progress",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --hot --env development --env platform=web --progress",
"build": "yarn run build:lib && yarn run build:web && yarn run build:umd && yarn run build:umd:min",
"build:lib": "rollup -c",
"build:web": "webpack --env platform=web --progress",
"build:umd": "webpack --progress --config webpack.config.umd.ts",
"build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts",
"build:web": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --env platform=web --progress",
"build:umd": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --progress --config webpack.config.umd.ts",
"build:umd:min": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --env production --progress --config webpack.config.umd.ts",
"clean": "rimraf build dist umd",
"test": "jest",
"lint": "eslint . --ext .ts,.tsx",
@ -83,11 +83,11 @@
"@types/socketcluster-client": "^13.0.5",
"@types/styled-components": "^5.1.19",
"@types/testing-library__jest-dom": "^5.14.2",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -1,4 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["webpack-env"]
},
"include": ["demo", "src"]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"outDir": "lib"
"outDir": "lib",
"types": ["webpack-env"]
},
"include": ["src"]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -1,4 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts", "webpack.config.umd.ts"]
}

View File

@ -1,16 +1,19 @@
module.exports = {
extends: '../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
overrides: [
{
files: ['test/**/*.ts', 'test/**/*.tsx'],
files: ['*.ts'],
extends: '../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
},
{
files: ['test/**/*.ts'],
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,3 +1,8 @@
module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -30,7 +30,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -4,8 +4,8 @@
"version": "0.1.6",
"license": "MIT",
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -42,10 +42,11 @@
"@types/react-router": "^5.1.17",
"@types/redux-logger": "^3.0.9",
"@types/styled-components": "^5.1.19",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.react.base.json",
"compilerOptions": {
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["webpack-env"]
},
"include": ["../src", "src"]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -4,4 +4,9 @@ module.exports = {
moduleNameMapper: {
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,4 +1,9 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"outDir": "lib"
"outDir": "lib",
"types": ["chrome", "node"]
},
"include": ["src"]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest", "node", "chrome"]
},
"include": ["src", "test"]
}

View File

@ -4,8 +4,8 @@
"version": "0.1.4",
"license": "MIT",
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -40,10 +40,11 @@
"@types/react-redux": "^7.1.21",
"@types/react-router": "^5.1.17",
"@types/redux-logger": "^3.0.9",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",

View File

@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.react.base.json",
"compilerOptions": {
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["webpack-env"]
},
"include": ["../src", "src"]
"include": ["src"]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,3 +1,8 @@
module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["../src", "."]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "lib"
"outDir": "lib",
"types": ["node"]
},
"include": ["src"]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest", "node"]
},
"include": ["src", "test"]
}

View File

@ -4,8 +4,8 @@
"version": "0.1.5",
"license": "MIT",
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -42,11 +42,11 @@
"@types/react-redux": "^7.1.21",
"@types/react-router-dom": "^5.3.2",
"@types/styled-components": "^5.1.19",
"@types/webpack-dev-server": "^4.5.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^9.1.0",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -1,3 +1,8 @@
module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -9,8 +9,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -41,10 +41,11 @@
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.21",
"@types/styled-components": "^5.1.19",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.react.base.json",
"include": ["."]
"compilerOptions": {
"types": ["webpack-env"]
},
"include": ["src"]
}

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -10,11 +10,11 @@ module.exports = {
},
},
{
files: ['tests/**/*.ts', 'tests/**/*.tsx'],
files: ['test/**/*.ts', 'test/**/*.tsx'],
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tests/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
{

View File

@ -2,6 +2,11 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
moduleNameMapper: {
'\\.css$': '<rootDir>/tests/__mocks__/styleMock.ts',
'\\.css$': '<rootDir>/test/__mocks__/styleMock.ts',
},
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};

View File

@ -1,4 +0,0 @@
{
"extends": "../../../tsconfig.react.base.json",
"include": ["../src", "."]
}

View File

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["jest"]
},
"include": ["src", "test"]
}

View File

@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.react.base.json",
"compilerOptions": {
"outDir": "lib"
"outDir": "lib",
"types": ["node"]
},
"include": ["src"]
}

View File

@ -14,7 +14,7 @@ module.exports = {
extends: '../../eslintrc.ts.react.jest.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./test/tsconfig.json'],
project: ['./tsconfig.test.json'],
},
},
],

View File

@ -13,8 +13,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -39,11 +39,11 @@
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.21",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.react.base.json",
"compilerOptions": {
"types": ["webpack-env"]
},
"include": ["src"]
}

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.base.json",
"compilerOptions": {
"types": ["node", "webpack-dev-server"]
},
"include": ["webpack.config.ts"]
}

View File

@ -25,8 +25,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open",
"build": "webpack",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack serve --open",
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
"lint": "eslint . --ext .ts,.tsx",
"type-check": "tsc --noEmit"
},
@ -53,10 +53,11 @@
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.21",
"@types/webpack-dev-server": "^4.5.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -1,4 +1,7 @@
{
"extends": "../../../../tsconfig.react.base.json",
"include": ["."]
"compilerOptions": {
"types": ["webpack-env"]
},
"include": ["src"]
}

Some files were not shown because too many files have changed in this diff Show More