@cjournois/tsconfig (0.1.3)

Published 2026-11-12 00:47:11 +00:00 by cjournois

Installation

@cjournois:registry=
npm config set @cjournois:registry=
npm install @cjournois/tsconfig@0.1.3
"@cjournois/tsconfig": "0.1.3"

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.7

Peer dependencies

ID Version
typescript ^6.0.0
Details
npm
2026-11-12 00:47:11 +00:00
1
2026-11-25 05:22:54 +00:00
Corentin JOURNOIS
UNLICENSED
1.2 KiB
Assets (1)
Versions (5) View all
0.1.5 2026-11-17
0.1.4 2026-11-16
0.1.3 2026-11-12
0.1.2 2026-11-09
0.1.1 2026-11-07