Check that the files declared in the package.json
are actually there before publishing.
Files specified in the [main
]?, types
, and exports
fields in the package.json
should be checked for before pushing to npm.
Is the feature request related to a problem?
Both p-queue@^7.3.1
and p-queue@^7.3.2
don't contain compiled code because the build script didn't generate them and np
didn't catch it.
Run the check directly after the lifecycle scripts and directly before pushing to npm.
Manually checking is error-prone
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too