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
I'm currently implementing syncpack into our monorepo, and want to run it's syncpack lint command inside our cicd to checkover PR code.
currently, when we run syncpack lint, it exits with 1 and the following:
> syncpack lint
- 7 package.json files
- 127 total dependences
- 55 in package.dependencies
- 70 in package.devDependencies
- 2 in package.version
Version mismatches
- 73 are valid
- 0 should have matching versions (prefer highest semver)
- 0 should have matching versions (prefer lowest semver)
- 0 should match workspace package version
- 0 are banned from use
- 0 should be pinned to a specific version
- 0 should snap to version used by another package
- 0 are filtered out
- 0 are ignored
- 0 have unsupported version format
Semver range mismatches
- 124 are valid
- 0 should use specific semver range
- 0 should use exact version in version property of package.json
- 0 are filtered out
- 0 are ignored
- 3 have unsupported version format
i'm guessing it's exiting with 1 because of the 3 have unsupported version format but I have NFI what/where these are or how to fix them. Thus, this lint check isnt all that helpful RN. :(
Suggested Solution
Output details of the "3 have unsupported version format" items - so that we're able to fix them.
The text was updated successfully, but these errors were encountered:
I would use those for now and then let me know based on the other commands what kind of output would be best in your opinion for the new combined lint command. list is less verbose than list-mismatches for example, but also exits with an error code when needed.
Description
I'm currently implementing syncpack into our monorepo, and want to run it's
syncpack lint
command inside our cicd to checkover PR code.currently, when we run
syncpack lint
, it exits with 1 and the following:i'm guessing it's exiting with 1 because of the
3 have unsupported version format
but I have NFI what/where these are or how to fix them. Thus, this lint check isnt all that helpful RN. :(Suggested Solution
Output details of the "3 have unsupported version format" items - so that we're able to fix them.
The text was updated successfully, but these errors were encountered: