You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in the additional context section of #250, it is useful to be able to install only production dependencies (by passing -P flag) while adhering to the frozen install semantics.
This allows for building releases with just production dependencies while ensuring consistent versions of dependencies.
Suggested solution
Allow passing -P parameter when calling nci or ni --frozen.
I will prepare a PR for it.
Alternative
I'm not quite sure - possibly a separate command (e.g. ncip) that encapsulates it all? The benefit would be tighter control over input arguments. The proposed approach allows for the passing of any additional arguments to nci or ni --frozen, not just the -P.
Clear and concise description of the problem
As mentioned in the additional context section of #250, it is useful to be able to install only production dependencies (by passing
-P
flag) while adhering to the frozen install semantics.This allows for building releases with just production dependencies while ensuring consistent versions of dependencies.
Suggested solution
Allow passing
-P
parameter when callingnci
orni --frozen
.I will prepare a PR for it.
Alternative
I'm not quite sure - possibly a separate command (e.g.
ncip
) that encapsulates it all? The benefit would be tighter control over input arguments. The proposed approach allows for the passing of any additional arguments tonci
orni --frozen
, not just the-P
.Additional context
Requires a syncing release of antfu-collective/package-manager-detector#40, which enables arguments to be passed to the frozen command in the first place.
Validations
The text was updated successfully, but these errors were encountered: