Programmatic API for managing npm organization memberships and roles
74
Design a small utility that updates a Node.js project's dependencies to the newest versions that satisfy the semver ranges already declared in the manifests, relying on the package manager's built-in updater rather than manual manifest edits.
@generates
export interface UpdateOptions {
cwd: string;
packages?: string[];
workspace?: string;
}
export interface UpdateSummaryItem {
name: string;
fromVersion: string;
toVersion: string;
workspace?: string;
}
export interface UpdateResult {
updates: UpdateSummaryItem[];
}
export async function updateDependencies(options: UpdateOptions): Promise<UpdateResult>;Provides the package manager CLI for applying semver-respecting dependency updates and updating lockfiles.
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