@-xun/project / src / RootPackage
RootPackage<
Json> =object
Defined in: packages/types/dist/packages/types/src/index.d.ts:16
An object representing the root or "top-level" package in a monorepo or polyrepo project.
Json extends PackageJson | XPackageJson = XPackageJson
attributes:
{ [key in ProjectAttribute]?: boolean }
Defined in: packages/types/dist/packages/types/src/index.d.ts:28
A collection of ProjectAttribute flags describing the project.
json:
Json
Defined in: packages/types/dist/packages/types/src/index.d.ts:24
The contents of the root package.json file.
projectMetadata:
ProjectMetadata<Json>
Defined in: packages/types/dist/packages/types/src/index.d.ts:33
A link back to the ProjectMetadata instance containing this package.
root:
AbsolutePath
Defined in: packages/types/dist/packages/types/src/index.d.ts:20
The absolute path to the root directory of the entire project.