Skip to content

VercelPluginOptions

Defined in: plugins/holocron-plugin-vercel/src/index.ts:23

Options for the Vercel plugin: token resolution, team, defaults for new projects and test overrides.

optional baseUrl?: string

Defined in: plugins/holocron-plugin-vercel/src/index.ts:34

Override base URL for tests.


optional cliToken?: string

Defined in: cli/kyber/dist/secrets.d.mts:125

The --token flag.

ResolveTokenInput.cliToken


optional defaultFramework?: string

Defined in: plugins/holocron-plugin-vercel/src/index.ts:30

Default framework slug for new project creates. Defaults to “nextjs”.


optional domain?: string

Defined in: plugins/holocron-plugin-vercel/src/index.ts:32

Custom domain that holocron setup should attach to the Vercel project.


optional env?: ProcessEnv

Defined in: cli/kyber/dist/secrets.d.mts:127

The environment to read. Default process.env; a test passes its own.

ResolveTokenInput.env


optional fetch?: (input, init?) => Promise<Response>

Defined in: plugins/holocron-plugin-vercel/src/index.ts:36

Override fetch for tests.

string | URL | Request

RequestInit

Promise<Response>


optional keyring?: (account) => string | null

Defined in: cli/kyber/dist/secrets.d.mts:129

Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.

string

string | null

ResolveTokenInput.keyring


optional org?: string

Defined in: cli/kyber/dist/secrets.d.mts:131

The active org. It selects the keyring account <service>.<org> first. Default: the variable orgEnvName names.

ResolveTokenInput.org


optional teamId?: string

Defined in: plugins/holocron-plugin-vercel/src/index.ts:28

Vercel team id. Set when working with a team-owned project. Left out, it is read as HOLOCRON_VERCEL_TEAM_ID then VERCEL_TEAM_ID from the environment or a credentials provider (1Password), so no one types it.