Skip to content

Conversation

@jagonzalr
Copy link
Contributor

What did you implement:

Closes #642

How did you implement it:

This is an upgrade to a previous PR of mine.

The package can now detect the Yarn version to dynamically use the flags --frozen-lockfile or --immutable depending if running v1.x (classic) or v.2x, v3.x (modern).

If will also dynamically avoid injecting the flag --non-interactive even if you don't disable it on the serverless.yml file.

How can we verify it:

npm run test

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@jagonzalr jagonzalr force-pushed the detect-yarn-2-or-above branch from 983c2d2 to 8d76b02 Compare October 13, 2022 15:17
Copy link
Member

@vicary vicary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow my nitpicking. Just a rename and we're good to go!

@j0k3r j0k3r added this to the 5.10.1 milestone Oct 13, 2022
Copy link
Member

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, you can squash 👍

@jagonzalr jagonzalr force-pushed the detect-yarn-2-or-above branch from b947ab1 to 1582a2e Compare October 14, 2022 09:37
@jagonzalr jagonzalr force-pushed the detect-yarn-2-or-above branch from 1582a2e to eb892ec Compare October 14, 2022 09:46
@jagonzalr
Copy link
Contributor Author

Looks great, you can squash 👍

Done @j0k3r @vicary

@j0k3r
Copy link
Member

j0k3r commented Oct 14, 2022

Good job @jagonzalr 👏🏼

@j0k3r j0k3r merged commit ffefe00 into serverless-heaven:master Oct 14, 2022
@j0k3r j0k3r mentioned this pull request Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants