tessl install tessl/npm-libnpmorg@8.0.0Programmatic API for managing npm organization memberships and roles
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.97x
Baseline
Agent success rate without this tile
76%
A small CLI helper that releases a package version to the registry and can quickly undo the release if needed. The tool must rely on the npm CLI dependency for all registry interactions.
dryRun option set, it simulates the publish using the registry CLI's dry-run behavior, leaves the registry unchanged, and returns the same summary fields plus a dryRun indicator. @test@generates
export async function runRelease(options);
/**
* options.packageDir: string - path to the package root
* options.version: string - semver being published or rolled back
* options.tag?: string - optional dist-tag to apply when publishing (default "latest")
* options.access?: "public" | "restricted" - access level when publishing scoped packages
* options.registry?: string - registry URL to target
* options.token: string - auth token used by the registry CLI
* options.otp?: string - one-time password for two-factor flows
* options.dryRun?: boolean - true to simulate publish without uploading artifacts
* options.rollback?: boolean - true to remove a recently published version instead of publishing
* options.now?: Date - injectable clock for testing rollback windows
* Returns an object describing the action taken and the registry URL used.
*/Provides the CLI to publish or remove package versions from the registry.