-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
It's easy to publish a package, but does it work? Is it compatible? I'm looking for a tool that verifies:
- can it be imported by node/webpack/parcel/rollup/typescript successfully?
With Node's ESM resolution introducing new constraints for ESM modules (type: 'module'
), a lot of existing modules probably can't be import
ed successfully by it.
Edit: a GHA workflow would be useful, but currently you'd have to copy-paste the whole thing between repos.
Example config: https://github.com/fregante/webext-options-sync/blob/master/.github/workflows/esm-lint.yml
Example run: https://github.com/fregante/webext-options-sync/runs/388845886
I think it can be repackaged as module with https://github.com/SamVerschueren/listr so that failures can be caught and ignored
papb, sindresorhus, dubzzz, Haroenv, vladimyr and 3 moreHaroenv
Metadata
Metadata
Assignees
Labels
No labels