Usage
Options
Generated Files
Generated Code
src/my-app.app.ts
src/main.ts
src/tools/hello.tool.spec.ts
Nx Targets
The generatedproject.json includes these targets:
TypeScript Configuration
tsconfig.json is what frontmcp build compiles, so it sets what a FrontMCP build needs regardless of the workspace’s base config:
module: commonjs, withmoduleResolution: node10on TypeScript 5 andbundleron TypeScript 6+ (which deprecatesnode10). Undernode10, an inheritedcustomConditionsis reset tonull.rootDirat the workspace root, so code imported from libraries compiles too.composite,declarationMapandemitDeclarationOnlyset tofalse, so a TS-solution base config (create-nx-workspace --preset=ts) still emits JavaScript."nx": { "addTypecheckTarget": false }, so a workspace that registers@nx/js/typescriptuses thetypechecktarget above instead of an inferredtsc --build.