mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
chore(instrument): move to scoped package (#690)
* instrument * More instrument
This commit is contained in:
parent
f1c2e17998
commit
02e95fc724
|
@ -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';
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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: (
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PerformAction } from 'redux-devtools-instrument';
|
||||
import { PerformAction } from 'redux-devtools';
|
||||
import { Action } from 'redux';
|
||||
import {
|
||||
UPDATE_STATE,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "redux-devtools-instrument",
|
||||
"name": "@redux-devtools/instrument",
|
||||
"version": "1.10.0",
|
||||
"description": "Redux DevTools instrumentation",
|
||||
"keywords": [
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user