[G7-01] Add scripts/check-version.mjs #87

Open
opened 2026-05-28 01:16:09 +02:00 by codex · 0 comments
Collaborator

Suggested executor: Gemini 3.5 Flash.

Wave: G7 — Release and Version Hygiene

Goal

Create a script that checks release identity across files.

Expected files

  • scripts/check-version.mjs
  • package.json
  • tests/release_identity.test.mjs

Acceptance criteria

  • Script checks package version, lockfile version, runtime VERSION, changelog, and release notes.
  • Existing release identity test can call or mirror it.

Guardrails

  • One issue = one PR.
  • Add or update a behavior/golden test before changing behavior.
  • No runtime dependencies.
  • No new analyzer categories unless the issue explicitly says so.
  • Keep changes small; do not refactor src/analyze.ts broadly.

Verification

  • Run npm run build && npm test && git diff --check.
Suggested executor: Gemini 3.5 Flash. Wave: G7 — Release and Version Hygiene ## Goal Create a script that checks release identity across files. ## Expected files - `scripts/check-version.mjs` - `package.json` - `tests/release_identity.test.mjs` ## Acceptance criteria - Script checks package version, lockfile version, runtime `VERSION`, changelog, and release notes. - Existing release identity test can call or mirror it. ## Guardrails - One issue = one PR. - Add or update a behavior/golden test before changing behavior. - No runtime dependencies. - No new analyzer categories unless the issue explicitly says so. - Keep changes small; do not refactor `src/analyze.ts` broadly. ## Verification - Run `npm run build && npm test && git diff --check`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/fallow-ts#87
No description provided.