Complete JSUI-WP-0002 npm publication readiness
This commit is contained in:
parent
1c07e95786
commit
0deddaf00d
4 changed files with 69 additions and 4 deletions
34
docs/PUBLICATION_CHECKLIST.md
Normal file
34
docs/PUBLICATION_CHECKLIST.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# NPM Publication Checklist
|
||||
|
||||
Verified as part of JSUI-WP-0002 (2026-07-08).
|
||||
|
||||
## Build outputs
|
||||
|
||||
- [x] `npm run build` / `npm run build:prod` produces `dist/` bundles
|
||||
- [x] `dist/testdrive-jsui.cjs.js` — CommonJS entry (`package.json` `main`)
|
||||
- [x] `dist/testdrive-jsui.esm.js` — ESM entry (`module`)
|
||||
- [x] `dist/testdrive-jsui.min.js` — UMD/browser (`browser`, `unpkg`, `jsdelivr`)
|
||||
- [x] `dist/testdrive-jsui.css` — packaged styles (`style` field)
|
||||
|
||||
## Browser smoke
|
||||
|
||||
- [x] `test/minified-test.html` — UMD smoke file present (manual browser open)
|
||||
- [x] `test/esm-test.html` — ESM smoke file present
|
||||
- [x] `test/umd-test.html` — UMD smoke file present
|
||||
|
||||
## Quality gates
|
||||
|
||||
- [x] `npm test` (Jest) — 68 tests passed (2026-07-08)
|
||||
- [x] `prepublishOnly` runs `build:prod` + `npm test` (see `package.json` scripts)
|
||||
- [x] `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`
|
||||
Loading…
Add table
Add a link
Reference in a new issue