
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
@ilo-org/typescript-config
Advanced tools
TypeScript configuration for ILO Design System projects
This package provides sensible TypeScript compiler defaults that enforce strict type checking and modern JavaScript/TypeScript features. It's designed to work seamlessly with @ilo-org/eslint-config for a complete type-safe development experience.
npm install -D @ilo-org/typescript-config
# or
pnpm add -D @ilo-org/typescript-config
# or
yarn add -D @ilo-org/typescript-config
Create a tsconfig.json file in your project root and extend this configuration:
{
"extends": "@ilo-org/typescript-config",
"compilerOptions": {
"outDir": "dist"
}
}
Alternatively, you can reference the full path:
{
"extends": "@ilo-org/typescript-config/tsconfig.json",
"compilerOptions": {
"outDir": "dist"
}
}
You can override or add compiler options as needed:
{
"extends": "@ilo-org/typescript-config",
"compilerOptions": {
"outDir": "lib",
"declaration": true,
"declarationDir": "lib/types"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
This configuration includes the following TypeScript compiler options:
| Option | Value | Description |
|---|---|---|
module | esnext | Use the latest ES module format |
moduleResolution | node | Use Node.js-style module resolution |
esModuleInterop | true | Enable interoperability between CommonJS and ES modules |
allowSyntheticDefaultImports | true | Allow default imports from modules with no default export |
isolatedModules | true | Ensure each file can be safely transpiled without other files |
resolveJsonModule | true | Allow importing JSON files as modules |
| Option | Value | Description |
|---|---|---|
target | es6 | Compile to ES6 (ES2015) |
lib | ["es2017"] | Include ES2017 library type definitions |
jsx | react-jsx | Use the new JSX transform (React 17+) |
allowJs | true | Allow JavaScript files to be included |
| Option | Value | Description |
|---|---|---|
strict | true | Enable all strict type checking options |
alwaysStrict | true | Parse in strict mode and emit "use strict" |
noImplicitAny | true | Raise error on expressions and declarations with an implied any type |
strictBindCallApply | true | Enable stricter checking of bind, call, and apply methods |
strictFunctionTypes | false | Disable stricter checking of function types (allows bivariance) |
noUnusedLocals | true | Report errors on unused local variables |
noUnusedParameters | true | Report errors on unused parameters |
noFallthroughCasesInSwitch | true | Report errors for fallthrough cases in switch statements |
forceConsistentCasingInFileNames | true | Disallow inconsistently-cased references to the same file |
| Option | Value | Description |
|---|---|---|
sourceMap | true | Generate corresponding .map files for debugging |
skipLibCheck | true | Skip type checking of declaration files (faster compilation) |
The following directories are excluded by default:
**/lib/* - Compiled output**/node_modules/* - Dependencies**/dist/* - Distribution filesFor a library that needs to emit declaration files:
{
"extends": "@ilo-org/typescript-config",
"compilerOptions": {
"outDir": "lib",
"declaration": true,
"declarationDir": "lib/types"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "lib", "**/*.test.ts"]
}
For a React application with DOM types:
{
"extends": "@ilo-org/typescript-config",
"compilerOptions": {
"jsx": "react-jsx",
"lib": ["dom", "dom.iterable", "es2017"],
"types": ["node"]
},
"include": ["./src", "./tests"],
"exclude": ["node_modules", "dist"]
}
For a separate build configuration (e.g., tsconfig.build.json):
{
"extends": "@ilo-org/typescript-config",
"compilerOptions": {
"outDir": "lib",
"declaration": true
},
"include": ["src/**/*"],
"exclude": ["**/lib/*", "**/node_modules/*", "**/*.test.ts"]
}
Then reference it in your main tsconfig.json:
{
"extends": "./tsconfig.build.json",
"compilerOptions": {
"noEmit": true
},
"include": ["src/**/*", "tests/**/*"]
}
For a monorepo root configuration:
{
"extends": "./config/typescript-config/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"noEmit": true
},
"include": ["**/src/*"],
"exclude": ["**/lib/*", "**/node_modules/*", "**/dist/*"]
}
This TypeScript configuration is designed to work seamlessly with @ilo-org/eslint-config, which uses TypeScript ESLint for type-aware linting. The ESLint config automatically resolves your tsconfig.json for type checking.
Licensed under the Apache 2.0 License.
FAQs
Typescript configuration for ILO Design System
The npm package @ilo-org/typescript-config receives a total of 0 weekly downloads. As such, @ilo-org/typescript-config popularity was classified as not popular.
We found that @ilo-org/typescript-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.