
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@huaiyou/config-ts
Advanced tools
共享的 TypeScript 配置预设,适用于 monorepo 中的所有项目。
pnpm add -D @huaiyou/config-ts typescript
适用于所有 TypeScript 项目的基础配置。
{
"extends": "@huaiyou/config-ts/base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src"]
}
针对 React 项目优化的配置,包含 JSX 支持和 DOM 类型。
{
"extends": "@huaiyou/config-ts/react.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src"]
}
针对 Node.js 项目的配置,使用 CommonJS 模块系统。
{
"extends": "@huaiyou/config-ts/node.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src"]
}
继承 Base 配置,额外包含:
继承 Base 配置,调整为:
{
"extends": "@huaiyou/config-ts/react.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@components/*": ["src/components/*"]
}
}
}
{
"extends": "@huaiyou/config-ts/base.json",
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
incremental: truereferences 优化构建性能如需添加新的配置预设或修改现有配置,请提交 Pull Request。
MIT
FAQs
Shared TypeScript configuration presets for monorepo
We found that @huaiyou/config-ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.