chore: 将 tracers.ts 提取为独立的子包
- 删除根目录的 index.ts 和 README.md,它们属于旧的项目结构 - 在 tracers.ts/ 目录下创建新的独立包,包含 package.json、README.md、.gitignore、tsconfig.json 和 bun.lock - 更新依赖配置,使用最新的 Bun 版本和 TypeScript 版本 - 此举旨在改善项目结构,使 tracers.ts 模块可以独立管理和发布
This commit is contained in:
29
tracers.ts/tsconfig.json
Normal file
29
tracers.ts/tsconfig.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
"lib": ["ESNext"],
|
||||
"target": "ESNext",
|
||||
"module": "Preserve",
|
||||
"moduleDetection": "force",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
|
||||
// Bundler mode
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"noEmit": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noImplicitOverride": true,
|
||||
|
||||
// Some stricter flags (disabled by default)
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user