-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use syncpack to manage monorepo packages dependencies with pnpm (#47)
Depends on #46 ### Syncpack [Syncpack](https://jamiemason.github.io/syncpack/) is a tool that helps manage multiple package.json files in a monorepo. #### Install In the repository's root directory execute: ```sh pnpm install ``` #### Usage To list dependencies from all packages run: ```sh pnpm syncpack list ``` To update a dependency (e.g. `eslint`) in all packages run: ```sh pnpm syncpack update --filter eslint ``` ### Example ![image](https://github.com/thesis/acre/assets/10741774/a948865e-c10d-464e-822d-f9d734d1dfb8)
- Loading branch information
Showing
7 changed files
with
520 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"dependencyTypes": [ | ||
"prod", | ||
"dev" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"private": true, | ||
"packageManager": "[email protected]" | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"syncpack": "^11.2.1" | ||
} | ||
} |
Oops, something went wrong.