@cjournois/tsconfig (0.1.2)
Installation
@cjournois:registry=npm config set @cjournois:registry=npm install @cjournois/tsconfig@0.1.2"@cjournois/tsconfig": "0.1.2"About this package
@cjournois/tsconfig
Shared tsconfig.json bases for bun units and Vite React apps. TypeScript 6 already defaults to
strict, the current lib (DOM included), bundler resolution and JSON imports, so these only add what
a bun unit needs on top: bun types, .ts import paths, noEmit, isolatedModules and
skipLibCheck.
Proprietary — Copyright (c) 2026 cjournois. All rights reserved. SPDX: UNLICENSED. See LICENSE for terms.
Install
bun add -d @cjournois/tsconfig typescript @types/bun
Usage
{
"extends": "@cjournois/tsconfig/bun.json",
"include": ["src", "test"]
}
A Vite React app extends @cjournois/tsconfig/vite-app.json instead, which adds "jsx": "react-jsx"
and the vite/client types.
Stricter flags such as noUncheckedIndexedAccess stay per unit: turning them on here would break the
units that do not have them yet. A unit that sets types replaces the list, so it repeats bun.
Source
Repository: git.journois.com/cjournois/library
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @biomejs/biome | 2.6.6 |
| @cjournois/biome-config-ts | 2.1.1 |
| @types/bun | 1.4.4 |
| @types/react | 19.3.0 |
| react | 19.3.1 |
| typescript | 6.0.3 |
| vite | 8.3.6 |
Peer dependencies
| ID | Version |
|---|---|
| typescript | ^6.0.0 |