TypeScriptConfig
Index
Properties
optionalcreateMissingConfig
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.
optionalprojectConfigFileName
Name of the tsconfig.json
file within each project.
optionalroot
The relative root to the TypeScript root. Primarily used for resolving project references.
optionalrootConfigFileName
Name of the tsconfig.json
file at the workspace root.
optionalrootOptionsConfigFileName
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.
optionalsyncProjectReferences
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