@vscode/vsce 3.1.0 → 3.1.1-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/package.js +2 -0
- package/out/publish.js +2 -2
- package/package.json +1 -1
package/out/package.js
CHANGED
|
@@ -425,6 +425,7 @@ class TagsProcessor extends BaseProcessor {
|
|
|
425
425
|
const debuggers = doesContribute('debuggers') ? ['debuggers'] : [];
|
|
426
426
|
const json = doesContribute('jsonValidation') ? ['json'] : [];
|
|
427
427
|
const remoteMenu = doesContribute('menus', 'statusBar/remoteIndicator') ? ['remote-menu'] : [];
|
|
428
|
+
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant'] : [];
|
|
428
429
|
const localizationContributions = ((contributes && contributes['localizations']) ?? []).reduce((r, l) => [...r, `lp-${l.languageId}`, ...toLanguagePackTags(l.translations, l.languageId)], []);
|
|
429
430
|
const languageContributions = ((contributes && contributes['languages']) ?? []).reduce((r, l) => [...r, l.id, ...(l.aliases ?? []), ...toExtensionTags(l.extensions ?? [])], []);
|
|
430
431
|
const languageActivations = activationEvents
|
|
@@ -446,6 +447,7 @@ class TagsProcessor extends BaseProcessor {
|
|
|
446
447
|
...debuggers,
|
|
447
448
|
...json,
|
|
448
449
|
...remoteMenu,
|
|
450
|
+
...chatParticipants,
|
|
449
451
|
...localizationContributions,
|
|
450
452
|
...languageContributions,
|
|
451
453
|
...languageActivations,
|
package/out/publish.js
CHANGED
|
@@ -201,10 +201,10 @@ async function _publishSignedPackage(api, packageName, packageStream, sigzipName
|
|
|
201
201
|
const lineBreak = '\r\n';
|
|
202
202
|
form.setBoundary('0f411892-ef48-488f-89d3-4f0546e84723');
|
|
203
203
|
form.append('vsix', packageStream, {
|
|
204
|
-
header: `--${form.getBoundary()}${lineBreak}Content-Disposition: attachment; name=vsix; filename
|
|
204
|
+
header: `--${form.getBoundary()}${lineBreak}Content-Disposition: attachment; name=vsix; filename=\"${packageName}\"${lineBreak}Content-Type: application/octet-stream${lineBreak}${lineBreak}`
|
|
205
205
|
});
|
|
206
206
|
form.append('sigzip', sigzipStream, {
|
|
207
|
-
header: `--${form.getBoundary()}${lineBreak}Content-Disposition: attachment; name=sigzip; filename
|
|
207
|
+
header: `--${form.getBoundary()}${lineBreak}Content-Disposition: attachment; name=sigzip; filename=\"${sigzipName}\"${lineBreak}Content-Type: application/octet-stream${lineBreak}${lineBreak}`
|
|
208
208
|
});
|
|
209
209
|
const publishWithRetry = (0, cockatiel_1.retry)((0, cockatiel_1.handleWhen)(err => err.message.includes('timeout')), {
|
|
210
210
|
maxAttempts: 3,
|