Shared TSConfig files used by projects in the Directus ecosystem.
The following configs are available:
-
node22
- Config for Node.js 22 modules -
vue3
- Config for Vue.js 3 modules -
base
- Set of basic rules (included in all of the configs above)
pnpm add -D @directus/tsconfig
To use one of the shared config, extend the local tsconfig.json
from it:
{
"extends": "@directus/tsconfig/node22"
}