testdrive-jsui/docs/PUBLICATION_CHECKLIST.md
tegwick 0deddaf00d
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Complete JSUI-WP-0002 npm publication readiness
2026-07-08 15:21:11 +02:00

1.1 KiB

NPM Publication Checklist

Verified as part of JSUI-WP-0002 (2026-07-08).

Build outputs

  • npm run build / npm run build:prod produces dist/ bundles
  • dist/testdrive-jsui.cjs.js — CommonJS entry (package.json main)
  • dist/testdrive-jsui.esm.js — ESM entry (module)
  • dist/testdrive-jsui.min.js — UMD/browser (browser, unpkg, jsdelivr)
  • dist/testdrive-jsui.css — packaged styles (style field)

Browser smoke

  • test/minified-test.html — UMD smoke file present (manual browser open)
  • test/esm-test.html — ESM smoke file present
  • test/umd-test.html — UMD smoke file present

Quality gates

  • npm test (Jest) — 68 tests passed (2026-07-08)
  • prepublishOnly runs build:prod + npm test (see package.json scripts)
  • npm pack --dry-run lists dist + README/LICENSE/CHANGELOG

README install examples

  • npm: npm install testdrive-jsui
  • CDN script tags documented in README Quick Start
  • marked documented as peer dependency

Post-publish

  • Tag release in Forgejo
  • Confirm jsdelivr/unpkg resolve dist/testdrive-jsui.min.js