From a0508765d3230597e93ebf0d1e8190501dde4444 Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Wed, 24 Jun 2026 18:12:15 +1000 Subject: [PATCH] Tighten release package smoke checks --- README.md | 2 +- package.json | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a021359..5dd1d72 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ npm run package:smoke npm run release:check ``` -Use `npm pack --dry-run` to confirm the published package contains the CLI/runtime files plus README, license, security, support, and release notes. +Use `npm run package:smoke` to rebuild, assert the published CLI/runtime entrypoints exist, and confirm the tarball contains README, license, security, support, and release notes. ## License MIT diff --git a/package.json b/package.json index f9ae75a..cdea691 100644 --- a/package.json +++ b/package.json @@ -21,14 +21,16 @@ "SECURITY.md", "CHANGELOG.md", "CONTRIBUTING.md", - "CODE_OF_CONDUCT.md" + "CODE_OF_CONDUCT.md", + "SUPPORT.md", + "RELEASE_NOTES.md" ], "scripts": { "build": "tsc -p tsconfig.json", "check": "tsc -p tsconfig.json --noEmit", "test": "npm run build && node --test dist/**/*.test.js", "smoke": "npm run build && bash scripts/smoke.sh", - "package:smoke": "npm pack --dry-run", + "package:smoke": "npm run build && test -f dist/src/cli.js && test -f dist/src/index.js && npm pack --dry-run", "release:check": "npm run check && npm test && npm run build && npm run smoke && npm run package:smoke" }, "keywords": [