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.
Optionalcwd
cwd?:string
Working directory given to jsr publish.
Defaults to current directory.
OptionalpkgJsonPath
pkgJsonPath?:string
Path to package.json.
Defaults to cwd + /package.json if it exists.
Allow
--allow-dirty
to be passed tojsr publish
. Defaults totrue
, as usually the version is bumped before publishing. Set tofalse
to prevent--allow-dirty
from being passed.