Remove package-lock.json and add non-yarn lock files to .gitignore
Open
complexity: small
Dependency - Icebox
feature: Infrastructure
role: devops
size: 0.25pt
- Dominant language
- JavaScript
- Stars
- 61
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
### Overview
`backend/package-lock.json` was accidentally introduced during the ESM migration (PR #2134). The project uses Yarn, so this file should be removed and non-yarn lock files should be gitignored to prevent recurrence.
### Action Items
- [ ] Remove `backend/package-lock.json`
- [ ] Add `package-lock.json` and `pnpm-lock.yaml` to `.gitignore`
- [ ] Follow up with #2139 to add a pre-commit hook that rejects non-yarn lock files at commit time
### Resources/Instructions
- PR #2140 (implementation)
- PR #2134 (ESM migration that introduced the file)
- Issue #2139 (pre-commit hook for ongoing prevention)
Contributor guide
Assessment
This issue has not been assessed yet.