Files
datacat/scripts/dev
a1f2d2a334 fix(preflight): update dependency-freshness check for the npm->pnpm migration (#245)
#243 migrated frontend/backend from package-lock.json to pnpm-lock.yaml, but
preflight.sh's staleness check still watched package-lock.json. Once that file
was deleted, `[[ -f "$lock" ]] || continue` silently no-op'd the check for both
packages, so a checkout still holding pre-migration npm-flat node_modules
reported "Preflight clean." This checkout hit exactly that: five commits and
the pnpm migration stale, undetected until `pnpm run verify` would have run
against the wrong toolchain layout.

Point the check at pnpm-lock.yaml/.modules.yaml and reinstall via
`pnpm install --frozen-lockfile` (wiping the old npm-flat node_modules first,
since pnpm's symlinked layout doesn't cleanly overwrite it).

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 04:19:31 +00:00
..