-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
302 additions
and
452 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/rush", | ||
"comment": "Remove the dependency on node-fetch.", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@microsoft/rush" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,6 +1,6 @@ | ||
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. | ||
{ | ||
"pnpmShrinkwrapHash": "48a2b5871414899c79b9a7bb240a9a3f567c13be", | ||
"pnpmShrinkwrapHash": "73c8cd88b3abb997315c56b4150a61c52c4d1bc5", | ||
"preferredVersionsHash": "ce857ea0536b894ec8f346aaea08cfd85a5af648", | ||
"packageJsonInjectedDependenciesHash": "342b446dfdfe891b4ca092fed7987732d713d46f" | ||
"packageJsonInjectedDependenciesHash": "bda7d42cd7f07d7d90db82b92a1b35c597ddc99e" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ import { PrintUtilities, Colorize, ConsoleTerminalProvider, Terminal } from '@ru | |
import type { RushConfiguration } from '../../api/RushConfiguration'; | ||
import { Utilities } from '../../utilities/Utilities'; | ||
import { type IArtifactoryPackageRegistryJson, ArtifactoryConfiguration } from './ArtifactoryConfiguration'; | ||
import type { WebClient as WebClientType, WebClientResponse } from '../../utilities/WebClient'; | ||
import type { WebClient as WebClientType, IWebClientResponse } from '../../utilities/WebClient'; | ||
import { TerminalInput } from './TerminalInput'; | ||
|
||
interface IArtifactoryCustomizableMessages { | ||
|
@@ -300,7 +300,7 @@ export class SetupPackageRegistry { | |
// our token. | ||
queryUrl += `auth/.npm`; | ||
|
||
let response: WebClientResponse; | ||
let response: IWebClientResponse; | ||
try { | ||
response = await webClient.fetchAsync(queryUrl); | ||
} catch (e) { | ||
|
@@ -324,7 +324,7 @@ export class SetupPackageRegistry { | |
// //your-company.jfrog.io/your-artifacts/api/npm/npm-private/:[email protected] | ||
// //your-company.jfrog.io/your-artifacts/api/npm/npm-private/:[email protected] | ||
// //your-company.jfrog.io/your-artifacts/api/npm/npm-private/:always-auth=true | ||
const responseText: string = await response.text(); | ||
const responseText: string = await response.getTextAsync(); | ||
const responseLines: string[] = Text.convertToLf(responseText).trim().split('\n'); | ||
if (responseLines.length < 2 || !responseLines[0].startsWith('@.npm:')) { | ||
throw new Error('Unexpected response from Artifactory'); | ||
|
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
Oops, something went wrong.