TypeScriptConfig
Index
Properties
createMissingConfig
When syncProjectReferences
is enabled, will create a tsconfig.json
in referenced projects if it does not exist.
includeProjectReferenceSources
Appends sources of project reference to include
in tsconfig.json
,
for each project.
includeSharedTypes
Appends shared types to include
in tsconfig.json
, for each project.
projectConfigFileName
Name of the tsconfig.json
file within each project.
root
The relative root to the TypeScript root. Primarily used for resolving project references.
rootConfigFileName
Name of the tsconfig.json
file at the workspace root.
rootOptionsConfigFileName
Name of the shared compiler options tsconfig.json
file
at the workspace root.
routeOutDirToCache
Updates and routes outDir
in tsconfig.json
to moon's cache,
for each project.
syncProjectReferences
Syncs all project dependencies as references
in tsconfig.json
,
for each project.
syncProjectReferencesToPaths
Syncs all project dependencies as paths
in tsconfig.json
,
for each project.
Configures and enables the TypeScript platform. Docs: https://moonrepo.dev/docs/config/toolchain#typescript