Closed neilenns closed 2 weeks ago
Package lock must be committed to ensure dependency reproducibility between builds. It is not good practice to ignore it.
The backend is installed fresh on every build so there is no dependency verification required. Both locally and in the ci/release builds we have to run npm run build:backend
to get it built and installed. If it were a published npm package then dependency verification would make sense, but here it's just some files that have to be in the node_modules folder.
I tested this locally by deleting my node_modules folder then doing the normal build steps:
npm run build:backend
npm run build:win
And that correctly puts trackaudio-afv into the node_modules folder:
and produced a TrackAudio installer with a build that runs.
I just hit this again @pierr3. Can you please reconsider this PR? 🙏
Fixes #204