wgb5445/Guarded NPM Release

Validate version policy and run preflight, dry-run, or real npm publish with guardrails.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
package_dirPackage directory containing package.jsonyes
publish_modepreflight, dry-run, or publishnopreflight
expected_tagOptional expected tag to match package versionno""
allow_tag_prefix_vAllow expected_tag values like v1.2.3notrue
allow_non_mainAllow publish from commits not reachable from main_branchnofalse
main_branchBranch used for ancestry guardnomain
require_manual_confirmRequire confirm_publish=publish and confirm_version=resolved_version when mode=publishnofalse
confirm_publishManual confirmation tokenno""
confirm_versionManual version confirmation valueno""
run_testsRun pnpm testnotrue
check_version_existsCheck whether package version already exists in npmnofalse
publish_accessnpm publish access value (public or restricted)nopublic
namedescription
package_namenpm package name
versionresolved version
release_channelstable or beta
dist_taglatest or beta
pack_pathgenerated npm pack tarball path