refactor: remove rtk-query-polling example from monorepo

This commit is contained in:
FaberVitale 2021-06-20 08:46:50 +02:00 committed by favitale
parent 69220916b3
commit f495c6a214
8 changed files with 18432 additions and 4571 deletions

View File

@ -9,3 +9,4 @@ node_modules
__snapshots__
dev
.yarn/*
**/.yarn/*

View File

@ -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": {

View File

@ -1,4 +1,4 @@
.snowpack
build
node_modules
.yarn
.yarn/*

View File

@ -0,0 +1,3 @@
.yarn/*
build
node_modules

View File

@ -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'
```

View File

@ -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": {

File diff suppressed because it is too large Load Diff

7537
yarn.lock

File diff suppressed because it is too large Load Diff