Self-Checks and Quizzes for People Who Publish Packages
This page collects every check-yourself page on the site in one place. Some test what you know, some ask about your own release habits, and some walk you through a symptom to its cause. None of them collect answers, require an account or issue a certificate; you score yourself on the page and keep the result in your head or your notes.
Knowledge quizzes
Short question sets with the correct answer and an explanation underneath each question. Good for checking whether a rule you think you know matches the specification.
- Semantic versioning quiz: which bump a change needs, how pre-release tags sort, and what 0.x means.
- Open-source licence quiz: permissive and copyleft obligations, SPDX expressions and notice files.
- package.json fields quiz:
exports,files,engines,peerDependenciesand friends.
Self-assessments about your own practice
These score your process rather than your knowledge. They work best when you answer for a specific package and a specific recent release.
- Release readiness: twelve statements about versioning, changelog, testing, metadata and publishing.
- Public API design: ten questions about the size and shape of what your library exports.
- Supply-chain security: accounts, build and publishing, scored stage by stage.
Diagnostics for when something is already wrong
- Files missing from a published package: why
dist/or a data file did not make it into the artefact. - ERR_REQUIRE_ESM and module format errors: reading the error and finding which side of the ESM/CommonJS boundary is wrong.
- ERESOLVE peer dependency conflicts: working out whether the conflict is yours or a dependency's.
Checklists to run before a release
| Checklist | Use it when |
|---|---|
| npm pre-publish | Any JavaScript or TypeScript package release. |
| PyPI release | Building and uploading wheels and sdists. |
| 1.0 readiness | Deciding whether to leave 0.x and promise stability. |
| crates.io publishing | A first or routine Rust crate release. |
Using a self-check with a team
Several of these pages work well as a short agenda item for a team that owns an internal library. Have each person answer the release readiness or supply-chain assessment separately, then compare. Disagreement is the useful part: if one engineer thinks publishing always happens from CI and another remembers pushing a hotfix from a laptop last month, you have found a gap no tool would have reported. Write down the two or three actions you agree on and revisit the same assessment after the next release to see whether the answers changed.
Suggested order
If you are new to publishing, take the three quizzes first, because the self-assessments assume you know the vocabulary; the glossary helps with unfamiliar terms. If you already maintain a package, start with the release readiness assessment, then jump to whichever checklist matches your registry. Keep the diagnostics bookmarked for the day a user opens an issue saying your latest version will not install.
Scores on these pages are for reflection only. They are a quick way to find gaps, not a qualification, and the authoritative rules remain the specifications and registry documentation listed on the resources page.