mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
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:
parent
df4ac5a603
commit
74143b74d5
@ -12,7 +12,6 @@
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@ -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 });
|
||||
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
"lib": ["ES2021", "ES2022.Error", "DOM"],
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "Bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"noErrorTruncation": true,
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
"lib": ["ES2021", "ES2022.Error"],
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "Bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"noErrorTruncation": true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user