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"
Install:
npm install --save-dev @tsconfig/node10
yarn add --dev @tsconfig/node10
Add to your tsconfig.json
:
"extends": "@tsconfig/node10/tsconfig.json"
git clone https://github.com/tsconfig/bases.git tsconfig-bases
cd tsconfig-bases
Then edit the tsconfig.json files in bases/
.
Create a set of npm packages via:
deno run --allow-read --allow-write scripts/create-npm-packages.ts
Inspect them, 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.