- 添加 .gitignore 文件以忽略日志、构建产物和编辑器文件 - 在开发环境中设置页面标题为"抖音数据去重 - dev" - 移除 package.json 中的 engines 字段后重新添加并更新依赖版本 - 升级 Vue、Element Plus、TypeScript 等核心依赖到最新版本 - 更新 README.md 中的项目名称和推荐浏览器设置说明 - 修改 README.md 中的命令示例从 npm 到 pnpm - 在 tsconfig.app.json 中启用 noUncheckedIndexedAccess 配置 - 将 tsconfig.node.json 继承的配置从 node22 更新为 node24 - 调整 tsconfig.node.json 中的模块解析和类型配置
This commit is contained in:
+18
-6
@@ -1,12 +1,24 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
||||
"exclude": ["src/**/__tests__/*"],
|
||||
"include": [
|
||||
"env.d.ts",
|
||||
"src/**/*",
|
||||
"src/**/*.vue"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/__tests__/*"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
|
||||
// Extra safety for array and object lookups, but may have false positives.
|
||||
"noUncheckedIndexedAccess": true,
|
||||
// Path mapping for cleaner imports.
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
]
|
||||
},
|
||||
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
||||
// Specified here to keep it out of the root directory.
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user