CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-libnpmorg

tessl install tessl/npm-libnpmorg@8.0.0

Programmatic 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%

task.mdevals/scenario-7/

Dependency Update Orchestrator

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.

Capabilities

Update all dependencies

  • When run without filters, updates every dependency declared in the project to the highest versions allowed by their existing semver ranges and refreshes lockfiles. @test

Target specific packages

  • When provided with an explicit list of package names, updates only those packages while leaving all others untouched. @test

Workspace-aware updates

  • When given a workspace identifier, updates dependencies only inside that workspace and keeps other workspaces unchanged. @test

Report changes

  • Returns a summary showing each updated package, its previous installed version, its new installed version, and the workspace it belonged to (when applicable). @test

Implementation

@generates

API

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>;

Dependencies { .dependencies }

npm { .dependency }

Provides the package manager CLI for applying semver-respecting dependency updates and updating lockfiles.

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/libnpmorg@8.0.x
tile.json