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 PropTypes from 'prop-types';
import { tree } from 'd3-state-visualizer'; import { tree } from 'd3-state-visualizer';
import { Action, Dispatch } from 'redux'; 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 * as themes from 'redux-devtools-themes';
import { Base16Theme } from 'react-base16-styling'; import { Base16Theme } from 'react-base16-styling';
import { ChartMonitorState } from './reducers'; import { ChartMonitorState } from './reducers';

View File

@ -57,7 +57,6 @@
"redux-devtools-inspector-monitor": "^0.14.0", "redux-devtools-inspector-monitor": "^0.14.0",
"redux-devtools-inspector-monitor-test-tab": "^0.6.2", "redux-devtools-inspector-monitor-test-tab": "^0.6.2",
"redux-devtools-inspector-monitor-trace-tab": "^0.1.3", "redux-devtools-inspector-monitor-trace-tab": "^0.1.3",
"redux-devtools-instrument": "^1.10.0",
"redux-devtools-log-monitor": "^2.1.0", "redux-devtools-log-monitor": "^2.1.0",
"redux-devtools-serialize": "^0.2.0", "redux-devtools-serialize": "^0.2.0",
"redux-devtools-slider-monitor": "^2.0.0-5", "redux-devtools-slider-monitor": "^2.0.0-5",

View File

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

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; 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 { Button, Toolbar, Divider } from 'devui';
import { Action } from 'redux'; import { Action } from 'redux';
import RecordButton from './buttons/RecordButton'; import RecordButton from './buttons/RecordButton';

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { render } from 'enzyme'; import { render } from 'enzyme';
import { renderToJson } from 'enzyme-to-json'; import { renderToJson } from 'enzyme-to-json';
import { PerformAction } from 'redux-devtools-instrument'; import { PerformAction } from 'redux-devtools';
import { Action } from 'redux'; import { Action } from 'redux';
import TestGenerator from '../src/TestGenerator'; import TestGenerator from '../src/TestGenerator';
import fnTemplate from '../src/redux/mocha'; 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 ### Installation
``` ```
npm install --save-dev redux-devtools-instrument yarn add @redux-devtools/instrument
``` ```
### Usage ### Usage

View File

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

View File

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

View File

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

View File

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

View File

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