diff --git a/packages/redux-devtools-core/.babelrc b/packages/redux-devtools-app/.babelrc
similarity index 100%
rename from packages/redux-devtools-core/.babelrc
rename to packages/redux-devtools-app/.babelrc
diff --git a/packages/redux-devtools-core/.eslintignore b/packages/redux-devtools-app/.eslintignore
similarity index 100%
rename from packages/redux-devtools-core/.eslintignore
rename to packages/redux-devtools-app/.eslintignore
diff --git a/packages/redux-devtools-core/.eslintrc.js b/packages/redux-devtools-app/.eslintrc.js
similarity index 100%
rename from packages/redux-devtools-core/.eslintrc.js
rename to packages/redux-devtools-app/.eslintrc.js
diff --git a/packages/redux-devtools-core/CHANGELOG.md b/packages/redux-devtools-app/CHANGELOG.md
similarity index 100%
rename from packages/redux-devtools-core/CHANGELOG.md
rename to packages/redux-devtools-app/CHANGELOG.md
diff --git a/packages/redux-devtools-core/LICENSE.md b/packages/redux-devtools-app/LICENSE.md
similarity index 100%
rename from packages/redux-devtools-core/LICENSE.md
rename to packages/redux-devtools-app/LICENSE.md
diff --git a/packages/redux-devtools-core/README.md b/packages/redux-devtools-app/README.md
similarity index 94%
rename from packages/redux-devtools-core/README.md
rename to packages/redux-devtools-app/README.md
index 2c658023..b1e1894a 100644
--- a/packages/redux-devtools-core/README.md
+++ b/packages/redux-devtools-app/README.md
@@ -7,7 +7,7 @@ Web, Electron and Chrome app for monitoring [remote-redux-devtools](https://gith
Also it's a react component you can use to build amazing monitor applications like:
- [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension).
-- [react-native-debugger](https://github.com/jhen0409/react-native-debugger) - Electron app, which already includes `remotedev-server`, `redux-devtools-core` and even React DevTools.
+- [react-native-debugger](https://github.com/jhen0409/react-native-debugger) - Electron app, which already includes `remotedev-server`, `redux-devtools-app` and even React DevTools.
- [remote-redux-devtools-on-debugger](https://github.com/jhen0409/remote-redux-devtools-on-debugger) - Used in React Native debugger as a dock monitor.
- [atom-redux-devtools](https://github.com/zalmoxisus/atom-redux-devtools) - Used in Atom editor.
- [vscode-redux-devtools](https://github.com/jkzing/vscode-redux-devtools) - Used in Visual Studio Code.
@@ -17,7 +17,7 @@ Also it's a react component you can use to build amazing monitor applications li
```js
import React from 'react';
import ReactDom from 'react-dom';
-import DevToolsApp from 'redux-devtools-core/lib/app';
+import DevToolsApp from '@redux-devtools/app';
ReactDom.render(, document.getElementById('root'));
```
diff --git a/packages/redux-devtools-core/assets/index.html b/packages/redux-devtools-app/assets/index.html
similarity index 100%
rename from packages/redux-devtools-core/assets/index.html
rename to packages/redux-devtools-app/assets/index.html
diff --git a/packages/redux-devtools-core/src/index.tsx b/packages/redux-devtools-app/demo/index.tsx
similarity index 95%
rename from packages/redux-devtools-core/src/index.tsx
rename to packages/redux-devtools-app/demo/index.tsx
index c40f8b2a..6a350581 100644
--- a/packages/redux-devtools-core/src/index.tsx
+++ b/packages/redux-devtools-app/demo/index.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { render } from 'react-dom';
-import App from './app';
+import App from '../src';
render(, document.getElementById('root'));
diff --git a/packages/redux-devtools-core/jest.config.js b/packages/redux-devtools-app/jest.config.js
similarity index 100%
rename from packages/redux-devtools-core/jest.config.js
rename to packages/redux-devtools-app/jest.config.js
diff --git a/packages/redux-devtools-core/package.json b/packages/redux-devtools-app/package.json
similarity index 92%
rename from packages/redux-devtools-core/package.json
rename to packages/redux-devtools-app/package.json
index 3475469e..04699c35 100644
--- a/packages/redux-devtools-core/package.json
+++ b/packages/redux-devtools-app/package.json
@@ -1,8 +1,8 @@
{
- "name": "redux-devtools-core",
+ "name": "@redux-devtools/app",
"version": "1.0.0-4",
- "description": "Reusable functions of Redux DevTools",
- "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-core",
+ "description": "Redux DevTools app",
+ "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-app",
"bugs": {
"url": "https://github.com/reduxjs/redux-devtools/issues"
},
@@ -43,18 +43,14 @@
"@redux-devtools/inspector-monitor-test-tab": "^0.6.2",
"@redux-devtools/inspector-monitor-trace-tab": "^0.1.3",
"@redux-devtools/log-monitor": "^2.1.0",
- "@redux-devtools/serialize": "^0.2.0",
"@redux-devtools/slider-monitor": "^2.0.0-5",
"d3-state-visualizer": "^1.3.4",
"devui": "^1.0.0-6",
- "get-params": "^0.1.2",
- "immutable": "^4.0.0-rc.12",
"javascript-stringify": "^2.0.1",
"jsan": "^3.1.13",
"jsondiffpatch": "^0.4.1",
"localforage": "^1.9.0",
"lodash": "^4.17.19",
- "nanoid": "^3.1.12",
"prop-types": "^15.7.2",
"react-icons": "^3.10.0",
"react-is": "^16.13.1",
diff --git a/packages/redux-devtools-core/src/app/actions/index.ts b/packages/redux-devtools-app/src/actions/index.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/actions/index.ts
rename to packages/redux-devtools-app/src/actions/index.ts
diff --git a/packages/redux-devtools-core/src/app/components/BottomButtons.tsx b/packages/redux-devtools-app/src/components/BottomButtons.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/BottomButtons.tsx
rename to packages/redux-devtools-app/src/components/BottomButtons.tsx
diff --git a/packages/redux-devtools-core/src/app/components/Header.tsx b/packages/redux-devtools-app/src/components/Header.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/Header.tsx
rename to packages/redux-devtools-app/src/components/Header.tsx
diff --git a/packages/redux-devtools-core/src/app/components/InstanceSelector.tsx b/packages/redux-devtools-app/src/components/InstanceSelector.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/InstanceSelector.tsx
rename to packages/redux-devtools-app/src/components/InstanceSelector.tsx
diff --git a/packages/redux-devtools-core/src/app/components/MonitorSelector.tsx b/packages/redux-devtools-app/src/components/MonitorSelector.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/MonitorSelector.tsx
rename to packages/redux-devtools-app/src/components/MonitorSelector.tsx
diff --git a/packages/redux-devtools-core/src/app/components/Settings/Connection.tsx b/packages/redux-devtools-app/src/components/Settings/Connection.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/Settings/Connection.tsx
rename to packages/redux-devtools-app/src/components/Settings/Connection.tsx
diff --git a/packages/redux-devtools-core/src/app/components/Settings/Themes.tsx b/packages/redux-devtools-app/src/components/Settings/Themes.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/Settings/Themes.tsx
rename to packages/redux-devtools-app/src/components/Settings/Themes.tsx
diff --git a/packages/redux-devtools-core/src/app/components/Settings/index.tsx b/packages/redux-devtools-app/src/components/Settings/index.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/Settings/index.tsx
rename to packages/redux-devtools-app/src/components/Settings/index.tsx
diff --git a/packages/redux-devtools-core/src/app/components/TopButtons.tsx b/packages/redux-devtools-app/src/components/TopButtons.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/TopButtons.tsx
rename to packages/redux-devtools-app/src/components/TopButtons.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/DispatcherButton.tsx b/packages/redux-devtools-app/src/components/buttons/DispatcherButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/DispatcherButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/DispatcherButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/ExportButton.tsx b/packages/redux-devtools-app/src/components/buttons/ExportButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/ExportButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/ExportButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/ImportButton.tsx b/packages/redux-devtools-app/src/components/buttons/ImportButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/ImportButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/ImportButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/LockButton.tsx b/packages/redux-devtools-app/src/components/buttons/LockButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/LockButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/LockButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/PersistButton.tsx b/packages/redux-devtools-app/src/components/buttons/PersistButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/PersistButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/PersistButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/PrintButton.tsx b/packages/redux-devtools-app/src/components/buttons/PrintButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/PrintButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/PrintButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/RecordButton.tsx b/packages/redux-devtools-app/src/components/buttons/RecordButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/RecordButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/RecordButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/SliderButton.tsx b/packages/redux-devtools-app/src/components/buttons/SliderButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/SliderButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/SliderButton.tsx
diff --git a/packages/redux-devtools-core/src/app/components/buttons/SyncButton.tsx b/packages/redux-devtools-app/src/components/buttons/SyncButton.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/components/buttons/SyncButton.tsx
rename to packages/redux-devtools-app/src/components/buttons/SyncButton.tsx
diff --git a/packages/redux-devtools-core/src/app/constants/actionTypes.ts b/packages/redux-devtools-app/src/constants/actionTypes.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/constants/actionTypes.ts
rename to packages/redux-devtools-app/src/constants/actionTypes.ts
diff --git a/packages/redux-devtools-core/src/app/constants/dataTypes.ts b/packages/redux-devtools-app/src/constants/dataTypes.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/constants/dataTypes.ts
rename to packages/redux-devtools-app/src/constants/dataTypes.ts
diff --git a/packages/redux-devtools-core/src/app/constants/socketActionTypes.ts b/packages/redux-devtools-app/src/constants/socketActionTypes.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/constants/socketActionTypes.ts
rename to packages/redux-devtools-app/src/constants/socketActionTypes.ts
diff --git a/packages/redux-devtools-core/src/app/constants/socketOptions.ts b/packages/redux-devtools-app/src/constants/socketOptions.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/constants/socketOptions.ts
rename to packages/redux-devtools-app/src/constants/socketOptions.ts
diff --git a/packages/redux-devtools-core/src/app/containers/Actions.tsx b/packages/redux-devtools-app/src/containers/Actions.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/Actions.tsx
rename to packages/redux-devtools-app/src/containers/Actions.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/App.tsx b/packages/redux-devtools-app/src/containers/App.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/App.tsx
rename to packages/redux-devtools-app/src/containers/App.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/DevTools.tsx b/packages/redux-devtools-app/src/containers/DevTools.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/DevTools.tsx
rename to packages/redux-devtools-app/src/containers/DevTools.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/ChartMonitorWrapper.tsx b/packages/redux-devtools-app/src/containers/monitors/ChartMonitorWrapper.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/ChartMonitorWrapper.tsx
rename to packages/redux-devtools-app/src/containers/monitors/ChartMonitorWrapper.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/Dispatcher.tsx b/packages/redux-devtools-app/src/containers/monitors/Dispatcher.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/Dispatcher.tsx
rename to packages/redux-devtools-app/src/containers/monitors/Dispatcher.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/ChartTab.tsx b/packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/ChartTab.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/ChartTab.tsx
rename to packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/ChartTab.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/RawTab.tsx b/packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/RawTab.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/RawTab.tsx
rename to packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/RawTab.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.tsx b/packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/SubTabs.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/SubTabs.tsx
rename to packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/SubTabs.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/VisualDiffTab.tsx b/packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/VisualDiffTab.tsx
rename to packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.tsx b/packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/index.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/InspectorWrapper/index.tsx
rename to packages/redux-devtools-app/src/containers/monitors/InspectorWrapper/index.tsx
diff --git a/packages/redux-devtools-core/src/app/containers/monitors/Slider.tsx b/packages/redux-devtools-app/src/containers/monitors/Slider.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/containers/monitors/Slider.tsx
rename to packages/redux-devtools-app/src/containers/monitors/Slider.tsx
diff --git a/packages/redux-devtools-core/src/app/index.tsx b/packages/redux-devtools-app/src/index.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/index.tsx
rename to packages/redux-devtools-app/src/index.tsx
diff --git a/packages/redux-devtools-core/src/app/middlewares/api.ts b/packages/redux-devtools-app/src/middlewares/api.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/middlewares/api.ts
rename to packages/redux-devtools-app/src/middlewares/api.ts
diff --git a/packages/redux-devtools-core/src/app/middlewares/exportState.ts b/packages/redux-devtools-app/src/middlewares/exportState.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/middlewares/exportState.ts
rename to packages/redux-devtools-app/src/middlewares/exportState.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/connection.ts b/packages/redux-devtools-app/src/reducers/connection.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/connection.ts
rename to packages/redux-devtools-app/src/reducers/connection.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/index.ts b/packages/redux-devtools-app/src/reducers/index.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/index.ts
rename to packages/redux-devtools-app/src/reducers/index.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/instances.ts b/packages/redux-devtools-app/src/reducers/instances.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/instances.ts
rename to packages/redux-devtools-app/src/reducers/instances.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/monitor.ts b/packages/redux-devtools-app/src/reducers/monitor.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/monitor.ts
rename to packages/redux-devtools-app/src/reducers/monitor.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/notification.ts b/packages/redux-devtools-app/src/reducers/notification.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/notification.ts
rename to packages/redux-devtools-app/src/reducers/notification.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/reports.ts b/packages/redux-devtools-app/src/reducers/reports.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/reports.ts
rename to packages/redux-devtools-app/src/reducers/reports.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/section.ts b/packages/redux-devtools-app/src/reducers/section.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/section.ts
rename to packages/redux-devtools-app/src/reducers/section.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/socket.ts b/packages/redux-devtools-app/src/reducers/socket.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/socket.ts
rename to packages/redux-devtools-app/src/reducers/socket.ts
diff --git a/packages/redux-devtools-core/src/app/reducers/theme.ts b/packages/redux-devtools-app/src/reducers/theme.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/reducers/theme.ts
rename to packages/redux-devtools-app/src/reducers/theme.ts
diff --git a/packages/redux-devtools-core/src/app/store/configureStore.ts b/packages/redux-devtools-app/src/store/configureStore.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/store/configureStore.ts
rename to packages/redux-devtools-app/src/store/configureStore.ts
diff --git a/packages/redux-devtools-core/src/app/utils/commitExcessActions.ts b/packages/redux-devtools-app/src/utils/commitExcessActions.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/commitExcessActions.ts
rename to packages/redux-devtools-app/src/utils/commitExcessActions.ts
diff --git a/packages/redux-devtools-core/src/app/utils/getMonitor.tsx b/packages/redux-devtools-app/src/utils/getMonitor.tsx
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/getMonitor.tsx
rename to packages/redux-devtools-app/src/utils/getMonitor.tsx
diff --git a/packages/redux-devtools-core/src/app/utils/monitorActions.ts b/packages/redux-devtools-app/src/utils/monitorActions.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/monitorActions.ts
rename to packages/redux-devtools-app/src/utils/monitorActions.ts
diff --git a/packages/redux-devtools-core/src/app/utils/parseJSON.ts b/packages/redux-devtools-app/src/utils/parseJSON.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/parseJSON.ts
rename to packages/redux-devtools-app/src/utils/parseJSON.ts
diff --git a/packages/redux-devtools-core/src/app/utils/stringifyJSON.ts b/packages/redux-devtools-app/src/utils/stringifyJSON.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/stringifyJSON.ts
rename to packages/redux-devtools-app/src/utils/stringifyJSON.ts
diff --git a/packages/redux-devtools-core/src/app/utils/updateState.ts b/packages/redux-devtools-app/src/utils/updateState.ts
similarity index 100%
rename from packages/redux-devtools-core/src/app/utils/updateState.ts
rename to packages/redux-devtools-app/src/utils/updateState.ts
diff --git a/packages/redux-devtools-core/test/app.spec.tsx b/packages/redux-devtools-app/test/app.spec.tsx
similarity index 82%
rename from packages/redux-devtools-core/test/app.spec.tsx
rename to packages/redux-devtools-app/test/app.spec.tsx
index d7ce85ee..bcd7811f 100644
--- a/packages/redux-devtools-core/test/app.spec.tsx
+++ b/packages/redux-devtools-app/test/app.spec.tsx
@@ -3,12 +3,12 @@ import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import { mount, ReactWrapper } from 'enzyme';
// import { mountToJson } from 'enzyme-to-json';
-import App from '../src/app/containers/App';
-import api from '../src/app/middlewares/api';
-import exportState from '../src/app/middlewares/exportState';
-import rootReducer from '../src/app/reducers';
-import { DATA_TYPE_KEY } from '../src/app/constants/dataTypes';
-import stringifyJSON from '../src/app/utils/stringifyJSON';
+import App from '../src/containers/App';
+import api from '../src/middlewares/api';
+import exportState from '../src/middlewares/exportState';
+import rootReducer from '../src/reducers';
+import { DATA_TYPE_KEY } from '../src/constants/dataTypes';
+import stringifyJSON from '../src/utils/stringifyJSON';
let wrapper: ReactWrapper;
diff --git a/packages/redux-devtools-core/test/setup.ts b/packages/redux-devtools-app/test/setup.ts
similarity index 100%
rename from packages/redux-devtools-core/test/setup.ts
rename to packages/redux-devtools-app/test/setup.ts
diff --git a/packages/redux-devtools-core/test/tsconfig.json b/packages/redux-devtools-app/test/tsconfig.json
similarity index 100%
rename from packages/redux-devtools-core/test/tsconfig.json
rename to packages/redux-devtools-app/test/tsconfig.json
diff --git a/packages/redux-devtools-app/tsconfig.json b/packages/redux-devtools-app/tsconfig.json
new file mode 100644
index 00000000..b742078e
--- /dev/null
+++ b/packages/redux-devtools-app/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "extends": "../../tsconfig.react.base.json",
+ "compilerOptions": {
+ "outDir": "lib"
+ },
+ "include": ["demo", "src"]
+}
diff --git a/packages/redux-devtools-core/tsconfig.webpack.json b/packages/redux-devtools-app/tsconfig.webpack.json
similarity index 100%
rename from packages/redux-devtools-core/tsconfig.webpack.json
rename to packages/redux-devtools-app/tsconfig.webpack.json
diff --git a/packages/redux-devtools-core/webpack.config.ts b/packages/redux-devtools-app/webpack.config.ts
similarity index 98%
rename from packages/redux-devtools-core/webpack.config.ts
rename to packages/redux-devtools-app/webpack.config.ts
index 75d1c5ef..7d9c9925 100644
--- a/packages/redux-devtools-core/webpack.config.ts
+++ b/packages/redux-devtools-app/webpack.config.ts
@@ -6,7 +6,7 @@ import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
module.exports = (env: { development?: boolean; platform?: string } = {}) => ({
mode: env.development ? 'development' : 'production',
entry: {
- app: './src/index',
+ app: './demo/index',
},
output: {
path: path.resolve(__dirname, `build/${env.platform as string}`),
diff --git a/packages/redux-devtools-core/webpack.config.umd.ts b/packages/redux-devtools-app/webpack.config.umd.ts
similarity index 94%
rename from packages/redux-devtools-core/webpack.config.umd.ts
rename to packages/redux-devtools-app/webpack.config.umd.ts
index 99abaf62..179bb77a 100644
--- a/packages/redux-devtools-core/webpack.config.umd.ts
+++ b/packages/redux-devtools-app/webpack.config.umd.ts
@@ -5,7 +5,7 @@ import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
module.exports = (env: { production?: boolean } = {}) => ({
mode: env.production ? 'production' : 'development',
entry: {
- app: ['./src/app/index'],
+ app: ['./src/index'],
},
output: {
library: 'ReduxDevTools',
@@ -13,8 +13,8 @@ module.exports = (env: { production?: boolean } = {}) => ({
libraryTarget: 'umd',
path: path.resolve(__dirname, 'umd'),
filename: env.production
- ? 'redux-devtools-core.min.js'
- : 'redux-devtools-core.js',
+ ? 'redux-devtools-app.min.js'
+ : 'redux-devtools-app.js',
},
module: {
rules: [
diff --git a/packages/redux-devtools-chart-monitor/package.json b/packages/redux-devtools-chart-monitor/package.json
index bbbcd568..128fcad6 100644
--- a/packages/redux-devtools-chart-monitor/package.json
+++ b/packages/redux-devtools-chart-monitor/package.json
@@ -52,7 +52,7 @@
"redux": "^4.0.5"
},
"peerDependencies": {
- "@redux-devtools/core": "^3.4.0",
+ "@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"redux": "^3.4.0 || ^4.0.0"
diff --git a/packages/redux-devtools-cli/README.md b/packages/redux-devtools-cli/README.md
index e23f0d40..f25be59c 100644
--- a/packages/redux-devtools-cli/README.md
+++ b/packages/redux-devtools-cli/README.md
@@ -9,13 +9,13 @@ Bridge for remote debugging via [Redux DevTools extension](https://github.com/za
with npm:
```
-npm install -g redux-devtools-cli
+npm install -g @redux-devtools/cli
```
or with yarn:
```
-yarn global add redux-devtools-cli
+yarn global add @redux-devtools/cli
```
and start as:
@@ -24,20 +24,20 @@ and start as:
redux-devtools --hostname=localhost --port=8000
```
-> Note the package is called `redux-devtools-cli` not `redux-devtools` (the latter is a React component).
+> Note the package is called `@redux-devtools/cli` not `redux-devtools` (the latter is a React component).
#### Or add in your project
with npm:
```
-npm install --save-dev redux-devtools-cli
+npm install --save-dev @redux-devtools/cli
```
or with yarn:
```
-yarn add --dev redux-devtools-cli
+yarn add --dev @redux-devtools/cli
```
and add to `package.json`:
@@ -53,7 +53,7 @@ So, you can start redux-devtools server by running `npm run redux-devtools`.
##### Import in your `server.js` script you use for starting a development server:
```js
-var reduxDevTools = require('redux-devtools-cli');
+var reduxDevTools = require('@redux-devtools/cli');
reduxDevTools({ hostname: 'localhost', port: 8000 });
```
diff --git a/packages/redux-devtools-cli/app/index.html b/packages/redux-devtools-cli/app/index.html
index 15c78f4c..13dd934a 100644
--- a/packages/redux-devtools-cli/app/index.html
+++ b/packages/redux-devtools-cli/app/index.html
@@ -28,7 +28,7 @@
-
+