Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-09-21 23:07:30 +0300
committerGitHub <noreply@github.com>2022-09-21 23:07:30 +0300
commit314311c61b8f341715c168199d52976ee3237077 (patch)
tree18ce4d66ecf0a73ba974f1ed1ccf3c032fb7cd72 /.commitlintrc.js
parentd3ff2aa9b57d7448c5770ba307118ce4c3b6a888 (diff)
feat: separate login/adduser, remove auth types (#5550)
The difference between `adduser` and `login` depends on the `auth-type`. - `web`: the POST to `/-/v1/login` contains a `{ create: true }` value in its payload for `adduser` - `legacy` the `PUT` request to `/-/user/org.couchdb.user:${username}` contains an `email` value in its payload for `adduser`. BREAKING CHANGE: `login`, `adduser`, and `auth-type` changes - This removes all `auth-type` configs except `web` and `legacy`. - `login` and `adduser` are now separate commands that send different data to the registry. - `auth-type` config values `web` and `legacy` only try their respective methods, npm no longer tries them all and waits to see which one doesn't fail.
Diffstat (limited to '.commitlintrc.js')
0 files changed, 0 insertions, 0 deletions