diff --git a/packages/redux-devtools-core/package.json b/packages/redux-devtools-core/package.json index f753bd03..8a9e2fb3 100644 --- a/packages/redux-devtools-core/package.json +++ b/packages/redux-devtools-core/package.json @@ -80,12 +80,12 @@ "redux-devtools": "^3.7.0", "redux-devtools-chart-monitor": "^1.7.2", "redux-devtools-inspector-monitor": "^0.14.0", + "redux-devtools-inspector-monitor-test-tab": "^0.6.2", + "redux-devtools-inspector-monitor-trace-tab": "^0.1.3", "redux-devtools-instrument": "^1.10.0", "redux-devtools-log-monitor": "^2.1.0", "redux-devtools-serialize": "^0.2.0", "redux-devtools-slider-monitor": "^2.0.0-5", - "redux-devtools-inspector-monitor-test-tab": "^0.6.2", - "redux-devtools-trace-monitor": "^0.1.3", "redux-persist": "^4.10.2", "socketcluster-client": "^14.3.1", "styled-components": "^5.1.1" diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.js b/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.js index d74dece2..f8ebd4cc 100644 --- a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.js +++ b/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import InspectorMonitor from 'redux-devtools-inspector-monitor'; -import StackTraceTab from 'redux-devtools-trace-monitor'; +import TraceTab from 'redux-devtools-inspector-monitor-trace-tab'; import TestTab from 'redux-devtools-inspector-monitor-test-tab'; import { DATA_TYPE_KEY } from '../../../constants/dataTypes'; import SubTabs from './SubTabs'; @@ -21,7 +21,7 @@ const DEFAULT_TABS = [ }, { name: 'Trace', - component: StackTraceTab, + component: TraceTab, }, ]; diff --git a/packages/redux-devtools-trace-monitor/.babelrc b/packages/redux-devtools-inspector-monitor-trace-tab/.babelrc similarity index 100% rename from packages/redux-devtools-trace-monitor/.babelrc rename to packages/redux-devtools-inspector-monitor-trace-tab/.babelrc diff --git a/packages/redux-devtools-trace-monitor/.eslintignore b/packages/redux-devtools-inspector-monitor-trace-tab/.eslintignore similarity index 100% rename from packages/redux-devtools-trace-monitor/.eslintignore rename to packages/redux-devtools-inspector-monitor-trace-tab/.eslintignore diff --git a/packages/redux-devtools-trace-monitor/.eslintrc.js b/packages/redux-devtools-inspector-monitor-trace-tab/.eslintrc.js similarity index 100% rename from packages/redux-devtools-trace-monitor/.eslintrc.js rename to packages/redux-devtools-inspector-monitor-trace-tab/.eslintrc.js diff --git a/packages/redux-devtools-trace-monitor/CHANGELOG.md b/packages/redux-devtools-inspector-monitor-trace-tab/CHANGELOG.md similarity index 100% rename from packages/redux-devtools-trace-monitor/CHANGELOG.md rename to packages/redux-devtools-inspector-monitor-trace-tab/CHANGELOG.md diff --git a/packages/redux-devtools-trace-monitor/LICENSE.md b/packages/redux-devtools-inspector-monitor-trace-tab/LICENSE.md similarity index 100% rename from packages/redux-devtools-trace-monitor/LICENSE.md rename to packages/redux-devtools-inspector-monitor-trace-tab/LICENSE.md diff --git a/packages/redux-devtools-trace-monitor/README.md b/packages/redux-devtools-inspector-monitor-trace-tab/README.md similarity index 93% rename from packages/redux-devtools-trace-monitor/README.md rename to packages/redux-devtools-inspector-monitor-trace-tab/README.md index 8aef3ba0..b2b3b8c7 100644 --- a/packages/redux-devtools-trace-monitor/README.md +++ b/packages/redux-devtools-inspector-monitor-trace-tab/README.md @@ -10,11 +10,11 @@ It's integrated in Redux DevTools browser extension. To use it separately with [ import React from 'react'; import { createDevTools } from 'redux-devtools'; import InspectorMonitor from 'redux-devtools-inspector-monitor'; -import TraceMonitor from 'redux-devtools-trace-monitor'; +import TraceTab from 'redux-devtools-inspector-monitor-trace-tab'; export default createDevTools( [...defaultTabs, { name: 'Trace', component: TraceMonitor }] + tabs: defaultTabs => [...defaultTabs, { name: 'Trace', component: TraceTab }] /> ); ``` diff --git a/packages/redux-devtools-trace-monitor/jest.config.js b/packages/redux-devtools-inspector-monitor-trace-tab/jest.config.js similarity index 100% rename from packages/redux-devtools-trace-monitor/jest.config.js rename to packages/redux-devtools-inspector-monitor-trace-tab/jest.config.js diff --git a/packages/redux-devtools-trace-monitor/package.json b/packages/redux-devtools-inspector-monitor-trace-tab/package.json similarity index 94% rename from packages/redux-devtools-trace-monitor/package.json rename to packages/redux-devtools-inspector-monitor-trace-tab/package.json index f88b764a..a928bb30 100644 --- a/packages/redux-devtools-trace-monitor/package.json +++ b/packages/redux-devtools-inspector-monitor-trace-tab/package.json @@ -1,8 +1,8 @@ { - "name": "redux-devtools-trace-monitor", + "name": "redux-devtools-inspector-monitor-trace-tab", "version": "0.1.3", "description": "Submonitor for Redux DevTools inspector to show stack traces.", - "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-trace-monitor", + "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-inspector-monitor-trace-tab", "license": "MIT", "author": "Mark Erikson ", "contributors": [ diff --git a/packages/redux-devtools-trace-monitor/src/StackTraceTab.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/StackTraceTab.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/StackTraceTab.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/StackTraceTab.tsx diff --git a/packages/redux-devtools-trace-monitor/src/openFile.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/openFile.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts diff --git a/packages/redux-devtools-trace-monitor/src/presets.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/presets.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/presets.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/presets.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/components/CodeBlock.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/components/CodeBlock.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/components/CodeBlock.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/components/CodeBlock.tsx diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/components/Collapsible.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/components/Collapsible.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/components/Collapsible.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/components/Collapsible.tsx diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackFrame.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackFrame.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackFrameCodeBlock.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackFrameCodeBlock.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackTrace.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackTrace.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/containers/StackTrace.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackTrace.tsx diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/dom/absolutifyCaret.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/dom/absolutifyCaret.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/dom/absolutifyCaret.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/dom/absolutifyCaret.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/dom/css.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/dom/css.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/dom/css.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/dom/css.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/generateAnsiHTML.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/generateAnsiHTML.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/generateAnsiHTML.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/generateAnsiHTML.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getLinesAround.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getLinesAround.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getLinesAround.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getLinesAround.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getPrettyURL.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getPrettyURL.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getPrettyURL.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getPrettyURL.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getSourceMap.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getSourceMap.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getStackFrames.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/getStackFrames.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/isBultinErrorName.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isBultinErrorName.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/isBultinErrorName.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isBultinErrorName.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/isInternalFile.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/isInternalFile.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/mapper.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/mapper.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/parseCompileError.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parseCompileError.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/parseCompileError.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parseCompileError.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/parser.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/parser.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/pollyfills.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/pollyfills.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/pollyfills.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/pollyfills.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/stack-frame.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/stack-frame.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/stack-frame.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/stack-frame.ts diff --git a/packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/unmapper.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/unmapper.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/react-error-overlay/utils/unmapper.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/unmapper.ts diff --git a/packages/redux-devtools-trace-monitor/src/settle-promise.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/settle-promise.ts similarity index 100% rename from packages/redux-devtools-trace-monitor/src/settle-promise.ts rename to packages/redux-devtools-inspector-monitor-trace-tab/src/settle-promise.ts diff --git a/packages/redux-devtools-trace-monitor/test/StackTraceTab.spec.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx similarity index 100% rename from packages/redux-devtools-trace-monitor/test/StackTraceTab.spec.tsx rename to packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx diff --git a/packages/redux-devtools-trace-monitor/test/__snapshots__/StackTraceTab.spec.tsx.snap b/packages/redux-devtools-inspector-monitor-trace-tab/test/__snapshots__/StackTraceTab.spec.tsx.snap similarity index 100% rename from packages/redux-devtools-trace-monitor/test/__snapshots__/StackTraceTab.spec.tsx.snap rename to packages/redux-devtools-inspector-monitor-trace-tab/test/__snapshots__/StackTraceTab.spec.tsx.snap diff --git a/packages/redux-devtools-trace-monitor/test/tsconfig.json b/packages/redux-devtools-inspector-monitor-trace-tab/test/tsconfig.json similarity index 100% rename from packages/redux-devtools-trace-monitor/test/tsconfig.json rename to packages/redux-devtools-inspector-monitor-trace-tab/test/tsconfig.json diff --git a/packages/redux-devtools-trace-monitor/tsconfig.json b/packages/redux-devtools-inspector-monitor-trace-tab/tsconfig.json similarity index 100% rename from packages/redux-devtools-trace-monitor/tsconfig.json rename to packages/redux-devtools-inspector-monitor-trace-tab/tsconfig.json