mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
refactor: remove rtk-query-polling example from monorepo
This commit is contained in:
parent
69220916b3
commit
f495c6a214
|
@ -9,3 +9,4 @@ node_modules
|
|||
__snapshots__
|
||||
dev
|
||||
.yarn/*
|
||||
**/.yarn/*
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
"packages/react-json-tree/examples",
|
||||
"packages/redux-devtools/examples/counter",
|
||||
"packages/redux-devtools/examples/todomvc",
|
||||
"packages/redux-devtools/examples/rtk-query-polling",
|
||||
"packages/redux-devtools-slider-monitor/examples/todomvc"
|
||||
],
|
||||
"engines": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.snowpack
|
||||
build
|
||||
node_modules
|
||||
.yarn
|
||||
.yarn/*
|
3
packages/redux-devtools/examples/rtk-query-polling/.gitignore
vendored
Normal file
3
packages/redux-devtools/examples/rtk-query-polling/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.yarn/*
|
||||
build
|
||||
node_modules
|
|
@ -7,11 +7,22 @@ adds a connection via `remote-redux-devtools` to a devtools server.
|
|||
|
||||
## Run example
|
||||
|
||||
Runs the example at `localhost:3002`, `devtools-app` at `localhost:3000` and remote server at `8000`.
|
||||
|
||||
1. Install local dependencies
|
||||
|
||||
```bash
|
||||
yarn lerna run --parallel start \
|
||||
--scope 'rtk-query-polling' \
|
||||
--scope '@redux-devtools/app' \
|
||||
--scope '@redux-devtools/cli'
|
||||
yarn exec --cwd 'packages/redux-devtools/examples/rtk-query-polling' yarn
|
||||
```
|
||||
|
||||
Runs the example at `localhost:3002`, `app` at `localhost:3000` and remote server at `8000`.
|
||||
2. Start example
|
||||
|
||||
```bash
|
||||
yarn exec --cwd 'packages/redux-devtools/examples/rtk-query-polling' yarn start
|
||||
```
|
||||
|
||||
3. Start devtools in another shell
|
||||
|
||||
```bash
|
||||
yarn lerna run --parallel start --scope '@redux-devtools/app' --scope '@redux-devtools/cli'
|
||||
```
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
"react": "^17.0.0",
|
||||
"react-dom": "^17.0.0",
|
||||
"react-redux": "7.2.2",
|
||||
"react-scripts": "4.0.2",
|
||||
"remote-redux-devtools": "0.5.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "17.0.0",
|
||||
"@types/react-dom": "17.0.0",
|
||||
"@types/react-redux": "7.1.9",
|
||||
"react-scripts": "4.0.3",
|
||||
"typescript": "4.3.2"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
|
15436
packages/redux-devtools/examples/rtk-query-polling/yarn.lock
Normal file
15436
packages/redux-devtools/examples/rtk-query-polling/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user