Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use syncpack to manage monorepo packages dependencies with Yarn #44

Closed
wants to merge 2 commits into from

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Nov 23, 2023

Syncpack

Syncpack is a tool that helps manage
multiple package.json files in a monorepo.

Install

In the repository's root directory execute:

yarn install

Usage

To list dependencies from all packages run:

syncpack list

To update a dependency (e.g. eslint) in all packages run:

syncpack update --filter eslint

Example

image

[Syncpack](https://jamiemason.github.io/syncpack/) is a tool that helps manage
multiple package.json files in a monorepo.

To list dependencies from all packages run:
```sh
syncpack list
```

To update a dependency (e.g. `eslint`) in all packages run:
```sh
syncpack update --filter eslint
```
This is a result of updating eslint and prettier dependencies with
syncpack.

```
syncpack update --filter eslint
syncpack update --filter prettier
```
@nkuba nkuba changed the title Use syncpack to manage monorepo packages dependencies Use syncpack to manage monorepo packages dependencies with Yarn Nov 23, 2023
@nkuba
Copy link
Member Author

nkuba commented Nov 23, 2023

Closing in favor of #47

@nkuba nkuba closed this Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant