build: use version controlled lockfile of package dependencies for development#2876
Conversation
…velopment Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2876 +/- ##
=======================================
Coverage 93.59% 93.59%
=======================================
Files 44 44
Lines 7855 7855
Branches 687 687
=======================================
Hits 7352 7352
Misses 498 498
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
📣 note: For now the |
|
🔬 Related discussion in slackapi/node-slack-sdk#2541! |
|
🗣️ Adjacent packages published without the lockfile causing issue so I will merge this now but remain diligent next release. |
Summary
This PR uses a version controlled lockfile of package dependencies for development to guard against drift and supply chain attacks, mirroring slackapi/node-slack-sdk#2551 🔏
Notes
🔗 https://docs.npmjs.com/cli/v11/configuring-npm/package-lock-json
filesfield inpackage.jsonis an allowlist that only includesdist/**/*npm cifor deterministic installs from the lockfileRequirements