move suncalc dependency out of dev, as it is used by the clock module (#3401)

user reported problem with clock module, checking code found dependency
on suncalc library, but it is not loaded in production mode.. move
dependency

---------

Co-authored-by: veeck <michael.veeck@nebenan.de>
This commit is contained in:
sam detweiler
2024-03-22 11:49:40 -07:00
committed by GitHub
parent d970214a0e
commit 6de578edb3
5 changed files with 83 additions and 84 deletions

View File

@@ -46,10 +46,10 @@
},
"homepage": "https://magicmirror.builders",
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.3",
"@stylistic/eslint-plugin": "^1.7.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsdoc": "^48.2.0",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-package-json": "^0.10.4",
"eslint-plugin-unicorn": "^51.0.1",
"express-basic-auth": "^1.2.1",
@@ -57,23 +57,22 @@
"jest": "^29.7.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"playwright": "^1.42.0",
"playwright": "^1.42.1",
"prettier": "^3.2.5",
"sinon": "^17.0.1",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-prettier": "^5.0.0",
"suncalc": "^1.9.0"
"stylelint-prettier": "^5.0.0"
},
"optionalDependencies": {
"electron": "^29.1.0"
"electron": "^29.1.5"
},
"dependencies": {
"ansis": "^2.3.0",
"console-stamp": "^3.1.2",
"envsub": "^4.1.0",
"eslint": "^8.57.0",
"express": "^4.18.3",
"express": "^4.19.1",
"express-ipfilter": "^1.3.2",
"feedme": "^2.0.2",
"helmet": "^7.1.0",
@@ -83,8 +82,9 @@
"moment": "^2.30.1",
"node-ical": "^0.18.0",
"pm2": "^5.3.1",
"socket.io": "^4.7.4",
"systeminformation": "^5.22.0"
"socket.io": "^4.7.5",
"suncalc": "^1.9.0",
"systeminformation": "^5.22.6"
},
"lint-staged": {
"*": "prettier --write",