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
DEPENDENCY_TYPES is a constant used by gatherDependencies to get every name/version pair for the commands list, list-mismatches, fix-mismatches, and set-semver-ranges.
Make DEPENDENCY_TYPES the default.
Add CLI options to let you override which types are used.
Possible Solutions
Scenario: Only list devDependencies and peerDependencies:
syncpack list --type devDependencies --type peerDependencies
syncpack list --type dev --type peer
syncpack list --types dev,peer
syncpack list --dev --peer
Suggested Solution
Use option 4 from above, where each dependency type is a boolean option:
Description
DEPENDENCY_TYPES
is a constant used bygatherDependencies
to get every name/version pair for the commandslist
,list-mismatches
,fix-mismatches
, andset-semver-ranges
.DEPENDENCY_TYPES
the default.Possible Solutions
Scenario: Only list
devDependencies
andpeerDependencies
:syncpack list --type devDependencies --type peerDependencies
syncpack list --type dev --type peer
syncpack list --types dev,peer
syncpack list --dev --peer
Suggested Solution
Use option 4 from above, where each dependency type is a boolean option:
'-p, --prod'
'-d, --dev'
'-P, --peer'
Usage
Related Issues
'engines'
could be included.The text was updated successfully, but these errors were encountered: