Skip to content

How to access root dependencies in packages' package.json? #3841

Answered by arcanis
amirhhashemi asked this question in Q&A
Discussion options

You must be logged in to vote

No, jest must be a dependency of the script that uses it (we enforce that dependencies are strictly followed, and don't "leak" from one workspace to another). You have some options though, check this doc entry:

https://yarnpkg.com/getting-started/qa/#how-to-share-scripts-between-workspaces

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amirhhashemi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants