Programmatic API for managing npm organization memberships and roles
74
Build a release helper that bumps package versions and assigns distribution tags to coordinate stable and preview releases using the package manager's built-in release tooling.
@generates
export async function performRelease(options: {
manifestPath: string;
packageName: string;
releaseType: 'patch' | 'minor' | 'major' | 'prerelease';
channel?: string; // distribution tag to update; defaults to the package's primary channel
prereleaseIdentifier?: string; // identifier for prerelease bumps (e.g., "beta")
dryRun?: boolean;
}): Promise<{
version: string;
appliedTags: Record<string, string>; // dist-tag -> version after the release (or planned when dryRun)
planned: string[]; // ordered description of actions taken or planned
}>;
export async function readTags(packageName: string): Promise<Record<string, string>>;Provides version bumping and distribution tag management for published packages.
Install with Tessl CLI
npx tessl i tessl/npm-libnpmorgdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10