Closed rob4226 closed 3 years ago
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @Rob4226.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check
as a comment to the PR.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Thank you for this @Rob4226 ! I’ve been hesitating with the 8.1 cli release around the corner as it improves a number of things around workspace handling which includes ability to mix in yarn workspaces with Nx and also no longer require force with some conditions. Will merge this and out in a release after 8.1.
@NathanWalker Ok sounds good!
This PR adds the
force
option that allows disabling the default behavior of always adding the--force
flag to every NativeScript build/run command. I saw the below note, but there are some edge cases where runningnpm i
is not desirable or problematic.This commit still leaves the current behavior of adding
--force
by default but allows disabling the--force
flag by explictly setting the newforce
option tofalse
.Example