From 72fba5fc76663421e9582cb7f20ae941f7f7c30f Mon Sep 17 00:00:00 2001 From: Aylam Date: Tue, 24 Oct 2023 19:00:17 +0300 Subject: [PATCH] Update .yarn/sdks --- .vscode/extensions.json | 2 +- .yarn/sdks/typescript/lib/typescript.js | 6 +++--- .yarn/sdks/typescript/package.json | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 785d6e13e..59912633c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,6 +6,6 @@ "Vue.volar", "Vue.vscode-typescript-vue-plugin", "arcanis.vscode-zipfs", - "Orta.vscode-twoslash-queries" + "Orta.vscode-twoslash-queries" ] } diff --git a/.yarn/sdks/typescript/lib/typescript.js b/.yarn/sdks/typescript/lib/typescript.js index e14fa87be..b5f4db25b 100644 --- a/.yarn/sdks/typescript/lib/typescript.js +++ b/.yarn/sdks/typescript/lib/typescript.js @@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath); if (existsSync(absPnpApiPath)) { if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/lib/typescript.js + // Setup the environment to be able to require typescript require(absPnpApiPath).setup(); } } -// Defer to the real typescript/lib/typescript.js your application uses -module.exports = absRequire(`typescript/lib/typescript.js`); +// Defer to the real typescript your application uses +module.exports = absRequire(`typescript`); diff --git a/.yarn/sdks/typescript/package.json b/.yarn/sdks/typescript/package.json index 7503a11ca..76a119b9c 100644 --- a/.yarn/sdks/typescript/package.json +++ b/.yarn/sdks/typescript/package.json @@ -2,5 +2,9 @@ "name": "typescript", "version": "5.1.6-sdk", "main": "./lib/typescript.js", - "type": "commonjs" + "type": "commonjs", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + } }