Skip to content

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

Merged
alexeagle merged 1 commit into
bazel-contrib:stablefrom
mgred:fix-create
Jul 3, 2022
Merged

fix(create): make --packageManager flag work#3498
alexeagle merged 1 commit into
bazel-contrib:stablefrom
mgred:fix-create

Conversation

@mgred
Copy link
Copy Markdown
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
Copy Markdown
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