Move systeminformation to devDependencies

devDependencies are tree-shaked, while dependencies are stored in the
image. We reserve dependencies just for those that contain binary
bindings

Change-type: patch
This commit is contained in:
Felipe Lalanne 2023-08-03 17:11:37 -04:00
parent ddf99429eb
commit a67a5a0f8f
2 changed files with 15 additions and 12 deletions

23
package-lock.json generated
View File

@ -14,8 +14,7 @@
"got": "^12.5.3",
"mdns-resolver": "^1.0.0",
"semver": "^7.3.2",
"sqlite3": "^5.1.6",
"systeminformation": "^5.6.10"
"sqlite3": "^5.1.6"
},
"devDependencies": {
"@balena/contrato": "^0.6.0",
@ -100,6 +99,7 @@
"sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0",
"supertest": "^6.1.3",
"systeminformation": "5.18.10",
"tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6",
"tmp": "^0.1.0",
@ -11204,9 +11204,10 @@
}
},
"node_modules/systeminformation": {
"version": "5.6.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.6.10.tgz",
"integrity": "sha512-OHOsd0OuVxocAzrG0TXz4yw7bixR6qrYot9G3w8oNX8OF7hjmGTePCieVvSfgWNgK2NBA5tfziwxTfNqX0ej9g==",
"version": "5.18.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz",
"integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==",
"dev": true,
"os": [
"darwin",
"linux",
@ -11214,13 +11215,14 @@
"freebsd",
"openbsd",
"netbsd",
"sunos"
"sunos",
"android"
],
"bin": {
"systeminformation": "lib/cli.js"
},
"engines": {
"node": ">=4.0.0"
"node": ">=8.0.0"
},
"funding": {
"type": "Buy me a coffee",
@ -21864,9 +21866,10 @@
"dev": true
},
"systeminformation": {
"version": "5.6.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.6.10.tgz",
"integrity": "sha512-OHOsd0OuVxocAzrG0TXz4yw7bixR6qrYot9G3w8oNX8OF7hjmGTePCieVvSfgWNgK2NBA5tfziwxTfNqX0ej9g=="
"version": "5.18.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz",
"integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==",
"dev": true
},
"table": {
"version": "5.4.6",

View File

@ -36,8 +36,7 @@
"got": "^12.5.3",
"mdns-resolver": "^1.0.0",
"semver": "^7.3.2",
"sqlite3": "^5.1.6",
"systeminformation": "^5.6.10"
"sqlite3": "^5.1.6"
},
"engines": {
"node": "^18.18.0",
@ -126,6 +125,7 @@
"sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0",
"supertest": "^6.1.3",
"systeminformation": "5.18.10",
"tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6",
"tmp": "^0.1.0",