- 添加 .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:
+14
-7
@@ -1,19 +1,26 @@
|
||||
// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
|
||||
{
|
||||
"extends": "@tsconfig/node22/tsconfig.json",
|
||||
"extends": "@tsconfig/node24/tsconfig.json",
|
||||
"include": [
|
||||
"vite.config.*",
|
||||
"vitest.config.*",
|
||||
"cypress.config.*",
|
||||
"nightwatch.conf.*",
|
||||
"playwright.config.*",
|
||||
"eslint.config.*"
|
||||
],
|
||||
"compilerOptions": {
|
||||
// Most tools use transpilation instead of Node.js's native type-stripping.
|
||||
// Bundler mode provides a smoother developer experience.
|
||||
"module": "preserve",
|
||||
"moduleResolution": "bundler",
|
||||
// Include Node.js types and avoid accidentally including other `@types/*` packages.
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
|
||||
"noEmit": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"types": ["node"]
|
||||
// `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.node.tsbuildinfo"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user