@directus/tsconfig
v2.0.0
Published
TSConfig files used in Directus projects
Downloads
2,776
Readme
@directus/tsconfig
Shared TSConfig files used by the projects in the Directus ecosystem.
The following configs are available:
node18-cjs
- Config for CommonJS modules running under Node.js 18node18-esm
- Config for ESM modules running under Node.js 18vue3
- Config for Vue.js 3 modulesbase
- Set of basic rules (included in all of the configs above)
Usage
pnpm add @directus/tsconfig
To use one of the shared config, extend the local tsconfig.json
from it:
{
"extends": "@directus/tsconfig/node18-esm"
}