diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b2fc56..d61e93a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,5 +16,5 @@ jobs: with: node-version: "20" - run: npm ci - - run: npm run lint + - run: npm run lint:all - run: npm run generate all diff --git a/package-lock.json b/package-lock.json index 6654e11..4972a62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,14 +12,14 @@ "archiver": "^7.0.1", "picocolors": "^1.0.1", "pngjs": "^7.0.0", - "tsx": "^4.16.2" + "tsx": "^4.16.2", + "typescript": "^5.5.4" }, "devDependencies": { "@types/archiver": "^6.0.2", "@types/pngjs": "^6.0.5", "eslint": "^9.8.0", - "neostandard": "^0.11.1", - "typescript": "^5.5.3" + "neostandard": "^0.11.1" }, "engines": { "node": ">=20" @@ -3152,10 +3152,9 @@ } }, "node_modules/typescript": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", - "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", - "dev": true, + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 7c19f0c..18590b3 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,10 @@ "scripts": { "generate": "tsx src/generate.ts", "build": "npm run generate all", - "lint": "eslint .", - "lint:fix": "npm run lint -- --fix", + "lint:ts": "tsc --noEmit", + "lint:js": "eslint .", + "lint:js:fix": "npm run lint -- --fix", + "lint:all": "npm run lint:ts && npm run lint:js", "preversion": "npm run generate all", "version": "tsx src/bump.ts" }, @@ -28,13 +30,13 @@ "archiver": "^7.0.1", "picocolors": "^1.0.1", "pngjs": "^7.0.0", - "tsx": "^4.16.2" + "tsx": "^4.16.2", + "typescript": "^5.5.4" }, "devDependencies": { "@types/archiver": "^6.0.2", "@types/pngjs": "^6.0.5", "eslint": "^9.8.0", - "neostandard": "^0.11.1", - "typescript": "^5.5.3" + "neostandard": "^0.11.1" } }