Fix package-lock for CI npm ci on release builds

Pin TypeScript 5.8.3 and add legacy-peer-deps so npm ci matches
eslint-plugin-obsidianmd peer requirements in GitHub Actions.
This commit is contained in:
bucknatt 2026-05-15 19:24:23 +02:00
parent f538fe900a
commit a17601c3a5
4 changed files with 16 additions and 11 deletions

4
.githooks/prepare-commit-msg Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
# Strips Cursor's automatic co-author trailer from commit messages.
# Enable once: git config core.hooksPath .githooks
grep -v '^Co-authored-by: Cursor <cursoragent@cursor.com>$' "$1" >"$1.tmp" && mv "$1.tmp" "$1"

View file

@ -0,0 +1 @@
legacy-peer-deps=true

View file

@ -18,7 +18,7 @@
"globals": "14.0.0",
"obsidian": "^1.8.10",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript": "5.8.3",
"typescript-eslint": "8.35.1"
}
},
@ -855,9 +855,9 @@
}
},
"node_modules/@types/estree": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
"integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
"dev": true,
"license": "MIT"
},
@ -876,9 +876,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "22.19.17",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz",
"integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==",
"version": "22.19.19",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.19.tgz",
"integrity": "sha512-dyh/xO2Fh5bYrfWaaqGrRQQGkNdmYw6AmaAUvYeUMNTWQtvb796ikLdmTchRmOlOiIJ1TDXfWgVx1QkUlQ6Hew==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -5481,9 +5481,9 @@
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View file

@ -30,7 +30,7 @@
"globals": "14.0.0",
"obsidian": "^1.8.10",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript": "5.8.3",
"typescript-eslint": "8.35.1"
}
}