use vsce-sign module from npm (#205511)

* update distro

* use vsce-sign module

* update distro

* update distro
This commit is contained in:
Sandeep Somavarapu
2024-02-19 00:17:54 -08:00
committed by GitHub
parent 3c1ceb6a1f
commit 378b4c969b
4 changed files with 8 additions and 7 deletions

View File

@@ -63,10 +63,11 @@ native-watchdog/build/**
native-watchdog/src/**
!native-watchdog/build/Release/*.node
node-vsce-sign/**
!node-vsce-sign/src/main.js
!node-vsce-sign/package.json
!node-vsce-sign/bin/**
@vscode/vsce-sign/**
!@vscode/vsce-sign/src/main.d.ts
!@vscode/vsce-sign/src/main.js
!@vscode/vsce-sign/package.json
!@vscode/vsce-sign/bin/**
windows-foreground-love/binding.gyp
windows-foreground-love/build/**

View File

@@ -281,7 +281,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
'**/node-pty/lib/worker/conoutSocketWorker.js',
'**/node-pty/lib/shared/conout.js',
'**/*.wasm',
'**/node-vsce-sign/bin/*',
'**/@vscode/vsce-sign/bin/*',
], 'node_modules.asar'));
let all = es.merge(

View File

@@ -1,7 +1,7 @@
{
"name": "code-oss-dev",
"version": "1.87.0",
"distro": "660e1818ca4ddccb41c09b6a44360c278ae1610e",
"distro": "ca316c089fc5ea2836f210e13cf89d4bd52a3309",
"author": {
"name": "Microsoft Corporation"
},

View File

@@ -54,7 +54,7 @@ export class ExtensionSignatureVerificationService implements IExtensionSignatur
if (!this.moduleLoadingPromise) {
this.moduleLoadingPromise = new Promise(
(resolve, reject) => require(
['node-vsce-sign'],
['@vscode/vsce-sign'],
async (obj) => {
const instance = <typeof vsceSign>obj;