Skip to content

Commit

Permalink
Use pnpm for running scripts instead of nx (#1770)
Browse files Browse the repository at this point in the history
* Use pnpm for running scripts instead of nx

* Fix typos
  • Loading branch information
Methuselah96 committed Sep 20, 2024
1 parent fdce076 commit 41fae27
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 485 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It can be used as a browser extension (for [Chrome](https://chrome.google.com/we

## Development

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`).
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`).

## Backers

Expand Down
40 changes: 0 additions & 40 deletions nx.json

This file was deleted.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,23 @@
"@changesets/cli": "^2.27.8",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^8.57.1",
"@nrwl/nx-cloud": "^19.1.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"nx": "^19.7.3",
"prettier": "3.3.3",
"typescript": "~5.5.4",
"typescript-eslint": "^8.6.0"
},
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"build:all": "nx run-many --target=build --all --parallel=1",
"lint:all": "nx run-many --target=lint --all --parallel=1",
"test:all": "nx run-many --target=test --all --parallel=1",
"clean:all": "nx run-many --target=clean --all --parallel=1",
"build:all": "pnpm --recursive run build",
"lint:all": "pnpm --recursive run lint",
"test:all": "pnpm --recursive run test",
"clean:all": "pnpm --recursive run clean",
"release": "pnpm build:all && pnpm publish -r"
},
"packageManager": "pnpm@9.10.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-rtk-query-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Alternatively, you can use it together with [`DockMonitor`](https://github.com/r
#### Start Demo

```bash
pnpm nx start rtk-query-demo
pnpm --filter "rtk-query-demo" start
```

<br/>
Expand Down
Loading

0 comments on commit 41fae27

Please sign in to comment.