chore(deps): pin sort-package-json instead of pnpm dlx #171

Sammanfogat
supernaut sammanfogade 1 incheckning från chore/pin-sort-package-json in i main 2026-10-13 08:25:59 +00:00
Ägare

Pin sort-package-json 4.0.0 as an exact devDependency. The pre-commit hook calls it via pnpm exec instead of pnpm dlx.

pnpm dlx fetched the newest release on each run. That bypassed the lockfile and the release-age quarantine. The hook now runs the pinned copy from node_modules, so it works offline after install.

Changes:

  • package.json: add sort-package-json 4.0.0 to devDependencies. No version bump.
  • pnpm-lock.yaml: lockfile entry for 4.0.0.
  • lefthook.json: pnpm dlx sort-package-json becomes pnpm exec sort-package-json.

Checks:

  • Hook command run once against package.json: already sorted, exit 0.
  • pnpm lint: pass.
  • pnpm test: 19 files passed, 1 skipped. 408 tests passed, 204 skipped.

Closes #125

Pin `sort-package-json` 4.0.0 as an exact devDependency. The pre-commit hook calls it via `pnpm exec` instead of `pnpm dlx`. `pnpm dlx` fetched the newest release on each run. That bypassed the lockfile and the release-age quarantine. The hook now runs the pinned copy from `node_modules`, so it works offline after install. Changes: - `package.json`: add `sort-package-json` 4.0.0 to devDependencies. No version bump. - `pnpm-lock.yaml`: lockfile entry for 4.0.0. - `lefthook.json`: `pnpm dlx sort-package-json` becomes `pnpm exec sort-package-json`. Checks: - Hook command run once against `package.json`: already sorted, exit 0. - `pnpm lint`: pass. - `pnpm test`: 19 files passed, 1 skipped. 408 tests passed, 204 skipped. Closes #125
supernaut lade till 1 incheckning 2026-10-13 06:38:41 +00:00
chore(deps): pin sort-package-json instead of pnpm dlx (#125)
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m17s
c1912b8bd8
Pin sort-package-json 4.0.0 as an exact devDependency and call it via
pnpm exec in the pre-commit hook. dlx fetched the newest release
outside the lockfile and the release-age quarantine.

Closes #125
supernaut tvångsskickade chore/pin-sort-package-json från c1912b8bd8
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m17s
till 5b61c6a16d
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m12s
2026-10-13 08:23:16 +00:00
Jämför
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-13 08:23:20 +00:00
supernaut sammanfogade incheckning 3c26ad9a4a till main 2026-10-13 08:25:59 +00:00
supernaut tog bort grenen chore/pin-sort-package-json 2026-10-13 08:25:59 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-payment!171
Ingen beskrivning angiven.