remove unused dependencies & deprecated postinstall technique replacement

This commit is contained in:
theofficialomega committed 2026-04-09 01:21:21 +02:00
1 parent 4dadf49790
commit 478d2c5479
3 files changed
+4 -686

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
cache: 'npm' cache: 'npm'
- name: Install dependencies - name: Install dependencies
if: steps.files.outputs.any_changed == 'true' if: steps.files.outputs.any_changed == 'true'
run: SKIP_POSTINSTALL=1 npm install run: npm install --ignore-scripts
- name: Check changed js-files - name: Check changed js-files
if: steps.files.outputs.js_any_changed == 'true' if: steps.files.outputs.js_any_changed == 'true'
run: npx eslint ${{ steps.files.outputs.js_all_changed_files }} run: npx eslint ${{ steps.files.outputs.js_all_changed_files }}
+1 -673
View File
File diff suppressed because it is too large. Load diff
+2 -12
View File
@@ -17,15 +17,12 @@
"grab": "tsx scripts/commands/epg/grab.ts", "grab": "tsx scripts/commands/epg/grab.ts",
"lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,js}\"", "lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,js}\"",
"test": "cross-env TZ=Pacific/Nauru npx jest --runInBand", "test": "cross-env TZ=Pacific/Nauru npx jest --runInBand",
"postinstall": "skip-postinstall || npm run api:load", "postinstall": "npm --ignore-scripts || npm run api:load",
"prepare": "husky" "prepare": "husky"
}, },
"private": true, "private": true,
"license": "UNLICENSED", "license": "UNLICENSED",
"jest": { "jest": {
"setupFiles": [
"<rootDir>/node_modules/jest-offline"
],
"transform": { "transform": {
"^.+\\.(ts|js)$": "@swc/jest" "^.+\\.(ts|js)$": "@swc/jest"
}, },
@@ -39,7 +36,6 @@
] ]
}, },
"dependencies": { "dependencies": {
"@alex_neo/jest-expect-message": "^1.0.5",
"@eslint/eslintrc": "^3.3.5", "@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4", "@eslint/js": "^9.39.4",
"@freearhey/chronos": "^0.0.1", "@freearhey/chronos": "^0.0.1",
@@ -89,7 +85,6 @@
"iconv-lite": "^0.7.2", "iconv-lite": "^0.7.2",
"inquirer": "^13.4.1", "inquirer": "^13.4.1",
"jest": "^30.3.0", "jest": "^30.3.0",
"jest-offline": "^1.0.1",
"langs": "^2.0.0", "langs": "^2.0.0",
"libxml2-wasm": "^0.7.1", "libxml2-wasm": "^0.7.1",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
@@ -97,24 +92,19 @@
"lodash.sortby": "^4.7.0", "lodash.sortby": "^4.7.0",
"lodash.startcase": "^4.4.0", "lodash.startcase": "^4.4.0",
"lodash.uniqby": "^4.7.0", "lodash.uniqby": "^4.7.0",
"nedb-promises": "^6.2.3",
"p-limit": "^7.3.0", "p-limit": "^7.3.0",
"pako": "^2.1.0", "pako": "^2.1.0",
"parse-duration": "^2.1.6", "parse-duration": "^2.1.6",
"pm2": "^6.0.14", "pm2": "^6.0.14",
"run-script-os": "^1.1.6", "run-script-os": "^1.1.6",
"serve": "^14.2.6", "serve": "^14.2.6",
"skip-postinstall": "^1.0.0",
"socks-proxy-agent": "^10.0.0", "socks-proxy-agent": "^10.0.0",
"srcset": "^5.0.3", "srcset": "^5.0.3",
"table2array": "^0.0.2", "table2array": "^0.0.2",
"tabletojson": "^4.1.9", "tabletojson": "^4.1.9",
"tough-cookie": "^6.0.1", "tough-cookie": "^6.0.1",
"transliteration": "^2.6.1",
"tsx": "^4.21.0", "tsx": "^4.21.0",
"typescript": "^6.0.2", "typescript": "^6.0.2",
"unzipit": "^2.0.1", "uuid": "^13.0.0"
"uuid": "^13.0.0",
"wildcard-match": "^5.1.4"
} }
} }