Skip to content

Comments

chore: remove lock files and tighten dependency version ranges#15

Merged
lwshang merged 3 commits intomainfrom
marc0olo/avoid-lock-files-in-templates
Feb 20, 2026
Merged

chore: remove lock files and tighten dependency version ranges#15
lwshang merged 3 commits intomainfrom
marc0olo/avoid-lock-files-in-templates

Conversation

@marc0olo
Copy link
Member

Summary

  • Remove lock files and gitignore them so users always get the latest compatible dependency versions when scaffolding with icp new
  • Switch from caret (^) to tilde (~) version ranges in package.json to limit exposure to breaking changes without lock files
  • Add template guidelines to the contributing guide explaining these conventions
  • Link contributing guide from the main README

Rationale

Templates are starting points, not reproducible builds. Stale lock files pin users to outdated (and potentially vulnerable) dependency versions. Tilde ranges strike a balance — users still get patch-level fixes automatically while minimizing the risk of unexpected breaking changes from minor version bumps.

@lwshang lwshang merged commit 1631a66 into main Feb 20, 2026
5 checks passed
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