Skip to content

TagSpaces is an offline, open source, document manager with tagging support

add typescript-clean before check

sytolk243e6465ccf4
diff --git a/package.json b/package.json
index 744c59bda..e7de67fe6 100644
--- a/package.json
+++ b/package.json
@@ -136,8 +136,8 @@
"test-unit": "npx playwright test --config ./playwright.unit.js",
"test-watch": "npm run test --watch",
"third-party": "npx generate-license-file --input package.json --output src/renderer/third-party.txt --overwrite",
- "type-check": "tsc --noEmit",
- "type-build": "tsc --build --clean",
+ "type-check": "npm run typescript-clean && tsc --noEmit",
+ "typescript-clean": "tsc --build --clean",
"update-changelog": "git log v5.5.2..HEAD --no-merges --format=%B > CHANGELOG.TXT",
"update-changelog-pro": "cd extensions/tagspacespro && git log v5.5.2..HEAD --no-merges --format=%B > ../../CHANGELOG-PRO.TXT",
"update-i18n": "./tx pull -a -f",