Skip to content

chore(deps): pin exact dependency versions - #131

Merged
amwebexpert merged 1 commit into
mainfrom
chore/pin-exact-deps
Jul 28, 2026
Merged

chore(deps): pin exact dependency versions#131
amwebexpert merged 1 commit into
mainfrom
chore/pin-exact-deps

Conversation

@VikingLichens

Copy link
Copy Markdown
Collaborator

Changes Description

  • Dependencies: Pin exact versions for compressorjs, conventional-changelog-cli, and conventional-recommended-bump (previously caret ranges); lockfile refreshed accordingly.
    • Add npm-package-json-lint as a dev dependency
  • Lint enforcement: Add tooling to block future caret/tilde ranges in package.json.
    • .npmrc with save-exact=true so bun add writes exact versions going forward
    • .npmpackagejsonlintrc.json with prefer-absolute-version-* rules and a new lint:package script
    • Wire package.json into lint-staged
  • CI: Run lint:package in the CI workflow

Checklist

  • code follows project coding guidelines.
  • documentation has been updated (if applicable).
  • tests have been added or updated (if applicable).
  • e2e tests completed

Screen capture(s) or recording

  • 🚫

Caret ranges in dependencies/devDependencies allowed silent minor
bumps. Pin all to exact versions and add npm-package-json-lint
(prefer-absolute-version rules) to block future ^/~ additions via
lint-staged and CI.
@amwebexpert
amwebexpert merged commit 87eb0e0 into main Jul 28, 2026
1 check passed
@amwebexpert
amwebexpert deleted the chore/pin-exact-deps branch July 28, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants