chore: add TypeScript configuration file with project references

This commit is contained in:
Toni Koskinen
2026-03-27 12:12:09 +02:00
parent 4de890ba77
commit 083b503095
12 changed files with 395 additions and 1023 deletions

24
nx.json
View File

@@ -16,6 +16,11 @@
"sharedGlobals": []
},
"targetDefaults": {
"typecheck": {
"options": {
"command": "tsc --build --noEmit"
}
},
"@angular/build:application": {
"cache": true,
"dependsOn": ["^build"],
@@ -38,6 +43,11 @@
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"@nx/esbuild:esbuild": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"generators": {
@@ -75,6 +85,20 @@
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/js/typescript",
"options": {
"typecheck": {
"targetName": "typecheck"
},
"build": {
"targetName": "build",
"configName": "tsconfig.lib.json",
"buildDepsName": "build-deps",
"watchDepsName": "watch-deps"
}
}
}
]
}