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

Add support for Yarn v2 #2030

Closed
Basaingeal opened this issue Feb 13, 2020 · 3 comments
Closed

Add support for Yarn v2 #2030

Basaingeal opened this issue Feb 13, 2020 · 3 comments
Labels
F: language-support Issues specific to a particular language or ecosystem; may be paired with an L: label. L: javascript:yarn npm packages via yarn

Comments

@Basaingeal
Copy link

The lockfile that yarn v2 generates is different from the lockfile that yarn v1 generates. Dependabot currently always creates Yarn v1 lockfiles, but yarn v2 can't run yarn install using a v1 yarn lockfile. This is the error message received:

 YAMLException: bad indentation of a mapping entry at line 4, column 15:
       dependencies:
                   ^
       dependencies:
                   ^
@feelepxyz
Copy link
Contributor

@Basaingeal 👋 It's planned but going to be a little while before we get to it. We're focused on integrating Dependabot Preview functionality natively within GitHub so we've had to pause on package manager improvements while we do this.

We're always open to contributions to dependabot-core: https://github.com/dependabot/dependabot-core

@ylemkimon
Copy link

For the time being, I'm using a GitHub Actions workflow to fix and update PRs created by Dependabot. See #1297 (comment).

@feelepxyz feelepxyz added F: language-support Issues specific to a particular language or ecosystem; may be paired with an L: label. L: javascript:yarn npm packages via yarn labels Sep 23, 2020
@feelepxyz
Copy link
Contributor

Closing in favour of #1297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: language-support Issues specific to a particular language or ecosystem; may be paired with an L: label. L: javascript:yarn npm packages via yarn
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants