Activate when you need to validate the package is consumable before a release — runs npm pack, installs the tarball, and verifies exports under Bun
Validates that @tnezdev/spores is consumable from an npm pack tarball under Bun. This catches packaging issues (missing files, broken imports, wrong entry point) before a release tag is pushed.
bash scripts/smoke-test.sh
npm pack in the repo root — produces the exact tarball that npm publish would uploadbun addscripts/smoke-consumer.ts which imports the public API and checks that all value exports are present and constructablevX.Y.Zpackage.json fields (files, main, exports)src/index.tsCI runs this automatically in .github/workflows/publish.yml between the test step and the publish step.
function for classes and functions). Does not exercise runtime behavior beyond import resolution.