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

fix(create): make --packageManager flag work #3498

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

mgred
Copy link
Contributor

@mgred mgred commented Jul 3, 2022

PR Checklist

  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

When running yarn create @bazel my_test_workspace --typescript --packageManager=npm the script will create a new workspace with yarn as a package manager instead of npm.

What is the new behavior?

The flag --packageManager now is respected and takes effect. This also improves the script by checking, if 'yarn' or 'npm' is given with that flag.

Does this PR introduce a breaking change?

  • No

this also improves the script by checking, if 'yarn' or 'npm' is given with that flag
Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexeagle alexeagle merged commit cd3db48 into bazel-contrib:stable Jul 3, 2022
@mgred mgred deleted the fix-create branch July 4, 2022 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants