Files changed after running npm i on clean repo

As the title says, whenever I do a clean check out of dev and run npm i, I end up with a bunch of changed files that aren't ignored by git.

Not a huge issue but a bit annoying as I can't do git add . because of these changes.

Wondering if anyone else have this issue.

The changed files are:

	modified:   .eslintignore
	modified:   .gitignore
	modified:   package-lock.json
	modified:   packages/app-clipper/popup/package-lock.json
	modified:   packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/supportedLocales.js
	modified:   packages/app-desktop/gui/note-viewer/lib.js
	modified:   packages/app-mobile/package-lock.json
	modified:   packages/lib/package-lock.json
	modified:   packages/renderer/package-lock.json

All files except package-lock.json have only line ending changes (btw I'm on Linux and have autocrlf enabled).

This is the beginning of the diff for the root package-lock (the whole diff is pretty long):

 {
   "name": "root",
+  "lockfileVersion": 2,
   "requires": true,
-  "lockfileVersion": 1,
+  "packages": {
+    "": {
+      "name": "root",
+      "hasInstallScript": true,
+      "license": "MIT",
+      "devDependencies": {
+        "@typescript-eslint/eslint-plugin": "^4.6.0",
+        "@typescript-eslint/parser": "^4.6.0",
1 Like