feat: add node.json config for NestJS, update react.json with Vite flags
All checks were successful
continuous-integration/drone/push Build is passing

- node.json: commonjs, decorators, node moduleResolution
- react.json: noEmit, allowImportingTsExtensions, moduleDetection
- Bump @vigdorov/typescript-config to 1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 23:57:43 +03:00
parent e2a2a15087
commit d346c22c72
4 changed files with 24 additions and 9 deletions

View File

@ -0,0 +1,12 @@
{
"extends": "./base.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"esModuleInterop": true,
"isolatedModules": false
}
}

View File

@ -1,11 +1,12 @@
{
"name": "@vigdorov/typescript-config",
"version": "1.0.0",
"version": "1.1.0",
"description": "Shared TypeScript configurations",
"type": "module",
"files": ["base.json", "react.json"],
"files": ["base.json", "react.json", "node.json"],
"exports": {
"./base": "./base.json",
"./react": "./react.json"
"./react": "./react.json",
"./node": "./node.json"
}
}

View File

@ -2,6 +2,9 @@
"extends": "./base.json",
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"jsx": "react-jsx"
"jsx": "react-jsx",
"noEmit": true,
"allowImportingTsExtensions": true,
"moduleDetection": "force"
}
}