node_runtime: Ignore package-lock.json files when installing internal tools (#52451)
## Context
This prevents tools with native bindings to fail installation, see:
- https://github.com/oxc-project/oxc-zed/issues/145
- https://github.com/napi-rs/napi-rs/pull/2707
- https://github.com/npm/cli/issues/4828
## How to Review
Fixes for https://github.com/oxc-project/oxc-zed/issues/145
## Self-Review Checklist
<!-- Check before requesting review: -->
- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
Release Notes:
- Fixed potential node tools failed/incomplete installation when having
native bindings as optional dependencies
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
f29c8eaf13Nicolas Le Cam committed on 9/8/2026, 9:44:06 PM· committed by GitHubparent10676ba