Skip to content

relizy / ProjectDetection

Interface: ProjectDetection ​

Defined in: src/core/init.ts:39

Everything relizy init reads from the repository, to ask as few questions as possible.

Properties ​

cwd ​

cwd: string

Defined in: src/core/init.ts:40


existingConfigFile? ​

optional existingConfigFile?: string

Defined in: src/core/init.ts:58

Config file already present for this config name, relative to cwd


packageManager ​

packageManager: PackageManager

Defined in: src/core/init.ts:55


provider ​

provider: GitProvider | null

Defined in: src/core/init.ts:56


root ​

root: object

Defined in: src/core/init.ts:41

access? ​

optional access?: "public" | "restricted"

hasRelizy ​

hasRelizy: boolean

relizy is in the dependencies of the root package.json

name? ​

optional name?: string

private ​

private: boolean

registry? ​

optional registry?: string

scripts ​

scripts: Record<string, string>

version? ​

optional version?: string


workspaceFiles ​

workspaceFiles: string[]

Defined in: src/core/init.ts:54

Files declaring the workspace, e.g. pnpm-workspace.yaml


workspaces ​

workspaces: InitWorkspace[]

Defined in: src/core/init.ts:52

Package globs of the workspace matching at least one package

Released under the MIT License.