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

Fix or disable pnpm warning "There are cyclic workspace dependencies" #3009

Open
trivikr opened this issue Nov 15, 2024 · 1 comment · May be fixed by #3010
Open

Fix or disable pnpm warning "There are cyclic workspace dependencies" #3009

trivikr opened this issue Nov 15, 2024 · 1 comment · May be fixed by #3010

Comments

@trivikr
Copy link

trivikr commented Nov 15, 2024

Is your feature request related to a problem? Please describe.

Running make deps shows the following warning

 WARN  There are cyclic workspace dependencies: /Users/trivikram/workspace/atproto/packages/bsky, /Users/trivikram/workspace/atproto/packages/pds

This happens as the two packages are dependent on each other:

Describe the solution you'd like

Investigate if the cyclic dependency can be removed.

  • If yes, remove the cyclic dependency. This is recommended solution.
  • If no, set ignore-workspace-cycles to true in .npmrc so that the warning is not shown.
@trivikr
Copy link
Author

trivikr commented Nov 15, 2024

From looking at the code, it looks like devDependency of @atproto/bsky is not used in pds and can be removed.

https://github.com/search?q=repo%3Abluesky-social%2Fatproto+%27%40atproto%2Fbsky%27+path%3Apackages%2Fpds&type=code

@trivikr trivikr linked a pull request Nov 15, 2024 that will close this issue
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 a pull request may close this issue.

1 participant