Skip to content

docs: deprecate npm token create and npm profile enable-2fa commands#8712

Closed
maitxn wants to merge 2 commits into
npm:latestfrom
maitxn:maitxn/npm-token-create-deprecation
Closed

docs: deprecate npm token create and npm profile enable-2fa commands#8712
maitxn wants to merge 2 commits into
npm:latestfrom
maitxn:maitxn/npm-token-create-deprecation

Conversation

@maitxn
Copy link
Copy Markdown

@maitxn maitxn commented Oct 30, 2025

Summary

Add deprecation notices to the documentation for two CLI authentication features that will be deprecated as of November 2025.

Changes

  • Add deprecation warning to npm token create command documentation
  • Add deprecation warning to npm profile enable-2fa command documentation

Affected Files

  • docs/lib/content/commands/npm-token.md
  • docs/lib/content/commands/npm-profile.md

Before changes

Screenshot 2025-10-30 at 11 38 14 AM Screenshot 2025-10-30 at 11 11 55 AM

After changes

Screenshot 2025-10-30 at 11 50 34 AM Screenshot 2025-10-30 at 11 52 14 AM

@maitxn maitxn requested a review from a team as a code owner October 30, 2025 18:01
@maitxn maitxn changed the title Maitxn/npm token create deprecation Add deprecation warnings for CLI npm token create and npm profile enable 2fa Oct 30, 2025
@maitxn maitxn changed the title Add deprecation warnings for CLI npm token create and npm profile enable 2fa docs: deprecate npm token create and npm profile enable-2fa commands Oct 30, 2025
@maitxn
Copy link
Copy Markdown
Author

maitxn commented Oct 30, 2025

No need to change docs for short term as we are using notice header to let user know of broken commands. Hence closing this PR!

@maitxn maitxn closed this Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant