chore(instrument): move to scoped package (#690)

* instrument

* More instrument
This commit is contained in:
Nathan Bierema 2020-12-20 09:13:01 -05:00 committed by GitHub
parent f1c2e17998
commit 02e95fc724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 16 additions and 17 deletions

View File

@ -2,7 +2,7 @@ import React, { Component, createRef } from 'react';
import PropTypes from 'prop-types';
import { tree } from 'd3-state-visualizer';
import { Action, Dispatch } from 'redux';
import { LiftedAction, LiftedState } from 'redux-devtools-instrument';
import { LiftedAction, LiftedState } from 'redux-devtools';
import * as themes from 'redux-devtools-themes';
import { Base16Theme } from 'react-base16-styling';
import { ChartMonitorState } from './reducers';

View File

@ -57,7 +57,6 @@
"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",

View File

@ -43,7 +43,7 @@ import {
import { Action } from 'redux';
import { Features, State } from '../reducers/instances';
import { MonitorStateMonitorState } from '../reducers/monitor';
import { LiftedAction } from 'redux-devtools-instrument';
import { LiftedAction } from 'redux-devtools';
import { Data } from '../reducers/reports';
let monitorReducer: (

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { ActionCreators, LiftedAction } from 'redux-devtools-instrument';
import { ActionCreators, LiftedAction } from 'redux-devtools';
import { Button, Toolbar, Divider } from 'devui';
import { Action } from 'redux';
import RecordButton from './buttons/RecordButton';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { withTheme } from 'styled-components';
import { LiftedAction, LiftedState } from 'redux-devtools-instrument';
import { LiftedAction, LiftedState } from 'redux-devtools';
import { Action } from 'redux';
import getMonitor from '../utils/getMonitor';
import { InitMonitorAction } from '../actions';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
import styled, { withTheme } from 'styled-components';
import SliderMonitor from 'redux-devtools-slider-monitor';
import { LiftedAction } from 'redux-devtools-instrument';
import { LiftedAction } from 'redux-devtools';
import { Action } from 'redux';
import { ThemeFromProvider } from 'devui';
import { State } from '../../reducers/instances';

View File

@ -1,4 +1,4 @@
import { PerformAction } from 'redux-devtools-instrument';
import { PerformAction } from 'redux-devtools';
import { Action } from 'redux';
import {
UPDATE_STATE,

View File

@ -1,7 +1,7 @@
import commitExcessActions from './commitExcessActions';
import { State } from '../reducers/instances';
import { Action } from 'redux';
import { PerformAction } from 'redux-devtools-instrument';
import { PerformAction } from 'redux-devtools';
export function recompute(
previousLiftedState: State,

View File

@ -1,5 +1,5 @@
import mapValues from 'lodash/mapValues';
import { PerformAction } from 'redux-devtools-instrument';
import { PerformAction } from 'redux-devtools';
import { Action } from 'redux';
import { State } from '../app/reducers/instances';

View File

@ -1,7 +1,7 @@
import React from 'react';
import { render } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import { PerformAction } from 'redux-devtools-instrument';
import { PerformAction } from 'redux-devtools';
import { Action } from 'redux';
import TestGenerator from '../src/TestGenerator';
import fnTemplate from '../src/redux/mocha';

View File

@ -5,7 +5,7 @@ Redux enhancer used along with [Redux DevTools](https://github.com/reduxjs/redux
### Installation
```
npm install --save-dev redux-devtools-instrument
yarn add @redux-devtools/instrument
```
### Usage

View File

@ -1,5 +1,5 @@
{
"name": "redux-devtools-instrument",
"name": "@redux-devtools/instrument",
"version": "1.10.0",
"description": "Redux DevTools instrumentation",
"keywords": [

View File

@ -40,10 +40,10 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@redux-devtools/instrument": "^1.10.0",
"@types/prop-types": "^15.7.3",
"lodash": "^4.17.19",
"prop-types": "^15.7.2",
"redux-devtools-instrument": "^1.10.0"
"prop-types": "^15.7.2"
},
"devDependencies": {
"@types/lodash": "^4.14.159",

View File

@ -6,7 +6,7 @@ import instrument, {
LiftedState,
LiftedStore,
Options,
} from 'redux-devtools-instrument';
} from '@redux-devtools/instrument';
import { Action } from 'redux';
function logError(type: string) {

View File

@ -5,6 +5,6 @@ export {
PerformAction,
LiftedAction,
LiftedState,
} from 'redux-devtools-instrument';
} from '@redux-devtools/instrument';
export { default as persistState } from './persistState';
export { default as createDevTools, Monitor } from './createDevTools';

View File

@ -1,7 +1,7 @@
import mapValues from 'lodash/mapValues';
import identity from 'lodash/identity';
import { Action, PreloadedState, Reducer, StoreEnhancer } from 'redux';
import { LiftedState } from 'redux-devtools-instrument';
import { LiftedState } from '@redux-devtools/instrument';
export default function persistState<
S,