
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@aristobyte-ui/typescript-config
Advanced tools
Shared TypeScript config presets used across AristoByteUI platform and packages.
@aristobyte-ui/typescript-config
Centralized TypeScript configuration presets for the AristoByte UI ecosystem.
Opinionated, consistent, and production-ready.
@aristobyte-ui/typescript-config
provides shared TypeScript configurations that enforce strict standards across all AristoByte UI packages.
This ensures:
# Install via Yarn
yarn add -D @aristobyte-ui/typescript-config
# Or via npm
npm install -D @aristobyte-ui/typescript-config
# Or via pnpm
pnpm add -D @aristobyte-ui/typescript-config
In your tsconfig.json,
extend one of the provided presets.
Base configuration (for libraries):
{
"extends": "@aristobyte-ui/typescript-config/base",
"compilerOptions": {
"outDir": "dist",
"declarationDir": "dist/types"
},
"include": ["src", "index.ts"]
}
React packages:
{
"extends": "@aristobyte-ui/typescript-config/react",
"include": ["components", "index.ts"],
"exclude": ["dist", "node_modules"]
}
Next.js projects:
{
"extends": "@aristobyte-ui/typescript-config/next",
"include": ["app", "pages", "components"],
"exclude": ["dist", "node_modules"]
}
Package-ready builds (library publishing):
{
"extends": "@aristobyte-ui/typescript-config/package",
"include": ["src"],
"exclude": ["dist", "node_modules"]
}
base
→ Strict, modern TypeScript defaults for libraries.react
→ Extends base
with React + JSX optimizations.next
→ Opinionated config optimized for Next.js projects.package
→ Publishing-friendly output with declarations and ESNext module resolution.package.json
:
{
"name": "@aristobyte-ui/button",
"version": "1.0.0",
"scripts": {
"build": "tsup"
},
"devDependencies": {
"@aristobyte-ui/typescript-config": "*",
"typescript": "^5.8.3"
}
}
tsconfig.json
:
{
"extends": "@aristobyte-ui/typescript-config/react",
"include": ["components", "index.ts"]
}
Feature | Benefit |
---|---|
strict: true | Eliminates runtime edge cases early |
noUncheckedIndexedAccess: true | Safer array/object access |
declaration: true | Ensures correct .d.ts output |
jsx: react-jsx | Optimized for React 17+ and beyond |
incremental | Faster rebuilds in monorepo workflows |
moduleResolution: NodeNext | Modern interoperability for ESM/CJS |
At AristoByte UI, we believe configuration should empower, not obstruct.
This package encapsulates our best practices into ready-to-consume presets that evolve alongside the ecosystem.
MIT © AristoByte
FAQs
Shared TypeScript config presets used across AristoByteUI platform and packages.
The npm package @aristobyte-ui/typescript-config receives a total of 1,992 weekly downloads. As such, @aristobyte-ui/typescript-config popularity was classified as popular.
We found that @aristobyte-ui/typescript-config 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.