interface PluginConfig {
    allowDirty?: boolean;
    cwd?: string;
    pkgJsonPath?: string;
    publishArgs?: string[];
}

Properties

allowDirty?: boolean

Allow --allow-dirty to be passed to jsr publish. Defaults to true, as usually the version is bumped before publishing. Set to false to prevent --allow-dirty from being passed.

cwd?: string

Working directory given to jsr publish. Defaults to current directory.

pkgJsonPath?: string

Path to package.json. Defaults to cwd + /package.json if it exists.

publishArgs?: string[]

Additional arguments to pass to jsr publish.