Skip to content

Conversation

@owlstronaut
Copy link
Contributor

@owlstronaut owlstronaut commented Oct 28, 2025

This pull request introduces extensive enhancements to the npm token management command, adding support for creating Granular Access Tokens (GATs) with fine-grained permissions. It updates the CLI interface, configuration, and documentation to allow users to specify token details such as name, description, expiration, package/scope/org restrictions, permission levels, and bypassing two-factor authentication. The changes also improve error messaging and ensure all new options are reflected in the config and docs.

Needs npm/npm-profile#175 changes/release before this will work.

@owlstronaut owlstronaut changed the title feat: Adds Granular Access Token (GAT) support to npm token command feat!: Adds Granular Access Token (GAT) support to npm token command Oct 28, 2025
@owlstronaut owlstronaut force-pushed the owlstronaut/gat-create-support branch from dfcfec9 to ff27b2a Compare October 29, 2025 16:40
@owlstronaut owlstronaut changed the title feat!: Adds Granular Access Token (GAT) support to npm token command fix: Uses the npm-profile package to create tokens with GAT support Oct 29, 2025
@owlstronaut owlstronaut force-pushed the owlstronaut/gat-create-support branch from ff27b2a to 5ac71d9 Compare October 30, 2025 22:12
@owlstronaut owlstronaut force-pushed the owlstronaut/gat-create-support branch from e1966ed to 12e237f Compare October 31, 2025 16:52
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