From d1c222d847ac9fd441bb864674abc195f64b3175 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 10 Sep 2020 12:37:19 -0400 Subject: [PATCH] refactor(redux-devtools-inspector-monitor): rename package (#633) --- packages/devui/src/colorSchemes/default.ts | 2 +- packages/redux-devtools-core/package.json | 2 +- .../containers/monitors/InspectorWrapper/SubTabs.js | 6 +++--- .../containers/monitors/InspectorWrapper/index.js | 2 +- packages/redux-devtools-dock-monitor/README.md | 2 +- .../.babelrc | 0 .../.eslintignore | 0 .../.eslintrc.js | 0 .../CHANGELOG.md | 0 .../LICENSE.md | 0 .../README.md | 6 +++--- .../demo.gif | Bin .../demo/config/tsconfig.json | 0 .../demo/config/webpack.config.ts | 0 .../demo/src/index.html | 0 .../demo/src/js/DemoApp.tsx | 4 +++- .../demo/src/js/DevTools.tsx | 0 .../demo/src/js/getOptions.ts | 0 .../demo/src/js/index.tsx | 4 +++- .../demo/src/js/reducers.ts | 0 .../demo/tsconfig.json | 0 .../package.json | 4 ++-- .../src/ActionList.tsx | 0 .../src/ActionListHeader.tsx | 0 .../src/ActionListRow.tsx | 0 .../src/ActionPreview.tsx | 0 .../src/ActionPreviewHeader.tsx | 0 .../src/DevtoolsInspector.tsx | 0 .../src/RightSlider.tsx | 0 .../src/createDiffPatcher.ts | 0 .../src/index.ts | 0 .../src/redux.ts | 3 ++- .../src/tabs/ActionTab.tsx | 0 .../src/tabs/DiffTab.tsx | 0 .../src/tabs/JSONDiff.tsx | 0 .../src/tabs/StateTab.tsx | 0 .../src/tabs/getItemString.tsx | 0 .../src/tabs/getJsonTreeTheme.ts | 0 .../src/themes/index.ts | 0 .../src/themes/inspector.ts | 0 .../src/utils/createStylingFromTheme.ts | 0 .../src/utils/getInspectedState.ts | 0 .../src/utils/isIterable.ts | 0 .../tsconfig.json | 0 packages/redux-devtools-slider-monitor/README.md | 11 ++++------- .../examples/todomvc/package.json | 2 +- packages/redux-devtools-test-generator/README.md | 4 ++-- .../demo/src/js/DevTools.jsx | 4 ++-- packages/redux-devtools-test-generator/package.json | 2 +- packages/redux-devtools-trace-monitor/README.md | 4 ++-- packages/redux-devtools/README.md | 4 ++-- 51 files changed, 34 insertions(+), 32 deletions(-) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/.babelrc (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/.eslintignore (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/.eslintrc.js (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/CHANGELOG.md (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/LICENSE.md (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/README.md (96%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo.gif (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/config/tsconfig.json (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/config/webpack.config.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/index.html (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/js/DemoApp.tsx (99%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/js/DevTools.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/js/getOptions.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/js/index.tsx (95%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/src/js/reducers.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/demo/tsconfig.json (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/package.json (96%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/ActionList.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/ActionListHeader.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/ActionListRow.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/ActionPreview.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/ActionPreviewHeader.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/DevtoolsInspector.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/RightSlider.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/createDiffPatcher.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/index.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/redux.ts (93%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/ActionTab.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/DiffTab.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/JSONDiff.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/StateTab.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/getItemString.tsx (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/tabs/getJsonTreeTheme.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/themes/index.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/themes/inspector.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/utils/createStylingFromTheme.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/utils/getInspectedState.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/src/utils/isIterable.ts (100%) rename packages/{redux-devtools-inspector => redux-devtools-inspector-monitor}/tsconfig.json (100%) diff --git a/packages/devui/src/colorSchemes/default.ts b/packages/devui/src/colorSchemes/default.ts index d051dcd8..7a8bb211 100644 --- a/packages/devui/src/colorSchemes/default.ts +++ b/packages/devui/src/colorSchemes/default.ts @@ -1,5 +1,5 @@ // Based on unikitty theme and on -// https://github.com/alexkuz/redux-devtools-inspector/blob/master/src/themes/inspector.js +// https://github.com/reduxjs/redux-devtools/blob/master/packages/redux-devtools-inspector/src/themes/inspector.ts export default { scheme: 'default', diff --git a/packages/redux-devtools-core/package.json b/packages/redux-devtools-core/package.json index c6294d33..e9042930 100644 --- a/packages/redux-devtools-core/package.json +++ b/packages/redux-devtools-core/package.json @@ -79,7 +79,7 @@ "redux": "^4.0.5", "redux-devtools": "^3.7.0", "redux-devtools-chart-monitor": "^1.7.2", - "redux-devtools-inspector": "^0.14.0", + "redux-devtools-inspector-monitor": "^0.14.0", "redux-devtools-instrument": "^1.10.0", "redux-devtools-log-monitor": "^2.1.0", "redux-devtools-serialize": "^0.2.0", diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.js b/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.js index 4d52e689..f5d31cde 100644 --- a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.js +++ b/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.js @@ -3,9 +3,9 @@ import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Tabs } from 'devui'; -import StateTree from 'redux-devtools-inspector/lib/tabs/StateTab'; -import ActionTree from 'redux-devtools-inspector/lib/tabs/ActionTab'; -import DiffTree from 'redux-devtools-inspector/lib/tabs/DiffTab'; +import StateTree from 'redux-devtools-inspector-monitor/lib/tabs/StateTab'; +import ActionTree from 'redux-devtools-inspector-monitor/lib/tabs/ActionTab'; +import DiffTree from 'redux-devtools-inspector-monitor/lib/tabs/DiffTab'; import { selectMonitorTab } from '../../../actions'; import RawTab from './RawTab'; import ChartTab from './ChartTab'; 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 4403b998..b281b065 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,6 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import InspectorMonitor from 'redux-devtools-inspector'; +import InspectorMonitor from 'redux-devtools-inspector-monitor'; import StackTraceTab from 'redux-devtools-trace-monitor'; import TestTab from 'redux-devtools-test-generator'; import { DATA_TYPE_KEY } from '../../../constants/dataTypes'; diff --git a/packages/redux-devtools-dock-monitor/README.md b/packages/redux-devtools-dock-monitor/README.md index ffeac664..16aff434 100644 --- a/packages/redux-devtools-dock-monitor/README.md +++ b/packages/redux-devtools-dock-monitor/README.md @@ -22,7 +22,7 @@ For example, you can use it together with [`LogMonitor`](https://github.com/redu import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; -import SliderMonitor from 'redux-slider-monitor'; +import SliderMonitor from 'redux-devtools-slider-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( diff --git a/packages/redux-devtools-inspector/.babelrc b/packages/redux-devtools-inspector-monitor/.babelrc similarity index 100% rename from packages/redux-devtools-inspector/.babelrc rename to packages/redux-devtools-inspector-monitor/.babelrc diff --git a/packages/redux-devtools-inspector/.eslintignore b/packages/redux-devtools-inspector-monitor/.eslintignore similarity index 100% rename from packages/redux-devtools-inspector/.eslintignore rename to packages/redux-devtools-inspector-monitor/.eslintignore diff --git a/packages/redux-devtools-inspector/.eslintrc.js b/packages/redux-devtools-inspector-monitor/.eslintrc.js similarity index 100% rename from packages/redux-devtools-inspector/.eslintrc.js rename to packages/redux-devtools-inspector-monitor/.eslintrc.js diff --git a/packages/redux-devtools-inspector/CHANGELOG.md b/packages/redux-devtools-inspector-monitor/CHANGELOG.md similarity index 100% rename from packages/redux-devtools-inspector/CHANGELOG.md rename to packages/redux-devtools-inspector-monitor/CHANGELOG.md diff --git a/packages/redux-devtools-inspector/LICENSE.md b/packages/redux-devtools-inspector-monitor/LICENSE.md similarity index 100% rename from packages/redux-devtools-inspector/LICENSE.md rename to packages/redux-devtools-inspector-monitor/LICENSE.md diff --git a/packages/redux-devtools-inspector/README.md b/packages/redux-devtools-inspector-monitor/README.md similarity index 96% rename from packages/redux-devtools-inspector/README.md rename to packages/redux-devtools-inspector-monitor/README.md index 45e8e55b..c2b0572f 100644 --- a/packages/redux-devtools-inspector/README.md +++ b/packages/redux-devtools-inspector-monitor/README.md @@ -1,4 +1,4 @@ -# redux-devtools-inspector +# redux-devtools-inspector-monitor [![npm version](https://badge.fury.io/js/redux-devtools-inspector.svg)](https://badge.fury.io/js/redux-devtools-inspector) @@ -9,7 +9,7 @@ A state monitor for [Redux DevTools](https://github.com/reduxjs/redux-devtools) ### Installation ``` -npm install --save-dev redux-devtools-inspector +yarn add --dev redux-devtools-inspector-monitor ``` ### Usage @@ -21,7 +21,7 @@ You can use `Inspector` as the only monitor in your app: ```js import React from 'react'; import { createDevTools } from 'redux-devtools'; -import Inspector from 'redux-devtools-inspector'; +import Inspector from 'redux-devtools-inspector-monitor'; export default createDevTools(); ``` diff --git a/packages/redux-devtools-inspector/demo.gif b/packages/redux-devtools-inspector-monitor/demo.gif similarity index 100% rename from packages/redux-devtools-inspector/demo.gif rename to packages/redux-devtools-inspector-monitor/demo.gif diff --git a/packages/redux-devtools-inspector/demo/config/tsconfig.json b/packages/redux-devtools-inspector-monitor/demo/config/tsconfig.json similarity index 100% rename from packages/redux-devtools-inspector/demo/config/tsconfig.json rename to packages/redux-devtools-inspector-monitor/demo/config/tsconfig.json diff --git a/packages/redux-devtools-inspector/demo/config/webpack.config.ts b/packages/redux-devtools-inspector-monitor/demo/config/webpack.config.ts similarity index 100% rename from packages/redux-devtools-inspector/demo/config/webpack.config.ts rename to packages/redux-devtools-inspector-monitor/demo/config/webpack.config.ts diff --git a/packages/redux-devtools-inspector/demo/src/index.html b/packages/redux-devtools-inspector-monitor/demo/src/index.html similarity index 100% rename from packages/redux-devtools-inspector/demo/src/index.html rename to packages/redux-devtools-inspector-monitor/demo/src/index.html diff --git a/packages/redux-devtools-inspector/demo/src/js/DemoApp.tsx b/packages/redux-devtools-inspector-monitor/demo/src/js/DemoApp.tsx similarity index 99% rename from packages/redux-devtools-inspector/demo/src/js/DemoApp.tsx rename to packages/redux-devtools-inspector-monitor/demo/src/js/DemoApp.tsx index 50061058..83903219 100644 --- a/packages/redux-devtools-inspector/demo/src/js/DemoApp.tsx +++ b/packages/redux-devtools-inspector-monitor/demo/src/js/DemoApp.tsx @@ -102,7 +102,9 @@ const themeOptions = [ ]; const ROOT = - process.env.NODE_ENV === 'production' ? '/redux-devtools-inspector/' : '/'; + process.env.NODE_ENV === 'production' + ? '/redux-devtools-inspector-monitor/' + : '/'; function buildUrl(options: Options) { return ( diff --git a/packages/redux-devtools-inspector/demo/src/js/DevTools.tsx b/packages/redux-devtools-inspector-monitor/demo/src/js/DevTools.tsx similarity index 100% rename from packages/redux-devtools-inspector/demo/src/js/DevTools.tsx rename to packages/redux-devtools-inspector-monitor/demo/src/js/DevTools.tsx diff --git a/packages/redux-devtools-inspector/demo/src/js/getOptions.ts b/packages/redux-devtools-inspector-monitor/demo/src/js/getOptions.ts similarity index 100% rename from packages/redux-devtools-inspector/demo/src/js/getOptions.ts rename to packages/redux-devtools-inspector-monitor/demo/src/js/getOptions.ts diff --git a/packages/redux-devtools-inspector/demo/src/js/index.tsx b/packages/redux-devtools-inspector-monitor/demo/src/js/index.tsx similarity index 95% rename from packages/redux-devtools-inspector/demo/src/js/index.tsx rename to packages/redux-devtools-inspector-monitor/demo/src/js/index.tsx index cfc1e852..c5bf7093 100644 --- a/packages/redux-devtools-inspector/demo/src/js/index.tsx +++ b/packages/redux-devtools-inspector-monitor/demo/src/js/index.tsx @@ -24,7 +24,9 @@ function getDebugSessionKey() { } const ROOT = - process.env.NODE_ENV === 'production' ? '/redux-devtools-inspector/' : '/'; + process.env.NODE_ENV === 'production' + ? '/redux-devtools-inspector-monitor/' + : '/'; const DevTools = getDevTools(window.location); diff --git a/packages/redux-devtools-inspector/demo/src/js/reducers.ts b/packages/redux-devtools-inspector-monitor/demo/src/js/reducers.ts similarity index 100% rename from packages/redux-devtools-inspector/demo/src/js/reducers.ts rename to packages/redux-devtools-inspector-monitor/demo/src/js/reducers.ts diff --git a/packages/redux-devtools-inspector/demo/tsconfig.json b/packages/redux-devtools-inspector-monitor/demo/tsconfig.json similarity index 100% rename from packages/redux-devtools-inspector/demo/tsconfig.json rename to packages/redux-devtools-inspector-monitor/demo/tsconfig.json diff --git a/packages/redux-devtools-inspector/package.json b/packages/redux-devtools-inspector-monitor/package.json similarity index 96% rename from packages/redux-devtools-inspector/package.json rename to packages/redux-devtools-inspector-monitor/package.json index 544db694..acc6ecaa 100644 --- a/packages/redux-devtools-inspector/package.json +++ b/packages/redux-devtools-inspector-monitor/package.json @@ -1,8 +1,8 @@ { - "name": "redux-devtools-inspector", + "name": "redux-devtools-inspector-monitor", "version": "0.14.0", "description": "Redux DevTools Diff Monitor", - "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-inspector", + "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-inspector-monitor", "bugs": { "url": "https://github.com/reduxjs/redux-devtools/issues" }, diff --git a/packages/redux-devtools-inspector/src/ActionList.tsx b/packages/redux-devtools-inspector-monitor/src/ActionList.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/ActionList.tsx rename to packages/redux-devtools-inspector-monitor/src/ActionList.tsx diff --git a/packages/redux-devtools-inspector/src/ActionListHeader.tsx b/packages/redux-devtools-inspector-monitor/src/ActionListHeader.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/ActionListHeader.tsx rename to packages/redux-devtools-inspector-monitor/src/ActionListHeader.tsx diff --git a/packages/redux-devtools-inspector/src/ActionListRow.tsx b/packages/redux-devtools-inspector-monitor/src/ActionListRow.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/ActionListRow.tsx rename to packages/redux-devtools-inspector-monitor/src/ActionListRow.tsx diff --git a/packages/redux-devtools-inspector/src/ActionPreview.tsx b/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/ActionPreview.tsx rename to packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx diff --git a/packages/redux-devtools-inspector/src/ActionPreviewHeader.tsx b/packages/redux-devtools-inspector-monitor/src/ActionPreviewHeader.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/ActionPreviewHeader.tsx rename to packages/redux-devtools-inspector-monitor/src/ActionPreviewHeader.tsx diff --git a/packages/redux-devtools-inspector/src/DevtoolsInspector.tsx b/packages/redux-devtools-inspector-monitor/src/DevtoolsInspector.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/DevtoolsInspector.tsx rename to packages/redux-devtools-inspector-monitor/src/DevtoolsInspector.tsx diff --git a/packages/redux-devtools-inspector/src/RightSlider.tsx b/packages/redux-devtools-inspector-monitor/src/RightSlider.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/RightSlider.tsx rename to packages/redux-devtools-inspector-monitor/src/RightSlider.tsx diff --git a/packages/redux-devtools-inspector/src/createDiffPatcher.ts b/packages/redux-devtools-inspector-monitor/src/createDiffPatcher.ts similarity index 100% rename from packages/redux-devtools-inspector/src/createDiffPatcher.ts rename to packages/redux-devtools-inspector-monitor/src/createDiffPatcher.ts diff --git a/packages/redux-devtools-inspector/src/index.ts b/packages/redux-devtools-inspector-monitor/src/index.ts similarity index 100% rename from packages/redux-devtools-inspector/src/index.ts rename to packages/redux-devtools-inspector-monitor/src/index.ts diff --git a/packages/redux-devtools-inspector/src/redux.ts b/packages/redux-devtools-inspector-monitor/src/redux.ts similarity index 93% rename from packages/redux-devtools-inspector/src/redux.ts rename to packages/redux-devtools-inspector-monitor/src/redux.ts index 653bc628..e7f14c87 100644 --- a/packages/redux-devtools-inspector/src/redux.ts +++ b/packages/redux-devtools-inspector-monitor/src/redux.ts @@ -1,7 +1,8 @@ import { Action } from 'redux'; import { DevtoolsInspectorProps } from './DevtoolsInspector'; -const UPDATE_MONITOR_STATE = '@@redux-devtools-inspector/UPDATE_MONITOR_STATE'; +const UPDATE_MONITOR_STATE = + '@@redux-devtools-inspector-monitor/UPDATE_MONITOR_STATE'; interface UpdateMonitorStateAction { type: typeof UPDATE_MONITOR_STATE; diff --git a/packages/redux-devtools-inspector/src/tabs/ActionTab.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/ActionTab.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/ActionTab.tsx rename to packages/redux-devtools-inspector-monitor/src/tabs/ActionTab.tsx diff --git a/packages/redux-devtools-inspector/src/tabs/DiffTab.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/DiffTab.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/DiffTab.tsx rename to packages/redux-devtools-inspector-monitor/src/tabs/DiffTab.tsx diff --git a/packages/redux-devtools-inspector/src/tabs/JSONDiff.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/JSONDiff.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/JSONDiff.tsx rename to packages/redux-devtools-inspector-monitor/src/tabs/JSONDiff.tsx diff --git a/packages/redux-devtools-inspector/src/tabs/StateTab.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/StateTab.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/StateTab.tsx rename to packages/redux-devtools-inspector-monitor/src/tabs/StateTab.tsx diff --git a/packages/redux-devtools-inspector/src/tabs/getItemString.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/getItemString.tsx rename to packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx diff --git a/packages/redux-devtools-inspector/src/tabs/getJsonTreeTheme.ts b/packages/redux-devtools-inspector-monitor/src/tabs/getJsonTreeTheme.ts similarity index 100% rename from packages/redux-devtools-inspector/src/tabs/getJsonTreeTheme.ts rename to packages/redux-devtools-inspector-monitor/src/tabs/getJsonTreeTheme.ts diff --git a/packages/redux-devtools-inspector/src/themes/index.ts b/packages/redux-devtools-inspector-monitor/src/themes/index.ts similarity index 100% rename from packages/redux-devtools-inspector/src/themes/index.ts rename to packages/redux-devtools-inspector-monitor/src/themes/index.ts diff --git a/packages/redux-devtools-inspector/src/themes/inspector.ts b/packages/redux-devtools-inspector-monitor/src/themes/inspector.ts similarity index 100% rename from packages/redux-devtools-inspector/src/themes/inspector.ts rename to packages/redux-devtools-inspector-monitor/src/themes/inspector.ts diff --git a/packages/redux-devtools-inspector/src/utils/createStylingFromTheme.ts b/packages/redux-devtools-inspector-monitor/src/utils/createStylingFromTheme.ts similarity index 100% rename from packages/redux-devtools-inspector/src/utils/createStylingFromTheme.ts rename to packages/redux-devtools-inspector-monitor/src/utils/createStylingFromTheme.ts diff --git a/packages/redux-devtools-inspector/src/utils/getInspectedState.ts b/packages/redux-devtools-inspector-monitor/src/utils/getInspectedState.ts similarity index 100% rename from packages/redux-devtools-inspector/src/utils/getInspectedState.ts rename to packages/redux-devtools-inspector-monitor/src/utils/getInspectedState.ts diff --git a/packages/redux-devtools-inspector/src/utils/isIterable.ts b/packages/redux-devtools-inspector-monitor/src/utils/isIterable.ts similarity index 100% rename from packages/redux-devtools-inspector/src/utils/isIterable.ts rename to packages/redux-devtools-inspector-monitor/src/utils/isIterable.ts diff --git a/packages/redux-devtools-inspector/tsconfig.json b/packages/redux-devtools-inspector-monitor/tsconfig.json similarity index 100% rename from packages/redux-devtools-inspector/tsconfig.json rename to packages/redux-devtools-inspector-monitor/tsconfig.json diff --git a/packages/redux-devtools-slider-monitor/README.md b/packages/redux-devtools-slider-monitor/README.md index 76546523..45982652 100644 --- a/packages/redux-devtools-slider-monitor/README.md +++ b/packages/redux-devtools-slider-monitor/README.md @@ -1,4 +1,4 @@ -## Redux Slider Monitor +## Redux DevTools Slider Monitor [![npm version](https://img.shields.io/npm/v/redux-slider-monitor.svg?style=flat-square)](https://www.npmjs.com/package/redux-slider-monitor) @@ -48,12 +48,9 @@ Pass the `keyboardEnabled` prop to use these shortcuts You can do this: ``` -git clone https://github.com/calesce/redux-slider-monitor.git -cd redux-slider-monitor -npm install - -cd examples/todomvc -npm install +git clone https://github.com/reduxjs/redux-devtools.git +cd packages/redux-devtools-slider-monitor/examples/todomvc +yarn install npm start open http://localhost:3000 ``` diff --git a/packages/redux-devtools-slider-monitor/examples/todomvc/package.json b/packages/redux-devtools-slider-monitor/examples/todomvc/package.json index 2e0937ec..5528cb3c 100644 --- a/packages/redux-devtools-slider-monitor/examples/todomvc/package.json +++ b/packages/redux-devtools-slider-monitor/examples/todomvc/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/calesce/redux-slider-monitor.git" + "url": "https://github.com/reduxjs/redux-devtools.git" }, "scripts": { "start": "webpack-dev-server", diff --git a/packages/redux-devtools-test-generator/README.md b/packages/redux-devtools-test-generator/README.md index d77c1263..53d66669 100644 --- a/packages/redux-devtools-test-generator/README.md +++ b/packages/redux-devtools-test-generator/README.md @@ -10,14 +10,14 @@ npm install --save-dev redux-devtools-test-generator If you use [Redux DevTools Extension](https://github.com/zalmoxisus/redux-devtools-extension), [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools) or [RemoteDev](https://github.com/zalmoxisus/remotedev), it's already there, and no additional actions required. -With [`redux-devtools`](https://github.com/reduxjs/redux-devtools) and [`redux-devtools-inspector`](https://github.com/reduxjs/redux-devtools/packages/redux-devtools-inspector): +With [`redux-devtools`](https://github.com/reduxjs/redux-devtools) and [`redux-devtools-inspector-monitor`](https://github.com/reduxjs/redux-devtools/packages/redux-devtools-inspector-monitor): ##### `containers/DevTools.js` ```js import React from 'react'; import { createDevTools } from 'redux-devtools'; -import Inspector from 'redux-devtools-inspector'; +import InspectorMonitor from 'redux-devtools-inspector-monitor'; import TestGenerator from 'redux-devtools-test-generator'; import mochaTemplate from 'redux-devtools-test-generator/lib/redux/mocha'; // If using default tests. diff --git a/packages/redux-devtools-test-generator/demo/src/js/DevTools.jsx b/packages/redux-devtools-test-generator/demo/src/js/DevTools.jsx index 2cee7cdb..5fc41048 100644 --- a/packages/redux-devtools-test-generator/demo/src/js/DevTools.jsx +++ b/packages/redux-devtools-test-generator/demo/src/js/DevTools.jsx @@ -1,7 +1,7 @@ import React from 'react'; import { connect } from 'react-redux'; import { createDevTools } from 'redux-devtools'; -import DevtoolsInspector from 'redux-devtools-inspector'; +import InspectorMonitor from 'redux-devtools-inspector-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; import getOptions from './getOptions'; import TestGenerator from '../../../src'; @@ -14,7 +14,7 @@ export const getDevTools = (location) => changePositionKey="ctrl-q" changeMonitorKey="ctrl-m" > -