Skip to content

Commit 41fae27

Browse files
authored
Use pnpm for running scripts instead of nx (#1770)
* Use pnpm for running scripts instead of nx * Fix typos
1 parent fdce076 commit 41fae27

File tree

6 files changed

+6
-485
lines changed

6 files changed

+6
-485
lines changed

.github/workflows/CI.yml

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
with:
16-
fetch-depth: 0
17-
- uses: nrwl/nx-set-shas@v4
1815
- uses: pnpm/action-setup@v4
1916
- uses: actions/setup-node@v4
2017
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It can be used as a browser extension (for [Chrome](https://chrome.google.com/we
2424

2525
## Development
2626

27-
This is a monorepo powered by [pnpm](https://pnpm.io/) and [Nx](https://nx.dev/). [Install pnpm](https://pnpm.io/installation) and run `pnpm install` to get started. Each package's dependencies need to be built before the package itself can be built. You can either build all the packages (i.e., `pnpm run build:all`) or use Nx commands to build only the packages necessary for the packages you're working on (i.e., `pnpm nx build remotedev-redux-devtools-extension`).
27+
This is a monorepo powered by [pnpm](https://pnpm.io/). [Install pnpm](https://pnpm.io/installation) and run `pnpm install` to get started. Each package's dependencies need to be built before the package itself can be built. You can either build all the packages (i.e., `pnpm run build:all`) or use pnpm workspace commands to build only the packages necessary for the packages you're working on (i.e., `pnpm --filter "remotedev-redux-devtools-extension" build`).
2828

2929
## Backers
3030

nx.json

-40
This file was deleted.

package.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,23 @@
55
"@changesets/cli": "^2.27.8",
66
"@eslint/compat": "^1.1.1",
77
"@eslint/js": "^8.57.1",
8-
"@nrwl/nx-cloud": "^19.1.0",
98
"eslint": "^8.57.1",
109
"eslint-config-prettier": "^9.1.0",
1110
"eslint-plugin-jest": "^28.8.3",
1211
"eslint-plugin-react": "^7.36.1",
1312
"eslint-plugin-react-hooks": "^4.6.2",
1413
"jest": "^29.7.0",
15-
"nx": "^19.7.3",
1614
"prettier": "3.3.3",
1715
"typescript": "~5.5.4",
1816
"typescript-eslint": "^8.6.0"
1917
},
2018
"scripts": {
2119
"format": "prettier --write .",
2220
"format:check": "prettier --check .",
23-
"build:all": "nx run-many --target=build --all --parallel=1",
24-
"lint:all": "nx run-many --target=lint --all --parallel=1",
25-
"test:all": "nx run-many --target=test --all --parallel=1",
26-
"clean:all": "nx run-many --target=clean --all --parallel=1",
21+
"build:all": "pnpm --recursive run build",
22+
"lint:all": "pnpm --recursive run lint",
23+
"test:all": "pnpm --recursive run test",
24+
"clean:all": "pnpm --recursive run clean",
2725
"release": "pnpm build:all && pnpm publish -r"
2826
},
2927
"packageManager": "pnpm@9.10.0"

packages/redux-devtools-rtk-query-monitor/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Alternatively, you can use it together with [`DockMonitor`](https://github.com/r
9191
#### Start Demo
9292

9393
```bash
94-
pnpm nx start rtk-query-demo
94+
pnpm --filter "rtk-query-demo" start
9595
```
9696

9797
<br/>

0 commit comments

Comments
 (0)