mirror of
https://github.com/wangwangit/SubsTracker.git
synced 2026-07-01 05:34:23 +08:00
- package.json 升 3.0.0-alpha.1,新增 hono、vitest、@cloudflare/workers-types、wrangler 依赖 - jsconfig.json 配置 TypeScript 检查 JS(checkJs=false 默认关闭,文件级 // @ts-check 按需开启) - vitest.config.js 用 @cloudflare/vitest-pool-workers 跑真实 workerd 运行时 - tests/smoke.test.js 验证测试基础设施 - .gitignore 屏蔽 node_modules、调研文档、CHANGELOG 草稿 - 现有运行行为零变化,wrangler dry-run 通过 (390 KiB / 79 gzip) Refs Task 1 of refactor/v3-product-grade plan.
24 lines
609 B
JSON
24 lines
609 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["ES2022"],
|
|
"checkJs": false,
|
|
"allowJs": true,
|
|
"noEmit": true,
|
|
"strict": false,
|
|
"noImplicitAny": false,
|
|
"strictNullChecks": false,
|
|
"alwaysStrict": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"skipDefaultLibCheck": true,
|
|
"types": ["@cloudflare/workers-types"]
|
|
},
|
|
"include": ["src/**/*.js"],
|
|
"exclude": ["node_modules", "dist", ".wrangler", "public", "tests"]
|
|
}
|