-
Notifications
You must be signed in to change notification settings - Fork 28
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
Feat/get ready for yarn2 #69
Conversation
lib/parsers/yarn-lock-parse-base.ts
Outdated
if (lockfile.type !== this.type) { | ||
throw new InvalidUserInputError( | ||
'Unsupported lockfile provided. ' + | ||
'Please provide `package-lock.json`.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn.lock? not package-lock.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn uses yarn.lock file, not the npm way of package-lock.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep think it was wrong then too 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually @gitphill is correct. I now understand the flow better and indeed it should say yarn.lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gitphill addressed your comment 😃
8ecfe48
to
6013a18
Compare
@gitphill done ✅ Please, take a look again 😃 |
36d4d38
to
7c14431
Compare
7c14431
to
0581a37
Compare
0581a37
to
5aa9d19
Compare
🎉 This PR is included in version 1.23.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What this does
Refactor PR #57 together with @regevbr to enable easier rollout for a yarn v2 support