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

Yarn 1.x: Investigate replacing pyarn with the native Yarn yarn.lock parser #716

Open
taylormadore opened this issue Oct 28, 2024 · 0 comments
Labels
yarn Pull requests/issues related to our yarn handling module

Comments

@taylormadore
Copy link
Contributor

In our initial implementation for the Yarn 1.x package manager in cachi2, we will use the pyarn library for parsing yarn.lock. Pyarn is a library that we maintain and there may be some benefit to use yarn itself instead to parse yarn.lock.

Here is Yarn's own parser: https://github.com/yarnpkg/yarn/tree/master/packages/lockfile
It is also distributed as a package in the npm registry, but caution that it has not been released for many years even though some changes have been made to the lockfile code in the repository.

Additional context from the discussion on the design: #585 (comment)

@taylormadore taylormadore added the yarn Pull requests/issues related to our yarn handling module label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yarn Pull requests/issues related to our yarn handling module
Projects
None yet
Development

No branches or pull requests

1 participant