-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: drop another-npm-registry-client
`another-npm-registry-client` is a fork of `npm-registry-client` which is a, now deprecated, library for interacting with npm registries. At this point, the project does not use any runtime code from the library (see 893a67e and a678e14). The only part of it we still used was the NpmAuth type which represents npm authentication data. But there is already a type for this as part of the `npm-registry-fetch` libary. Therefore the dependency can now safely be removed.
- Loading branch information
1 parent
d9a02f9
commit 200266a
Showing
9 changed files
with
64 additions
and
696 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { NpmAuth } from "another-npm-registry-client"; | ||
import type { AuthOptions } from "npm-registry-fetch"; | ||
import { makeNpmFetchOptions, Registry } from "../../../src/domain/registry"; | ||
import { someRegistryUrl } from "../../common/data-registry"; | ||
|
||
|
@@ -31,7 +31,7 @@ describe("npm registry", () => { | |
}); | ||
|
||
it("should use token auth info", () => { | ||
const auth: NpmAuth = { token: "Some token", alwaysAuth: true }; | ||
const auth: AuthOptions = { token: "Some token", alwaysAuth: true }; | ||
const registry: Registry = { | ||
url: someRegistryUrl, | ||
auth, | ||
|
@@ -47,7 +47,7 @@ describe("npm registry", () => { | |
}); | ||
|
||
it("should use basic auth info", () => { | ||
const auth: NpmAuth = { | ||
const auth: AuthOptions = { | ||
username: "user", | ||
password: "pass", | ||
email: "[email protected]", | ||
|