Pick up TS 4.6.1

Fixes #142460

We're picking up the insiders version because TS is holding off on publishing the stable due to current events. However we don't want `insiders` to show in the version string, so patch the version string to look like the stable version
This commit is contained in:
Matt Bierner 2022-02-28 15:26:48 -08:00
parent c662fe67bf
commit d45c89bc65
No known key found for this signature in database
GPG key ID: 099C331567E11888
3 changed files with 13 additions and 5 deletions

View file

@ -4,7 +4,7 @@
"license": "MIT",
"description": "Dependencies shared by all extensions",
"dependencies": {
"typescript": "^4.6.1-rc"
"typescript": "^4.6.2-insiders.20220225"
},
"scripts": {
"postinstall": "node ./postinstall"

View file

@ -55,5 +55,13 @@ function processLib() {
}
}
function patchVersion() {
const packageJsonPath = path.join(root, 'package.json');
const json = JSON.parse(fs.readFileSync(packageJsonPath).toString());
json.version = '4.6.1';
fs.writeFileSync(packageJsonPath, JSON.stringify(json, null, 2));
}
processRoot();
processLib();
patchVersion();

View file

@ -24,10 +24,10 @@ fast-plist@0.1.2:
resolved "https://registry.yarnpkg.com/fast-plist/-/fast-plist-0.1.2.tgz#a45aff345196006d406ca6cdcd05f69051ef35b8"
integrity sha1-pFr/NFGWAG1AbKbNzQX2kFHvNbg=
typescript@^4.6.1-rc:
version "4.6.1-rc"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.1-rc.tgz#75baa823a6fca592f358b486acc2039f103ca2af"
integrity sha512-tLPT3GelVfTN9wXPOuPKfY83PkMvgdF3V3gHK/ElNrpQPdLKQ/HMU5cS6+7epYSIF2gne190jzydAW0FLLwU7A==
typescript@^4.6.2-insiders.20220225:
version "4.6.2-insiders.20220225"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2-insiders.20220225.tgz#e0469f0814bd04b6e276aeabcc481057fb2433a8"
integrity sha512-ugJR+CenSK8o6vFvguSinjCICseeJ/wlo/VqEFyB8mHWrgt01VRIA5Y9GSwUOQ4WuohBBAmx739cWCdBiztR8w==
vscode-grammar-updater@^1.0.3:
version "1.0.3"