MCPcopy
hub / github.com/tsconfig/bases

github.com/tsconfig/bases @main sqlite

repository ↗ · DeepWiki ↗
3 symbols 11 edges 6 files 0 documented · 0%
README

Centralized Recommendations for TSConfig bases

Hosts TSConfigs for you to extend in your apps, tuned to a particular runtime environment. Owned and improved by the community. Basically Definitely Typed for TSConfigs.

We target the latest stable version of TypeScript, note that because we want to be consistent with the versioning the target runtime we can't always do semver releases.

Table of TSConfigs

Name Package
Recommended @tsconfig/recommended
Bun @tsconfig/bun
Create React App @tsconfig/create-react-app
Cypress @tsconfig/cypress
Deno @tsconfig/deno
Docusaurus v2 @tsconfig/docusaurus
Ember @tsconfig/ember
Next.js @tsconfig/next
Node LTS @tsconfig/node-lts
Node 10 @tsconfig/node10
Node 12 @tsconfig/node12
Node 14 @tsconfig/node14
Node 16 @tsconfig/node16
Node 17 @tsconfig/node17
Node 18 @tsconfig/node18
Node 19 @tsconfig/node19
Node 20 @tsconfig/node20
Node 21 @tsconfig/node21
Node 22 @tsconfig/node22
Node 23 @tsconfig/node23
Node 24 @tsconfig/node24
Node 26 @tsconfig/node26
Node with TypeScript @tsconfig/node-ts
Nuxt @tsconfig/nuxt
QJSEngine @tsconfig/qjsengine
React Native @tsconfig/react-native
Remix @tsconfig/remix
Strictest @tsconfig/strictest
Svelte @tsconfig/svelte
Taro @tsconfig/taro
Vite React @tsconfig/vite-react
Bases @tsconfig/bases

Available TSConfigs

Recommended tsconfig.json

Install:

npm install --save-dev @tsconfig/recommended
yarn add --dev @tsconfig/recommended

Add to your tsconfig.json:

"extends": "@tsconfig/recommended/tsconfig.json"

Bun tsconfig.json

Install:

npm install --save-dev @tsconfig/bun
yarn add --dev @tsconfig/bun

Add to your tsconfig.json:

"extends": "@tsconfig/bun/tsconfig.json"

Create React App tsconfig.json

Install:

npm install --save-dev @tsconfig/create-react-app
yarn add --dev @tsconfig/create-react-app

Add to your tsconfig.json:

"extends": "@tsconfig/create-react-app/tsconfig.json"

Cypress tsconfig.json

Install:

npm install --save-dev @tsconfig/cypress
yarn add --dev @tsconfig/cypress

Add to your tsconfig.json:

"extends": "@tsconfig/cypress/tsconfig.json"

Deno tsconfig.json

Install:

npm install --save-dev @tsconfig/deno
yarn add --dev @tsconfig/deno

Add to your tsconfig.json:

"extends": "@tsconfig/deno/tsconfig.json"

Docusaurus v2 tsconfig.json

Install:

npm install --save-dev @tsconfig/docusaurus
yarn add --dev @tsconfig/docusaurus

Add to your tsconfig.json:

"extends": "@tsconfig/docusaurus/tsconfig.json"

NOTE: You may need to add "baseUrl": "." to your tsconfig.json to support proper file resolution.

Ember tsconfig.json

Install:

npm install --save-dev @tsconfig/ember
yarn add --dev @tsconfig/ember

Add to your tsconfig.json:

"extends": "@tsconfig/ember/tsconfig.json"

NOTE: You may need to add "baseUrl": "." to your tsconfig.json to support proper file resolution.

Next.js tsconfig.json

Install:

npm install --save-dev @tsconfig/next
yarn add --dev @tsconfig/next

Add to your tsconfig.json:

"extends": "@tsconfig/next/tsconfig.json"

Node LTS (24) tsconfig.json

Install:

npm install --save-dev @tsconfig/node-lts
yarn add --dev @tsconfig/node-lts

Add to your tsconfig.json:

"extends": "@tsconfig/node-lts/tsconfig.json"

Node with TypeScript (TS >=5.8 ONLY) tsconfig.json

Install:

npm install --save-dev @tsconfig/node-ts
yarn add --dev @tsconfig/node-ts

This base require TypeScript 5.8+ (See announcement)

This file is meant to be used in conjunction with other Node.js configurations, you can do so by extending multiple files in the extends clause of your tsconfig.json:

{
  "extends": ["@tsconfig/node22/tsconfig.json", "@tsconfig/node-ts/tsconfig.json"]
}

Node 10 tsconfig.json

Install:

npm install --save-dev @tsconfig/node10
yarn add --dev @tsconfig/node10

Add to your tsconfig.json:

"extends": "@tsconfig/node10/tsconfig.json"

Node 12 tsconfig.json

Install:

npm install --save-dev @tsconfig/node12
yarn add --dev @tsconfig/node12

Add to your tsconfig.json:

"extends": "@tsconfig/node12/tsconfig.json"

Node 14 tsconfig.json

Install:

npm install --save-dev @tsconfig/node14
yarn add --dev @tsconfig/node14

Add to your tsconfig.json:

"extends": "@tsconfig/node14/tsconfig.json"

Node 16 tsconfig.json

Install:

npm install --save-dev @tsconfig/node16
yarn add --dev @tsconfig/node16

Add to your tsconfig.json:

"extends": "@tsconfig/node16/tsconfig.json"

Node 17 tsconfig.json

Install:

npm install --save-dev @tsconfig/node17
yarn add --dev @tsconfig/node17

Add to your tsconfig.json:

"extends": "@tsconfig/node17/tsconfig.json"

Node 18 tsconfig.json

Install:

npm install --save-dev @tsconfig/node18
yarn add --dev @tsconfig/node18

Add to your tsconfig.json:

"extends": "@tsconfig/node18/tsconfig.json"

Node 19 tsconfig.json

Install:

npm install --save-dev @tsconfig/node19
yarn add --dev @tsconfig/node19

Add to your tsconfig.json:

"extends": "@tsconfig/node19/tsconfig.json"

Node 20 tsconfig.json

Install:

npm install --save-dev @tsconfig/node20
yarn add --dev @tsconfig/node20

Add to your tsconfig.json:

"extends": "@tsconfig/node20/tsconfig.json"

Node 21 tsconfig.json

Install:

npm install --save-dev @tsconfig/node21
yarn add --dev @tsconfig/node21

Add to your tsconfig.json:

"extends": "@tsconfig/node21/tsconfig.json"

Node 22 tsconfig.json

Install:

npm install --save-dev @tsconfig/node22
yarn add --dev @tsconfig/node22

Add to your tsconfig.json:

"extends": "@tsconfig/node22/tsconfig.json"

Node 23 tsconfig.json

Install:

npm install --save-dev @tsconfig/node23
yarn add --dev @tsconfig/node23

Add to your tsconfig.json:

"extends": "@tsconfig/node23/tsconfig.json"

Node 24 tsconfig.json

Install:

npm install --save-dev @tsconfig/node24
yarn add --dev @tsconfig/node24

Add to your tsconfig.json:

"extends": "@tsconfig/node24/tsconfig.json"

Node 26 tsconfig.json

Install:

npm install --save-dev @tsconfig/node26
yarn add --dev @tsconfig/node26

Add to your tsconfig.json:

"extends": "@tsconfig/node26/tsconfig.json"

Nuxt tsconfig.json

Install:

npm install --save-dev @tsconfig/nuxt
yarn add --dev @tsconfig/nuxt

Add to your tsconfig.json:

"extends": "@tsconfig/nuxt/tsconfig.json"

NOTE: You may need to add "baseUrl": "." to your tsconfig.json to support proper file resolution.

QJSEngine tsconfig.json

Install:

npm install --save-dev @tsconfig/qjsengine
yarn add --dev @tsconfig/qjsengine

Add to your tsconfig.json:

"extends": "@tsconfig/qjsengine/tsconfig.json"

React Native tsconfig.json

Install:

npm install --save-dev @tsconfig/react-native
yarn add --dev @tsconfig/react-native

Add to your tsconfig.json:

"extends": "@tsconfig/react-native/tsconfig.json"

Remix tsconfig.json

Install:

npm install --save-dev @tsconfig/remix
yarn add --dev @tsconfig/remix

Add to your tsconfig.json:

"extends": "@tsconfig/remix/tsconfig.json"

NOTE: You may need to add "baseUrl": "." to your tsconfig.json to support proper file resolution.

Strictest tsconfig.json

Install:

npm install --save-dev @tsconfig/strictest
yarn add --dev @tsconfig/strictest

Add to your tsconfig.json:

"extends": "@tsconfig/strictest/tsconfig.json"

Svelte tsconfig.json

Install:

```sh npm install --save-dev @tsconfig/svelte y

Extension points exported contracts — how you extend this code

NodeReleaseMetadata (Interface)
(no doc)
scripts/generate-lts.ts

Core symbols most depended-on inside this repo

isBumpedVersionHigher
called by 2
scripts/create-npm-packages.ts
buildTsconfigBases
called by 1
scripts/create-npm-packages.ts

Shape

Function 2
Interface 1

Languages

TypeScript100%

Modules by API surface

scripts/create-npm-packages.ts2 symbols
scripts/generate-lts.ts1 symbols

Dependencies from manifests, versioned

@tsconfig/baseslink:../packages/bas · 1×
@types/node24.2.1 · 1×
typescript5.9.2 · 1×

For agents

$ claude mcp add bases \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact