chore: update dependencies + add exports, files, and sideEffects fields to package.json (#4040)

This updates all dependencies to their latest versions - except two
packages:

- eslint: Some plugins we use here aren't compatible yet to ESLint v10.
- node-ical: The new version has revealed an issue in our calendar
logic. I would prefer to address this in a separate PR.

After updating the dependencies, eslint-plugin-package-json rules
complained about missing fields in the package.json. I added them in the
second commit.
This commit is contained in:
Kristjan ESPERANTO
2026-03-01 08:30:24 +01:00
committed by GitHub
parent df8a882966
commit 083953fff5
2 changed files with 968 additions and 1113 deletions

2029
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,6 +35,18 @@
}
},
"main": "js/electron.js",
"exports": "./js/electron.js",
"files": [
"clientonly",
"css",
"defaultmodules",
"js",
"serveronly",
"translations",
"favicon.svg",
"index.html"
],
"sideEffects": true,
"scripts": {
"config:check": "node js/check_config.js",
"postinstall": "git clean -df fonts vendor modules/default",
@@ -75,14 +87,14 @@
"*.css": "stylelint --fix"
},
"dependencies": {
"@fontsource/roboto": "^5.2.9",
"@fontsource/roboto": "^5.2.10",
"@fontsource/roboto-condensed": "^5.2.8",
"@fortawesome/fontawesome-free": "^7.1.0",
"ajv": "^8.17.1",
"@fortawesome/fontawesome-free": "^7.2.0",
"ajv": "^8.18.0",
"animate.css": "^4.1.1",
"console-stamp": "^3.1.2",
"croner": "^9.1.0",
"eslint": "^9.39.2",
"croner": "^10.0.1",
"eslint": "^9.39.3",
"express": "^5.2.1",
"feedme": "^2.0.2",
"helmet": "^8.1.0",
@@ -96,36 +108,36 @@
"pm2": "^6.0.14",
"socket.io": "^4.8.3",
"suncalc": "^1.9.0",
"systeminformation": "^5.30.7",
"undici": "^7.19.2",
"systeminformation": "^5.31.1",
"undici": "^7.22.0",
"weathericons": "^2.1.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^5.7.1",
"@stylistic/eslint-plugin": "^5.9.0",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.6",
"@vitest/eslint-plugin": "^1.6.9",
"@vitest/ui": "^4.0.18",
"cspell": "^9.6.2",
"cspell": "^9.7.0",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-jsdoc": "^62.5.0",
"eslint-plugin-package-json": "^0.88.2",
"eslint-plugin-playwright": "^2.5.1",
"eslint-plugin-jsdoc": "^62.7.1",
"eslint-plugin-package-json": "^0.89.2",
"eslint-plugin-playwright": "^2.8.0",
"express-basic-auth": "^1.2.1",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"markdownlint-cli2": "^0.20.0",
"msw": "^2.12.7",
"playwright": "^1.58.1",
"jsdom": "^28.1.0",
"lint-staged": "^16.3.0",
"markdownlint-cli2": "^0.21.0",
"msw": "^2.12.10",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"prettier-plugin-jinja-template": "^2.1.0",
"stylelint": "^17.1.0",
"stylelint": "^17.4.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-prettier": "^5.0.3",
"vitest": "^4.0.18"
},
"optionalDependencies": {
"electron": "^40.1.0"
"electron": "^40.6.1"
},
"engines": {
"node": ">=22.21.1 <23 || >=24"