@pyreon/typescript
v0.11.3
Published
TypeScript configuration presets for Pyreon projects
Readme
@pyreon/typescript
TypeScript configuration presets for Pyreon projects. Zero-config — just extend and go.
Install
bun add -d @pyreon/typescriptUsage
Applications
For Pyreon apps (SPAs, SSR apps, examples):
{
"extends": "@pyreon/typescript/app"
}Libraries
For publishable packages that need .d.ts output:
{
"extends": "@pyreon/typescript/lib"
}Base
Both app and lib extend base. You can extend it directly if you need full control:
{
"extends": "@pyreon/typescript",
"compilerOptions": {
"noEmit": true
}
}What's Included
All presets configure:
- JSX —
"jsx": "preserve"with"jsxImportSource": "@pyreon/core"so<div />just works - Modern target — ES2024 with DOM and DOM.Iterable libs
- Bundler resolution —
"moduleResolution": "Bundler"for Vite/esbuild/Bun compatibility - Strict mode —
strict,exactOptionalPropertyTypes,noUncheckedIndexedAccess,noImplicitOverride - Source maps — enabled by default
app adds:
noEmit: true— type-checking only, bundler handles emit
lib adds:
declaration: true+declarationMap: true— generates.d.tsfiles for consumers
License
MIT
