Skip to content

Latest commit

 

History

History
89 lines (52 loc) · 2.22 KB

File metadata and controls

89 lines (52 loc) · 2.22 KB

@-xun/project


@-xun/project / src / PackageFiles

Type Alias: PackageFiles

PackageFiles = object

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:202

In the context of a Package, this type represents a collection of AbsolutePaths, one for each file under the package root that is not ignored by Git or part of another workspace package. However, note that files under ${packageRoot}/dist, while usually ignored by Git, will not be automatically ignored by this function.

The collection is organized by location and utility.

Properties

dist

dist: AbsolutePath[]

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:209

Every file under the package's ./dist directory.

Files not owned by the package (such as those belonging to other packages in a monorepo) will never be returned.


docs

docs: AbsolutePath[]

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:217

Every file under the package's ./docs directory that is not ignored by Git.

Files not owned by the package (such as those belonging to other packages in a monorepo) will never be returned.


other

other: AbsolutePath[]

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:242

Every file under the package's root directory that is not ignored by Git nor contained in any other PackageFiles property.

Files not owned by the package (such as those belonging to other packages in a monorepo) will never be returned.


src

src: AbsolutePath[]

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:226

Every file under the package's ./src directory that is not ignored by Git. Does not include files under ./types (those are in PackageFiles.other).

Files not owned by the package (such as those belonging to other packages in a monorepo) will never be returned.


test

test: AbsolutePath[]

Defined in: packages/graph/dist/packages/graph/src/common.d.ts:234

Every file under the package's ./test directory that is not ignored by Git.

Files not owned by the package (such as those belonging to other packages in a monorepo) will never be returned.