From 9ee531ff3b0ba9f8c2a1afd28bbe82ef5600ff7b Mon Sep 17 00:00:00 2001 From: chriswang521 Date: Wed, 7 Jun 2023 13:14:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81,=E6=B7=BB=E5=8A=A0metadata=E4=BF=A1=E6=81=AF,?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E4=B8=AD=E6=96=87=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?hash=E5=80=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/npm/dirs.js | 1 - extensions/references-view/package.json | 8 +++++++- extensions/vscode-language-pack-zh-hans/package.json | 6 ++++++ src/vs/base/node/languagePacks.js | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/build/npm/dirs.js b/build/npm/dirs.js index 85668c58..23f57323 100644 --- a/build/npm/dirs.js +++ b/build/npm/dirs.js @@ -44,7 +44,6 @@ exports.dirs = [ 'extensions/vscode-custom-editor-tests', 'extensions/vscode-notebook-tests', 'extensions/vscode-test-resolver', - 'extensions/vscode-language-pack-zh-hans', 'remote', 'remote/web', 'test/automation', diff --git a/extensions/references-view/package.json b/extensions/references-view/package.json index 50d084e2..22ca6040 100644 --- a/extensions/references-view/package.json +++ b/extensions/references-view/package.json @@ -411,5 +411,11 @@ }, "devDependencies": { "@types/node": "16.x" - } + }, + "__metadata": { + "id": "dc489f46-520d-4556-ae85-1f9eab3c412d", + "publisherDisplayName": "ms-vscode", + "publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee", + "isPreReleaseVersion": false + } } diff --git a/extensions/vscode-language-pack-zh-hans/package.json b/extensions/vscode-language-pack-zh-hans/package.json index f6fd5cfd..fa03ca85 100644 --- a/extensions/vscode-language-pack-zh-hans/package.json +++ b/extensions/vscode-language-pack-zh-hans/package.json @@ -633,5 +633,11 @@ }, "scripts": { "update": "cd ../vscode && npm run update-localization-extension zh-hans" + }, + "__metadata": { + "id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b", + "publisherDisplayName": "MS-CEINTL", + "publisherId": "0b0882c3-aee3-4d7c-b5f9-872f9be0a115", + "isPreReleaseVersion": false } } diff --git a/src/vs/base/node/languagePacks.js b/src/vs/base/node/languagePacks.js index 065e81bd..b0018c5e 100644 --- a/src/vs/base/node/languagePacks.js +++ b/src/vs/base/node/languagePacks.js @@ -83,7 +83,7 @@ // md5.update('e4ee7751-6514-4731-9cdb-7580ffa9e70b'||'ms-ceintl.vscode-language-pack-zh-hans').update('1.68.3'); // console.log(md5.digest('hex')); const languagePackEntry = { - hash: requireLanguagePackage.__metadata ? '1cf4ec60d0997dd50d066e7d1d964c9e' : 'cd11b13396a8ccc2d43833b1c0402ea3', + hash: '1cf4ec60d0997dd50d066e7d1d964c9e', extensions: [], translations: {} };