From 3449f7bff6abdd441a816f4d43e0cd59c165e66a Mon Sep 17 00:00:00 2001 From: RomanNikitenko Date: Mon, 30 Dec 2024 13:59:18 +0000 Subject: [PATCH] fix: Allow to build che-code using cachito system Signed-off-by: RomanNikitenko --- .../extensions/microsoft-authentication/package-lock.json | 8 ++++---- code/extensions/microsoft-authentication/package.json | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/code/extensions/microsoft-authentication/package-lock.json b/code/extensions/microsoft-authentication/package-lock.json index 9f69f13972c..d47ee203d6d 100644 --- a/code/extensions/microsoft-authentication/package-lock.json +++ b/code/extensions/microsoft-authentication/package-lock.json @@ -8,12 +8,15 @@ "name": "microsoft-authentication", "version": "0.0.1", "license": "MIT", + "workspaces": [ + "packageMocks/keytar" + ], "dependencies": { "@azure/ms-rest-azure-env": "^2.0.0", "@azure/msal-node": "^2.16.2", "@azure/msal-node-extensions": "^1.5.0", "@vscode/extension-telemetry": "^0.9.0", - "keytar": "file:./packageMocks/keytar", + "keytar": "workspace:*", "vscode-tas-client": "^0.1.84" }, "devDependencies": { @@ -406,9 +409,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, - "node_modules/packageMocks/keytar": { - "extraneous": true - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", diff --git a/code/extensions/microsoft-authentication/package.json b/code/extensions/microsoft-authentication/package.json index c8ad1c070e2..d946dc7bfb3 100644 --- a/code/extensions/microsoft-authentication/package.json +++ b/code/extensions/microsoft-authentication/package.json @@ -143,11 +143,14 @@ "@azure/msal-node": "^2.16.2", "@azure/msal-node-extensions": "^1.5.0", "@vscode/extension-telemetry": "^0.9.0", - "keytar": "file:./packageMocks/keytar", + "keytar": "workspace:*", "vscode-tas-client": "^0.1.84" }, "repository": { "type": "git", "url": "https://github.com/microsoft/vscode.git" - } + }, + "workspaces": [ + "packageMocks/keytar" + ] }