npm / npm/rfcs

[RRFC] npm deprecate multiple packages

Open
#341 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
777
Forks
267
PR merge metrics
No merged PRs in 30d

Description

Motivation ("The Why")

Currently npm deprecate can only handle one package at a time, and only through a <pkg>@<version> syntax. Given the work towards providing better workspaces workflows, it's very likely going to be an important feature tu support with more folks managing multiple packages from a single place.

Example

Some possible alternative syntaxes we might to consider supporting:

npm deprecate (no args? deprecates the current version of the current package?)
npm deprecate foo@1.0.0 bar@1.2.3 baz@2.0.0
npm deprecate --workspaces (same as no args but for all workspace packages?)

References

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the proposed npm deprecate syntaxes and the linked npm/cli discussion, especially the workspace context. No files or tests are named; done would require an agreed proposal defining multi-package and workspace behavior through the RFC process.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.