Use the Microsoft CFS registry instead of npm's registry directly (#12787)
This commit is contained in:
Родитель
b70f1562c1
Коммит
1ec1c9bb94
|
@ -0,0 +1,2 @@
|
|||
registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/
|
||||
always-auth=true
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -47,4 +47,10 @@ instructions provided by the bot. You will only need to do this once across all
|
|||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
||||
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
||||
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
|
||||
### Adding/Updating package.json dependencies
|
||||
|
||||
We maintain a public Azure Artifacts feed that we point the package manager to in .npmrc files. If you want to add a dependency or update a version in package.json, you may need to contact us so we can add it to our feed. Please ping our team in a PR or new issue if you experience this issue.
|
||||
|
||||
For local development, you can delete the .npmrc file and the matching `yarn.lock` file while you wait for us to update the feed. However, these changes will need to be reverted in your branch before we will accept a PR.
|
|
@ -0,0 +1,2 @@
|
|||
registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/
|
||||
always-auth=true
|
|
@ -144,7 +144,7 @@ export class CodeActionProvider implements vscode.CodeActionProvider {
|
|||
if (codeActionCodeInfo !== undefined) {
|
||||
if (codeActionCodeInfo.fixAllTypeCodeAction !== undefined &&
|
||||
(codeActionCodeInfo.uriToInfo.size > 1 ||
|
||||
codeActionCodeInfo.uriToInfo.values().next().value.numValidWorkspaceEdits > 1)) {
|
||||
(codeActionCodeInfo.uriToInfo.values().next().value?.numValidWorkspaceEdits ?? 0) > 1)) {
|
||||
// Only show the "fix all type" if there is more than one fix for the type.
|
||||
fixCodeActions.push(codeActionCodeInfo.fixAllTypeCodeAction);
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ export class CodeActionProvider implements vscode.CodeActionProvider {
|
|||
if (codeActionCodeInfo.removeAllTypeCodeAction !== undefined &&
|
||||
codeActionCodeInfo.uriToInfo.size > 0 &&
|
||||
(codeActionCodeInfo.uriToInfo.size > 1 ||
|
||||
codeActionCodeInfo.uriToInfo.values().next().value.identifiers.length > 1)) {
|
||||
(codeActionCodeInfo.uriToInfo.values().next().value?.identifiers?.length ?? 0) > 1)) {
|
||||
// Only show the "clear all type" if there is more than one fix for the type.
|
||||
removeAllTypeAvailable = true;
|
||||
}
|
||||
|
|
2970
Extension/yarn.lock
2970
Extension/yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче