mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
redux-devtools-app
This commit is contained in:
parent
2bb0b07b61
commit
2d1297ff2e
|
@ -301,5 +301,5 @@ export const invertTheme = (theme: Theme | undefined): Theme | undefined => {
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Base16Theme };
|
export type { Base16Theme };
|
||||||
export * from './types';
|
export * from './types';
|
||||||
|
|
|
@ -9,10 +9,10 @@ import JSONNode from './JSONNode';
|
||||||
import createStylingFromTheme from './createStylingFromTheme';
|
import createStylingFromTheme from './createStylingFromTheme';
|
||||||
import {
|
import {
|
||||||
invertTheme,
|
invertTheme,
|
||||||
StylingConfig,
|
type StylingConfig,
|
||||||
StylingFunction,
|
type StylingFunction,
|
||||||
StylingValue,
|
type StylingValue,
|
||||||
Theme,
|
type Theme,
|
||||||
} from 'react-base16-styling';
|
} from 'react-base16-styling';
|
||||||
import { CircularPropsPassedThroughJSONTree } from './types';
|
import { CircularPropsPassedThroughJSONTree } from './types';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
build
|
build
|
||||||
dist
|
lib
|
||||||
umd
|
umd
|
||||||
|
|
8
packages/redux-devtools-app/babel.config.esm.json
Normal file
8
packages/redux-devtools-app/babel.config.esm.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
["@babel/preset-env", { "targets": "defaults", "modules": false }],
|
||||||
|
"@babel/preset-react",
|
||||||
|
"@babel/preset-typescript"
|
||||||
|
],
|
||||||
|
"plugins": ["@babel/plugin-transform-runtime"]
|
||||||
|
}
|
|
@ -9,13 +9,15 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
|
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"build",
|
||||||
|
"lib",
|
||||||
"src",
|
"src",
|
||||||
"umd"
|
"umd"
|
||||||
],
|
],
|
||||||
"main": "dist/redux-devtools-app.cjs.js",
|
"main": "lib/cjs/index.js",
|
||||||
"module": "dist/redux-devtools-app.esm.js",
|
"module": "lib/esm/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "lib/types/index.d.ts",
|
||||||
|
"sideEffects": false,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||||
|
@ -23,11 +25,14 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" 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": "yarn run build:lib && yarn run build:web && yarn run build:umd && yarn run build:umd:min",
|
||||||
"build:lib": "rollup -c",
|
"build:lib": "yarn build:cjs && yarn build:esm && yarn build:types",
|
||||||
|
"build:cjs": "babel src --extensions \".ts,.tsx\" --out-dir lib/cjs",
|
||||||
|
"build:esm": "babel src --config-file ./babel.config.esm.json --extensions \".ts,.tsx\" --out-dir lib/esm",
|
||||||
|
"build:types": "tsc --emitDeclarationOnly",
|
||||||
"build:web": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --env platform=web --progress",
|
"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": "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",
|
"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",
|
"clean": "rimraf build lib umd",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
|
@ -62,6 +67,7 @@
|
||||||
"socketcluster-client": "^14.3.2"
|
"socketcluster-client": "^14.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.16.8",
|
||||||
"@babel/core": "^7.16.12",
|
"@babel/core": "^7.16.12",
|
||||||
"@babel/eslint-parser": "^7.16.5",
|
"@babel/eslint-parser": "^7.16.5",
|
||||||
"@babel/plugin-transform-runtime": "^7.16.10",
|
"@babel/plugin-transform-runtime": "^7.16.10",
|
||||||
|
@ -69,7 +75,6 @@
|
||||||
"@babel/preset-react": "^7.16.7",
|
"@babel/preset-react": "^7.16.7",
|
||||||
"@babel/preset-typescript": "^7.16.7",
|
"@babel/preset-typescript": "^7.16.7",
|
||||||
"@rjsf/core": "^3.2.1",
|
"@rjsf/core": "^3.2.1",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
|
||||||
"@testing-library/jest-dom": "^5.16.1",
|
"@testing-library/jest-dom": "^5.16.1",
|
||||||
"@testing-library/react": "^12.1.2",
|
"@testing-library/react": "^12.1.2",
|
||||||
"@types/jest": "^27.4.0",
|
"@types/jest": "^27.4.0",
|
||||||
|
@ -102,13 +107,10 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rollup": "^2.66.0",
|
|
||||||
"rollup-plugin-typescript2": "^0.31.1",
|
|
||||||
"style-loader": "^3.3.1",
|
"style-loader": "^3.3.1",
|
||||||
"styled-components": "^5.3.3",
|
"styled-components": "^5.3.3",
|
||||||
"ts-jest": "^27.1.3",
|
"ts-jest": "^27.1.3",
|
||||||
"ts-node": "^10.4.0",
|
"ts-node": "^10.4.0",
|
||||||
"tslib": "^2.3.1",
|
|
||||||
"typescript": "~4.5.5",
|
"typescript": "~4.5.5",
|
||||||
"webpack": "^5.67.0",
|
"webpack": "^5.67.0",
|
||||||
"webpack-cli": "^4.9.1",
|
"webpack-cli": "^4.9.1",
|
||||||
|
|
|
@ -1,54 +0,0 @@
|
||||||
import typescript from 'rollup-plugin-typescript2';
|
|
||||||
import babel from '@rollup/plugin-babel';
|
|
||||||
|
|
||||||
const config = [
|
|
||||||
{
|
|
||||||
input: 'src/index.tsx',
|
|
||||||
output: [
|
|
||||||
{
|
|
||||||
file: 'dist/redux-devtools-app.cjs.js',
|
|
||||||
format: 'cjs',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
file: 'dist/redux-devtools-app.esm.js',
|
|
||||||
format: 'esm',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
plugins: [
|
|
||||||
typescript(),
|
|
||||||
babel({
|
|
||||||
babelHelpers: 'runtime',
|
|
||||||
extensions: ['.ts', '.tsx'],
|
|
||||||
plugins: ['@babel/plugin-transform-runtime'],
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
external: [
|
|
||||||
/@babel\/runtime/,
|
|
||||||
'react',
|
|
||||||
'react-redux',
|
|
||||||
'redux',
|
|
||||||
'localforage',
|
|
||||||
/redux-persist/,
|
|
||||||
'@redux-devtools/ui',
|
|
||||||
'socketcluster-client',
|
|
||||||
'jsan',
|
|
||||||
/react-icons/,
|
|
||||||
'styled-components',
|
|
||||||
'@redux-devtools/slider-monitor',
|
|
||||||
'prop-types',
|
|
||||||
/lodash/,
|
|
||||||
'@redux-devtools/core',
|
|
||||||
'@redux-devtools/log-monitor',
|
|
||||||
'@redux-devtools/rtk-query-monitor',
|
|
||||||
'@redux-devtools/chart-monitor',
|
|
||||||
'@redux-devtools/inspector-monitor',
|
|
||||||
'@redux-devtools/inspector-monitor-trace-tab',
|
|
||||||
'@redux-devtools/inspector-monitor-test-tab',
|
|
||||||
'javascript-stringify',
|
|
||||||
'jsondiffpatch',
|
|
||||||
'd3-state-visualizer',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export default config;
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.react.base.json",
|
"extends": "../../tsconfig.react.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib/types",
|
||||||
"types": ["webpack-env"]
|
"types": ["webpack-env"]
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
|
|
|
@ -4527,6 +4527,7 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@redux-devtools/app@workspace:packages/redux-devtools-app"
|
resolution: "@redux-devtools/app@workspace:packages/redux-devtools-app"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@babel/cli": ^7.16.8
|
||||||
"@babel/core": ^7.16.12
|
"@babel/core": ^7.16.12
|
||||||
"@babel/eslint-parser": ^7.16.5
|
"@babel/eslint-parser": ^7.16.5
|
||||||
"@babel/plugin-transform-runtime": ^7.16.10
|
"@babel/plugin-transform-runtime": ^7.16.10
|
||||||
|
@ -4545,7 +4546,6 @@ __metadata:
|
||||||
"@redux-devtools/ui": ^1.1.1
|
"@redux-devtools/ui": ^1.1.1
|
||||||
"@reduxjs/toolkit": ^1.7.1
|
"@reduxjs/toolkit": ^1.7.1
|
||||||
"@rjsf/core": ^3.2.1
|
"@rjsf/core": ^3.2.1
|
||||||
"@rollup/plugin-babel": ^5.3.0
|
|
||||||
"@testing-library/jest-dom": ^5.16.1
|
"@testing-library/jest-dom": ^5.16.1
|
||||||
"@testing-library/react": ^12.1.2
|
"@testing-library/react": ^12.1.2
|
||||||
"@types/jest": ^27.4.0
|
"@types/jest": ^27.4.0
|
||||||
|
@ -4591,14 +4591,11 @@ __metadata:
|
||||||
redux: ^4.1.2
|
redux: ^4.1.2
|
||||||
redux-persist: ^6.0.0
|
redux-persist: ^6.0.0
|
||||||
rimraf: ^3.0.2
|
rimraf: ^3.0.2
|
||||||
rollup: ^2.66.0
|
|
||||||
rollup-plugin-typescript2: ^0.31.1
|
|
||||||
socketcluster-client: ^14.3.2
|
socketcluster-client: ^14.3.2
|
||||||
style-loader: ^3.3.1
|
style-loader: ^3.3.1
|
||||||
styled-components: ^5.3.3
|
styled-components: ^5.3.3
|
||||||
ts-jest: ^27.1.3
|
ts-jest: ^27.1.3
|
||||||
ts-node: ^10.4.0
|
ts-node: ^10.4.0
|
||||||
tslib: ^2.3.1
|
|
||||||
typescript: ~4.5.5
|
typescript: ~4.5.5
|
||||||
webpack: ^5.67.0
|
webpack: ^5.67.0
|
||||||
webpack-cli: ^4.9.1
|
webpack-cli: ^4.9.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user