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 think a good feature of npq would be to check if the repo's already installed packages have any issues, in the same way that it checks if a package has any issues when we want to install it. It would be a great improvement and could help set up a CI check for installed packages!
Possible Solution
Perhaps a new command npq check that detects the package.json in the current directory and runs the marshalls on all found packages in dependencies and devDependencies and reports any issues; here of course it wouldn't ask for confirmation before installing since the packages are already installed.
The text was updated successfully, but these errors were encountered:
Yep, that's a great idea!
As simple as just traversing the direct packages, right? otherwise we might be needing to go through hundreds or thousands of them and it'll be slow and also perhaps not very actionable if you don't have a way to fix them.
Would you like to work on this? I'd be happy to merge it in
As simple as just traversing the direct packages, right? otherwise we might be needing to go through hundreds or thousands of them and it'll be slow and also perhaps not very actionable if you don't have a way to fix them.
Yes of course, just the top-level packages.
Would you like to work on this? I'd be happy to merge it in
I have a bit of work for now but I think I can start working on it in 2 or 3 weeks. Thanks!
Expected Behavior
I think a good feature of
npq
would be to check if the repo's already installed packages have any issues, in the same way that it checks if a package has any issues when we want to install it. It would be a great improvement and could help set up a CI check for installed packages!Possible Solution
Perhaps a new command
npq check
that detects thepackage.json
in the current directory and runs the marshalls on all found packages independencies
anddevDependencies
and reports any issues; here of course it wouldn't ask for confirmation before installing since the packages are already installed.The text was updated successfully, but these errors were encountered: