From 8d1305522fc1dbf6086d97652ea9ebc0231e808d Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Thu, 11 Jun 2026 08:09:35 +1000 Subject: [PATCH 1/3] Add package verification workflow --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fc5a9e..fc206cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,13 +48,12 @@ jobs: exit 1 fi - - name: Run optional Node checks + - name: Run Node verification run: | set -euo pipefail if [ ! -f package.json ]; then - echo "No package.json found; skipping Node checks." - echo "TODO: add install, lint, test, typecheck, or build commands when this template becomes an app or package." + echo "No package.json found; skipping Node verification." exit 0 fi @@ -64,5 +63,7 @@ jobs: npm install fi - npm run release:check - bash scripts/validate.sh + npm run check + npm test + npm run build + npm run smoke \ No newline at end of file From ed7ae4660a2b508ec0080556b2bd57beb9d5e3c8 Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Thu, 11 Jun 2026 08:09:36 +1000 Subject: [PATCH 2/3] Document local verification commands --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 15a41f0..6426e33 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,19 @@ bash scripts/validate.sh Keep changes small, local-first, and fixture-backed. See [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md). +## Development + +Use Node.js 20 or newer. Run these checks before opening a PR: + +```sh +npm run build +npm run check +npm test +npm run smoke +npm run package:smoke +npm run release:check +``` + ## License MIT From ff1081154785d299d894879b81aa04f5ba535fc6 Mon Sep 17 00:00:00 2001 From: Roger Chappel Date: Thu, 11 Jun 2026 08:09:36 +1000 Subject: [PATCH 3/3] Publish package support metadata --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d4402cb..dc2eeaf 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "dist", "README.md", "LICENSE", - "SECURITY.md" + "SECURITY.md", + "CHANGELOG.md", + "CONTRIBUTING.md" ], "scripts": { "build": "tsc",