Skip to content
/ bases Public
forked from tsconfig/bases

A repo for creating TSConfig bases to extend from

License

Notifications You must be signed in to change notification settings

dstaley/bases

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centralized Recommendations for TSConfig bases

Hosts base TSConfigs for particular environments supported and improved by the community. Basically Definitely Typed for TSConfigs.

In this repo:

Install:

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

Add to your tsconfig.json:

"extends": "@tsconfig/node12/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"

Install:

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

Add to your tsconfig.json:

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

Contributing

git clone https://github.com/tsconfig/bases.git tsconfig-bases
cd tsconfig-bases

Then edit the tsconfig.json files in bases/.

Every morning there is a GitHub Action which deploys any changed bases.

Developing

Create a set of npm packages via:

deno run --allow-read --allow-write scripts/create-npm-packages.ts

You can inspect them in the dist/ folder, then they are deployed by passing in the paths to the base files via stdin:

echo bases/node10.json | deno run --allow-read --allow-run scripts/deploy-npm-packages.ts  

The rest of the files in this repo are for deploying, which uses Deno 1.0.

If you add a new json file, please run deno run --allow-read --allow-write scripts/update-markdown-readme.ts to update the README.

About

A repo for creating TSConfig bases to extend from

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%