From 44c85621f3e885bff15a5ef34c84da66d04a2a5f Mon Sep 17 00:00:00 2001 From: Jordan Welch Date: Tue, 3 Feb 2026 07:20:17 -0600 Subject: [PATCH 1/3] chore: Install `typescript` and add `test:types` command --- package-lock.json | 1 + package.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package-lock.json b/package-lock.json index cb627dec..7c5782d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,6 +37,7 @@ "lint-staged": "^16.2.7", "prettier": "^3.8.1", "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3", "typescript-eslint": "^8.54.0" } }, diff --git a/package.json b/package.json index f001f9eb..de7cb7fd 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "test": "node --run test:fixtures && node --run lint && node --run golden:check && node --run schemas:check && node --run test:unit && node --run test:spelling", "test:unit": "node --test scripts/**/__tests__/**/*.test.js", "test:spelling": "cspell .", + "test:types": "tsc --noEmit", "leaveMenu": "echo 'Leaving menu...'" }, "simple-git-hooks": { @@ -90,6 +91,7 @@ "lint-staged": "^16.2.7", "prettier": "^3.8.1", "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3", "typescript-eslint": "^8.54.0" }, "ntl": { From 5fb8e2d676fc66b77dad08f8168301f76ce55ff6 Mon Sep 17 00:00:00 2001 From: Jordan Welch Date: Tue, 3 Feb 2026 20:31:06 -0600 Subject: [PATCH 2/3] chore: Add `types` to `test` command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index de7cb7fd..f10f8497 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "lint": "eslint && prettier --check .", "lint:fix": "eslint --fix && prettier . --write", "prepare": "simple-git-hooks", - "test": "node --run test:fixtures && node --run lint && node --run golden:check && node --run schemas:check && node --run test:unit && node --run test:spelling", + "test": "node --run test:fixtures && node --run lint && node --run golden:check && node --run schemas:check && node --run test:unit && node --run test:types && node --run test:spelling", "test:unit": "node --test scripts/**/__tests__/**/*.test.js", "test:spelling": "cspell .", "test:types": "tsc --noEmit", From f92e472b817fe1cb3a441e41dd6cb50885e9bf9a Mon Sep 17 00:00:00 2001 From: Jordan Welch Date: Tue, 3 Feb 2026 20:32:26 -0600 Subject: [PATCH 3/3] chore: Add typescript types to tests --- .github/workflows/automated-tests.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/automated-tests.yaml b/.github/workflows/automated-tests.yaml index 423034e9..4fc42e41 100644 --- a/.github/workflows/automated-tests.yaml +++ b/.github/workflows/automated-tests.yaml @@ -32,4 +32,6 @@ jobs: run: node --run lint - name: Run Unit Tests run: npm run test:unit + - name: Check TypeScript types + run: node --run test:types - run: echo "🍏 This job's status is ${{ job.status }}."