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

feat(config): cli.packageManager override support #5596

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

rigor789
Copy link
Member

PR Checklist

What is the current behavior?

A globally set package manager is used (ns package-manager set npm|yarn|pnpm) and has to be switched globally when switching between projects that use different package managers.

What is the new behavior?

Projects can now set the packageManager in the nativescript.config.ts at cli.packageManager

Quickest way is to use ns config set cli.packageManager yarn to update the config.

Implements #5595

@cla-bot cla-bot bot added the cla: yes label Oct 20, 2021
@project-bot project-bot bot added this to Pull Request in CLI Team Oct 20, 2021
@NathanWalker NathanWalker merged commit 3c03579 into master Oct 20, 2021
@NathanWalker NathanWalker deleted the feat/config-cli-packageManager branch October 20, 2021 16:23
CLI Team automation moved this from Pull Request to Done Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
CLI Team
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants