ProjectContext
Presetter Types API / ProjectContext
Interface: ProjectContext
Defined in: context.ts:10
input for a preset configurator providing context such as root and package information
Extended by
Properties
isRepoRoot
isRepoRoot:
boolean
Defined in: context.ts:12
indicate whether the current project root is also the repository root
relativeProjectRoot
relativeProjectRoot:
string
Defined in: context.ts:14
relative project root to the repository root
relativeRepoRoot
relativeRepoRoot:
string
Defined in: context.ts:16
relative repository root to the project root
repoRoot
repoRoot:
string
Defined in: context.ts:18
path to the root of the repository (typicall the folder hosting .git)
projectRoot
projectRoot:
string
Defined in: context.ts:20
the root directory containing the project's presetter.config.ts
packageJson
packageJson:
PackageJson
Defined in: context.ts:23
normalized package.json data from the project