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

Print the package name or package.json path on failure. #19

Open
patrickarlt opened this issue Sep 10, 2021 · 0 comments
Open

Print the package name or package.json path on failure. #19

patrickarlt opened this issue Sep 10, 2021 · 0 comments

Comments

@patrickarlt
Copy link

I'm integrating this into a monorepo using NPM workspaces. In general everything works great. However I noticed that if this does encounter an error it doesn't print the name of the package or let me know what file has errors:

For example:

npm exec -w ./packages package-check

Would run @skypack/package-check on all packages under ./packages. One of those has an error but I cant tell which one failed.

2021-09-10_09-23-49 (1)

By contrast the name of the package is printed at athe bottom for successful runs:

2021-09-10_09-24-36

Seems as simple as adding a name param to runCheck. Alternately this could print the path to the checked package.json at the top or add this under a --verbose flag. Happy to PR the change.

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

1 participant