deg0nz / MMM-PublicTransportBerlin

MagicMirror module to display public transport in Berlin and Brandenburg with BVG Hafas data.
MIT License
40 stars 20 forks source link

Undo package-lock.json removal + minor changes #206

Closed KristjanESPERANTO closed 4 months ago

KristjanESPERANTO commented 4 months ago

Due to a discussion in the forum I decided to remove the file. I didn't really like it because it doesn't correspond to best practice in the node ecosystem. The reason to remove it was because when you do npm install, the package-lock.json is changed and the user has problems afterwards when he wants to update the module. The packe-lock.json in the repository and the local version no longer match. As I understand it, the best way to work around this is to use npm ci instead of nmp install. I have now implemented this with this PR.