chore: add linting for package publication#10764
Conversation
|
Preview: https://patternfly-react-pr-10764.surge.sh A11y report: https://patternfly-react-pr-10764-a11y.surge.sh |
|
Note that I haven't added this script to run on CI, as it currently fails. There are several issues in the packages that will need to be resolved before this can be enabled. |
Is there a way we can document those issues? in a follow up issue maybe? |
That would work, I can log some follow up tasks with a tracker if you like. |
|
I'll mark this one as ready to review, and log some follow up issues. |
Signed-off-by: Jon Koops <jonkoops@gmail.com>
|
Since |
Adds a linting task called
lint:publicationwhich integratespublintso that it is ran on every package in the workspace that is published to NPM. This allows common errors to be caught, especially in relation to publishing dependencies that have mixed CommonJS and ES modules.