Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - Don't stop on the first error #22

Open
ezzatron opened this issue Oct 20, 2021 · 1 comment
Open

Feature request - Don't stop on the first error #22

ezzatron opened this issue Oct 20, 2021 · 1 comment

Comments

@ezzatron
Copy link

With the CLI, It would be really nice to see all problems in one execution of npx @skypack/package-check. I was using the command to check up on some internal packages at my workplace, and there are some issues that I don't really intend to solve for our own internal stuff (e.g. keywords, TypeScript types). As soon as the first problem is detected, the command stops executing, so I can't easily tell if there are other issues that I can solve:

$ npx @skypack/package-check
✓ package.json
✓ ES Module Entrypoint
✓ Export Map
✓ No Unnecessary Files
✖ Keywords

$ _
@olange
Copy link

olange commented Jun 13, 2022

The error code returned to the shell could be zeroed with an option (--dry-run or --check), so that the script can be run as part of a prepare step in package.json, without that step failing, if there were errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants