refactor: remove allowImportingTsExtensions from tsconfig.json files

- Removed "allowImportingTsExtensions" from tsconfig.json in dashboard, local-config-updater, and stack-cli to streamline TypeScript configurations.
- Updated import statement in local-config-updater to use a more explicit path for better clarity.

These changes simplify TypeScript settings and improve code maintainability across the project.
This commit is contained in:
mantrakp04 2026-06-03 13:11:13 -07:00
parent df4ac5a603
commit 74143b74d5
4 changed files with 1 additions and 4 deletions

View File

@ -12,7 +12,6 @@
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",

View File

@ -7,7 +7,7 @@ import { createHash } from "crypto";
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
import { createJiti } from "jiti";
import path from "path";
import { getToolWriteTargetPath, isPathInsideDir, runHeadlessClaudeAgent } from "./config-agent.ts";
import { getToolWriteTargetPath, isPathInsideDir, runHeadlessClaudeAgent } from "@hexclave/local-config-updater/config-agent";
const jiti = createJiti(import.meta.url, { moduleCache: false });

View File

@ -7,7 +7,6 @@
"lib": ["ES2021", "ES2022.Error", "DOM"],
"module": "ES2020",
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"noErrorTruncation": true,

View File

@ -7,7 +7,6 @@
"lib": ["ES2021", "ES2022.Error"],
"module": "ES2020",
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"noErrorTruncation": true,