mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
implement sign service for web (#182815)
* signing: implement signing service on the web * update distro
This commit is contained in:
@@ -394,6 +394,13 @@ export function acquireWebNodePaths() {
|
||||
const root = path.join(__dirname, '..', '..');
|
||||
const webPackageJSON = path.join(root, '/remote/web', 'package.json');
|
||||
const webPackages = JSON.parse(fs.readFileSync(webPackageJSON, 'utf8')).dependencies;
|
||||
|
||||
const distroWebPackageJson = path.join(root, '.build/distro/npm/remote/web/package.json');
|
||||
if (fs.existsSync(distroWebPackageJson)) {
|
||||
const distroWebPackages = JSON.parse(fs.readFileSync(distroWebPackageJson, 'utf8')).dependencies;
|
||||
Object.assign(webPackages, distroWebPackages);
|
||||
}
|
||||
|
||||
const nodePaths: { [key: string]: string } = {};
|
||||
for (const key of Object.keys(webPackages)) {
|
||||
const packageJSON = path.join(root, 'node_modules', key, 'package.json');
|
||||
|
||||
Reference in New Issue
Block a user