FLUID-6785: Commit package-lock.json file

Metadata

Source
FLUID-6785
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Justin Obara
Created
2024-12-05T13:14:53.200-0500
Updated
2024-12-05T13:17:41.563-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Build Scripts
  2. Framework

Description

In the past we stopped committing the package-lock file because we ran into conflicts which often result in us having to drop the package-lock file and node_modules directory. Most of these issues occurred around the time the package-lock was first implemented. We’ve been using the package-lock file in other projects without issue for quite some time, so would seem like a time to bring it back here.

Ned Zimmerman brought up recently that amongst the other benefits it would improve our dependency pinning to include sub-dependencies and not the just the top-level ones we can pin to in the package.json file.

see: https://docs.npmjs.com/cli/v10/configuring-npm/package-lock-json