chore: update package versions to 1.1.0, add @types/node for improved type definitions, and enhance ESLint configuration

This commit is contained in:
Tudor Stanciu 2025-10-06 00:57:50 +03:00
parent b25c8d8f91
commit 7b47a121a0
4 changed files with 31 additions and 5 deletions

26
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "bitip",
"version": "1.0.4",
"version": "1.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bitip",
"version": "1.0.4",
"version": "1.1.0",
"license": "MIT",
"workspaces": [
"src/backend",
@ -6652,7 +6652,7 @@
},
"src/backend": {
"name": "bitip-backend",
"version": "1.0.4",
"version": "1.1.0",
"dependencies": {
"@maxmind/geoip2-node": "^6.1.0",
"compression": "^1.7.4",
@ -7141,7 +7141,7 @@
},
"src/frontend": {
"name": "bitip-frontend",
"version": "1.0.4",
"version": "1.1.0",
"dependencies": {
"@flare/utiliyo": "^1.2.2",
"axios": "^1.12.2",
@ -7154,6 +7154,7 @@
},
"devDependencies": {
"@types/leaflet": "^1.9.18",
"@types/node": "^24.6.2",
"@types/react": "^19.1.16",
"@types/react-dom": "^19.1.9",
"@typescript-eslint/eslint-plugin": "^8.45.0",
@ -7256,6 +7257,16 @@
"react-dom": "^19.0.0"
}
},
"src/frontend/node_modules/@types/node": {
"version": "24.6.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.6.2.tgz",
"integrity": "sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.13.0"
}
},
"src/frontend/node_modules/@types/react": {
"version": "19.1.16",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.16.tgz",
@ -7684,6 +7695,13 @@
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"src/frontend/node_modules/undici-types": {
"version": "7.13.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.13.0.tgz",
"integrity": "sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==",
"dev": true,
"license": "MIT"
}
}
}

View File

@ -23,6 +23,10 @@ export default [
module: 'readonly',
require: 'readonly',
exports: 'readonly',
setTimeout: 'readonly',
clearTimeout: 'readonly',
setInterval: 'readonly',
clearInterval: 'readonly',
},
},
plugins: {
@ -42,6 +46,7 @@ export default [
],
'@typescript-eslint/explicit-function-return-type': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
'no-undef': 'off', // TypeScript handles this better
},
},
{

View File

@ -22,6 +22,7 @@ export default [
},
globals: {
...globals.browser,
...globals.node,
},
},
plugins: {
@ -42,6 +43,7 @@ export default [
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/explicit-function-return-type': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
'no-undef': 'off', // TypeScript handles this better
},
},
{

View File

@ -23,6 +23,7 @@
},
"devDependencies": {
"@types/leaflet": "^1.9.18",
"@types/node": "^24.6.2",
"@types/react": "^19.1.16",
"@types/react-dom": "^19.1.9",
"@typescript-eslint/eslint-plugin": "^8.45.0",