From 351a8adb6c4488d63bdaab832c02e68bcdfda554 Mon Sep 17 00:00:00 2001 From: Roger Deng <13251150+rogerdigital@users.noreply.github.com> Date: Tue, 26 May 2026 00:35:55 +0800 Subject: [PATCH] chore: remove @ts-nocheck from build scripts (6 files) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Packages layer deferred — 7000+ implicit-any errors from accumulated technical debt would require extensive refactoring beyond current scope. --- scripts/check-lockfile-sync.ts | 1 - scripts/check-runtime-env.ts | 1 - scripts/check-workspace-integrity.ts | 1 - scripts/control-plane-maintenance.ts | 1 - scripts/install-git-hooks.ts | 1 - scripts/workspace-utils.ts | 1 - 6 files changed, 6 deletions(-) diff --git a/scripts/check-lockfile-sync.ts b/scripts/check-lockfile-sync.ts index c0a57fc7..775c652b 100644 --- a/scripts/check-lockfile-sync.ts +++ b/scripts/check-lockfile-sync.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { existsSync } from 'node:fs'; import { join } from 'node:path'; import { listWorkspacePaths, readJson } from './workspace-utils.js'; diff --git a/scripts/check-runtime-env.ts b/scripts/check-runtime-env.ts index 6e544012..f539ebeb 100644 --- a/scripts/check-runtime-env.ts +++ b/scripts/check-runtime-env.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { existsSync, readFileSync } from 'node:fs'; import { basename, resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; diff --git a/scripts/check-workspace-integrity.ts b/scripts/check-workspace-integrity.ts index 44725abf..8e3db6dd 100644 --- a/scripts/check-workspace-integrity.ts +++ b/scripts/check-workspace-integrity.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { existsSync } from 'node:fs'; import { join } from 'node:path'; import { listWorkspacePackages, readJson } from './workspace-utils.js'; diff --git a/scripts/control-plane-maintenance.ts b/scripts/control-plane-maintenance.ts index 93c64858..42bc8be4 100644 --- a/scripts/control-plane-maintenance.ts +++ b/scripts/control-plane-maintenance.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { readFileSync, writeFileSync } from 'node:fs'; import { resolve } from 'node:path'; import { createControlPlaneRuntime } from '../packages/control-plane-runtime/src/index.js'; diff --git a/scripts/install-git-hooks.ts b/scripts/install-git-hooks.ts index 6d347ce8..98ec4b95 100644 --- a/scripts/install-git-hooks.ts +++ b/scripts/install-git-hooks.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { execFileSync } from 'node:child_process'; import process from 'node:process'; diff --git a/scripts/workspace-utils.ts b/scripts/workspace-utils.ts index 82f831d8..ddf12182 100644 --- a/scripts/workspace-utils.ts +++ b/scripts/workspace-utils.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import { existsSync, readdirSync, readFileSync } from 'node:fs'; import { join } from 'node:path';