From 27cdbc8340c3ce5dd3ce72284d50e185a3d8918d Mon Sep 17 00:00:00 2001 From: Alexander Kozinko Date: Thu, 8 Feb 2024 13:23:59 +0300 Subject: [PATCH] (fix) bundle-size: reuse ts helper functions from tslib instead of inlining Signed-off-by: Alexander Kozinko --- configs/base.tsconfig.json | 1 + dev-packages/application-manager/package.json | 1 + dev-packages/application-package/package.json | 1 + dev-packages/cli/package.json | 1 + dev-packages/ffmpeg/package.json | 1 + dev-packages/localization-manager/package.json | 1 + dev-packages/native-webpack-plugin/package.json | 1 + dev-packages/ovsx-client/package.json | 3 ++- dev-packages/private-re-exports/package.json | 1 + dev-packages/request/package.json | 3 ++- packages/bulk-edit/package.json | 5 +++-- packages/callhierarchy/package.json | 3 ++- packages/console/package.json | 5 +++-- packages/core/package.json | 1 + packages/debug/package.json | 3 ++- packages/editor-preview/package.json | 3 ++- packages/editor/package.json | 3 ++- packages/external-terminal/package.json | 3 ++- packages/file-search/package.json | 3 ++- packages/filesystem/package.json | 1 + packages/getting-started/package.json | 3 ++- packages/git/package.json | 3 ++- packages/keymaps/package.json | 3 ++- packages/markers/package.json | 3 ++- packages/memory-inspector/package.json | 3 ++- packages/messages/package.json | 3 ++- packages/metrics/package.json | 3 ++- packages/mini-browser/package.json | 1 + packages/monaco/package.json | 1 + packages/navigator/package.json | 3 ++- packages/notebook/package.json | 3 ++- packages/outline-view/package.json | 3 ++- packages/output/package.json | 3 ++- packages/plugin-dev/package.json | 3 ++- packages/plugin-ext-headless/package.json | 3 ++- packages/plugin-ext-vscode/package.json | 3 ++- packages/plugin-ext/package.json | 3 ++- packages/plugin-metrics/package.json | 3 ++- packages/preferences/package.json | 3 ++- packages/preview/package.json | 3 ++- packages/process/package.json | 3 ++- packages/property-view/package.json | 3 ++- packages/remote/package.json | 3 ++- packages/scm-extra/package.json | 3 ++- packages/scm/package.json | 3 ++- packages/search-in-workspace/package.json | 3 ++- packages/secondary-window/package.json | 3 ++- packages/task/package.json | 3 ++- packages/terminal/package.json | 3 ++- packages/timeline/package.json | 3 ++- packages/toolbar/package.json | 3 ++- packages/typehierarchy/package.json | 3 ++- packages/userstorage/package.json | 3 ++- packages/variable-resolver/package.json | 3 ++- packages/vsx-registry/package.json | 3 ++- packages/workspace/package.json | 1 + yarn.lock | 2 +- 57 files changed, 102 insertions(+), 46 deletions(-) diff --git a/configs/base.tsconfig.json b/configs/base.tsconfig.json index d6b6e42db7c55..731dcdfd7106f 100644 --- a/configs/base.tsconfig.json +++ b/configs/base.tsconfig.json @@ -12,6 +12,7 @@ "strictNullChecks": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "importHelpers": true, "downlevelIteration": true, "resolveJsonModule": true, "module": "CommonJS", diff --git a/dev-packages/application-manager/package.json b/dev-packages/application-manager/package.json index 1c643941f7e55..13d9e7fedeac6 100644 --- a/dev-packages/application-manager/package.json +++ b/dev-packages/application-manager/package.json @@ -59,6 +59,7 @@ "source-map-support": "^0.5.19", "string-replace-loader": "^3.1.0", "style-loader": "^2.0.0", + "tslib": "^2.6.2", "umd-compat-loader": "^2.1.2", "webpack": "^5.76.0", "webpack-cli": "4.7.0", diff --git a/dev-packages/application-package/package.json b/dev-packages/application-package/package.json index 564b0c76bf671..870d779fa595f 100644 --- a/dev-packages/application-package/package.json +++ b/dev-packages/application-package/package.json @@ -39,6 +39,7 @@ "nano": "^10.1.3", "resolve-package-path": "^4.0.3", "semver": "^7.5.4", + "tslib": "^2.6.2", "write-json-file": "^2.2.0" }, "devDependencies": { diff --git a/dev-packages/cli/package.json b/dev-packages/cli/package.json index 9ad1d24de52dd..764357097c8b9 100644 --- a/dev-packages/cli/package.json +++ b/dev-packages/cli/package.json @@ -52,6 +52,7 @@ "puppeteer-core": "19.7.2", "puppeteer-to-istanbul": "1.4.0", "temp": "^0.9.1", + "tslib": "^2.6.2", "yargs": "^15.3.1" }, "devDependencies": { diff --git a/dev-packages/ffmpeg/package.json b/dev-packages/ffmpeg/package.json index 7a4041fbf2f53..91e5d3c1b1fb2 100644 --- a/dev-packages/ffmpeg/package.json +++ b/dev-packages/ffmpeg/package.json @@ -29,6 +29,7 @@ }, "dependencies": { "@electron/get": "^2.0.0", + "tslib": "^2.6.2", "unzipper": "^0.9.11" }, "devDependencies": { diff --git a/dev-packages/localization-manager/package.json b/dev-packages/localization-manager/package.json index dc5940cf17721..a6bdda592ed69 100644 --- a/dev-packages/localization-manager/package.json +++ b/dev-packages/localization-manager/package.json @@ -36,6 +36,7 @@ "deepmerge": "^4.2.2", "fs-extra": "^4.0.2", "glob": "^7.2.0", + "tslib": "^2.6.2", "typescript": "~4.5.5" }, "devDependencies": { diff --git a/dev-packages/native-webpack-plugin/package.json b/dev-packages/native-webpack-plugin/package.json index 1e0cd31552c28..817f293759eeb 100644 --- a/dev-packages/native-webpack-plugin/package.json +++ b/dev-packages/native-webpack-plugin/package.json @@ -29,6 +29,7 @@ "watch": "theiaext watch" }, "dependencies": { + "tslib": "^2.6.2", "webpack": "^5.76.0" } } diff --git a/dev-packages/ovsx-client/package.json b/dev-packages/ovsx-client/package.json index a99fb06dfc5aa..ab49f9b05857b 100644 --- a/dev-packages/ovsx-client/package.json +++ b/dev-packages/ovsx-client/package.json @@ -30,6 +30,7 @@ }, "dependencies": { "@theia/request": "1.46.0", - "semver": "^7.5.4" + "semver": "^7.5.4", + "tslib": "^2.6.2" } } diff --git a/dev-packages/private-re-exports/package.json b/dev-packages/private-re-exports/package.json index 74075dad2f119..067e4554a33a9 100644 --- a/dev-packages/private-re-exports/package.json +++ b/dev-packages/private-re-exports/package.json @@ -26,6 +26,7 @@ "dependencies": { "mustache": "^4.2.0", "semver": "^7.5.4", + "tslib": "^2.6.2", "yargs": "^15.3.1" }, "devDependencies": { diff --git a/dev-packages/request/package.json b/dev-packages/request/package.json index 7529428ebe6b6..6198f1d3fce20 100644 --- a/dev-packages/request/package.json +++ b/dev-packages/request/package.json @@ -30,6 +30,7 @@ }, "dependencies": { "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0" + "https-proxy-agent": "^5.0.0", + "tslib": "^2.6.2" } } diff --git a/packages/bulk-edit/package.json b/packages/bulk-edit/package.json index 19fd04253ff7b..14dafa5644f53 100644 --- a/packages/bulk-edit/package.json +++ b/packages/bulk-edit/package.json @@ -8,7 +8,8 @@ "@theia/filesystem": "1.46.0", "@theia/monaco": "1.46.0", "@theia/monaco-editor-core": "1.83.101", - "@theia/workspace": "1.46.0" + "@theia/workspace": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" @@ -48,4 +49,4 @@ "nyc": { "extends": "../../configs/nyc.json" } -} \ No newline at end of file +} diff --git a/packages/callhierarchy/package.json b/packages/callhierarchy/package.json index 793c3dc4028a7..33e94777cac37 100644 --- a/packages/callhierarchy/package.json +++ b/packages/callhierarchy/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "@theia/editor": "1.46.0", - "ts-md5": "^1.2.2" + "ts-md5": "^1.2.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/console/package.json b/packages/console/package.json index 4105ba64b8c84..1e6f624655d72 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -6,7 +6,8 @@ "@theia/core": "1.46.0", "@theia/monaco": "1.46.0", "@theia/monaco-editor-core": "1.83.101", - "anser": "^2.0.1" + "anser": "^2.0.1", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" @@ -46,4 +47,4 @@ "nyc": { "extends": "../../configs/nyc.json" } -} \ No newline at end of file +} diff --git a/packages/core/package.json b/packages/core/package.json index 8678059ca038f..08470a69787fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -69,6 +69,7 @@ "safer-buffer": "^2.1.2", "socket.io": "^4.5.3", "socket.io-client": "^4.5.3", + "tslib": "^2.6.2", "uuid": "^9.0.1", "vscode-languageserver-protocol": "^3.17.2", "vscode-uri": "^2.1.1", diff --git a/packages/debug/package.json b/packages/debug/package.json index dde55cb6baa24..30b3c5faf2a48 100644 --- a/packages/debug/package.json +++ b/packages/debug/package.json @@ -19,7 +19,8 @@ "@vscode/debugprotocol": "^1.51.0", "fast-deep-equal": "^3.1.3", "jsonc-parser": "^2.2.0", - "p-debounce": "^2.1.0" + "p-debounce": "^2.1.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/editor-preview/package.json b/packages/editor-preview/package.json index 477487d689504..87397f0050d44 100644 --- a/packages/editor-preview/package.json +++ b/packages/editor-preview/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "@theia/editor": "1.46.0", - "@theia/navigator": "1.46.0" + "@theia/navigator": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/editor/package.json b/packages/editor/package.json index 5f256b2ae122b..aeb76e21efba0 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -4,7 +4,8 @@ "description": "Theia - Editor Extension", "dependencies": { "@theia/core": "1.46.0", - "@theia/variable-resolver": "1.46.0" + "@theia/variable-resolver": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/external-terminal/package.json b/packages/external-terminal/package.json index a16dddbfd399e..ad3bd2791d3ca 100644 --- a/packages/external-terminal/package.json +++ b/packages/external-terminal/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "@theia/editor": "1.46.0", - "@theia/workspace": "1.46.0" + "@theia/workspace": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/file-search/package.json b/packages/file-search/package.json index 64914d81544a5..b7dd9a2ce0d25 100644 --- a/packages/file-search/package.json +++ b/packages/file-search/package.json @@ -8,7 +8,8 @@ "@theia/filesystem": "1.46.0", "@theia/process": "1.46.0", "@theia/workspace": "1.46.0", - "@vscode/ripgrep": "^1.14.2" + "@vscode/ripgrep": "^1.14.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/filesystem/package.json b/packages/filesystem/package.json index 05cb26103fa10..3fa60fc935742 100644 --- a/packages/filesystem/package.json +++ b/packages/filesystem/package.json @@ -18,6 +18,7 @@ "stat-mode": "^1.0.0", "tar-fs": "^1.16.2", "trash": "^7.2.0", + "tslib": "^2.6.2", "vscode-languageserver-textdocument": "^1.0.1" }, "publishConfig": { diff --git a/packages/getting-started/package.json b/packages/getting-started/package.json index c66ca3f9cbc30..635cdc27cf2a7 100644 --- a/packages/getting-started/package.json +++ b/packages/getting-started/package.json @@ -8,7 +8,8 @@ "@theia/filesystem": "1.46.0", "@theia/keymaps": "1.46.0", "@theia/preview": "1.46.0", - "@theia/workspace": "1.46.0" + "@theia/workspace": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/git/package.json b/packages/git/package.json index d24200fd36d67..ccd69151e68ec 100644 --- a/packages/git/package.json +++ b/packages/git/package.json @@ -21,7 +21,8 @@ "node-ssh": "^12.0.1", "octicons": "^7.1.0", "p-queue": "^2.4.2", - "ts-md5": "^1.2.2" + "ts-md5": "^1.2.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/keymaps/package.json b/packages/keymaps/package.json index fb3bf6f6a5847..4fd52199181bb 100644 --- a/packages/keymaps/package.json +++ b/packages/keymaps/package.json @@ -8,7 +8,8 @@ "@theia/monaco-editor-core": "1.83.101", "@theia/preferences": "1.46.0", "@theia/userstorage": "1.46.0", - "jsonc-parser": "^2.2.0" + "jsonc-parser": "^2.2.0", + "tslib": "^2.6.2" }, "devDependencies": { "@theia/ext-scripts": "1.46.0" diff --git a/packages/markers/package.json b/packages/markers/package.json index 7f290b2e149ca..39115b866a620 100644 --- a/packages/markers/package.json +++ b/packages/markers/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "@theia/filesystem": "1.46.0", - "@theia/workspace": "1.46.0" + "@theia/workspace": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/memory-inspector/package.json b/packages/memory-inspector/package.json index 879bc07d48fbc..c50c40fcab320 100644 --- a/packages/memory-inspector/package.json +++ b/packages/memory-inspector/package.json @@ -30,7 +30,8 @@ "@theia/core": "1.46.0", "@theia/debug": "1.46.0", "@vscode/debugprotocol": "^1.51.0", - "long": "^4.0.0" + "long": "^4.0.0", + "tslib": "^2.6.2" }, "devDependencies": { "@types/long": "^4.0.0" diff --git a/packages/messages/package.json b/packages/messages/package.json index 9a525b88f22b2..431ca7e565d0a 100644 --- a/packages/messages/package.json +++ b/packages/messages/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "react-perfect-scrollbar": "^1.5.3", - "ts-md5": "^1.2.2" + "ts-md5": "^1.2.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/metrics/package.json b/packages/metrics/package.json index 8a2e8927f1a24..0ff9e5550449e 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -4,7 +4,8 @@ "description": "Theia - Metrics Extension", "dependencies": { "@theia/core": "1.46.0", - "prom-client": "^10.2.0" + "prom-client": "^10.2.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/mini-browser/package.json b/packages/mini-browser/package.json index d9bcf8a352759..2bf1b3778b48b 100644 --- a/packages/mini-browser/package.json +++ b/packages/mini-browser/package.json @@ -8,6 +8,7 @@ "@types/mime-types": "^2.1.0", "mime-types": "^2.1.18", "pdfobject": "^2.0.201604172", + "tslib": "^2.6.2", "vhost": "^3.0.2" }, "publishConfig": { diff --git a/packages/monaco/package.json b/packages/monaco/package.json index ff0fa606435e0..b821d6914e566 100644 --- a/packages/monaco/package.json +++ b/packages/monaco/package.json @@ -13,6 +13,7 @@ "fast-plist": "^0.1.2", "idb": "^4.0.5", "jsonc-parser": "^2.2.0", + "tslib": "^2.6.2", "vscode-oniguruma": "1.6.1", "vscode-textmate": "^9.0.0" }, diff --git a/packages/navigator/package.json b/packages/navigator/package.json index 7b84d98af529d..f0554bacaa926 100644 --- a/packages/navigator/package.json +++ b/packages/navigator/package.json @@ -6,7 +6,8 @@ "@theia/core": "1.46.0", "@theia/filesystem": "1.46.0", "@theia/workspace": "1.46.0", - "minimatch": "^5.1.0" + "minimatch": "^5.1.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/notebook/package.json b/packages/notebook/package.json index 188c1096f41c7..0a574cb124d55 100644 --- a/packages/notebook/package.json +++ b/packages/notebook/package.json @@ -7,7 +7,8 @@ "@theia/editor": "1.46.0", "@theia/filesystem": "1.46.0", "@theia/monaco": "1.46.0", - "react-perfect-scrollbar": "^1.5.8" + "react-perfect-scrollbar": "^1.5.8", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/outline-view/package.json b/packages/outline-view/package.json index 52efc5961b221..c689b85656f52 100644 --- a/packages/outline-view/package.json +++ b/packages/outline-view/package.json @@ -3,7 +3,8 @@ "version": "1.46.0", "description": "Theia - Outline View Extension", "dependencies": { - "@theia/core": "1.46.0" + "@theia/core": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/output/package.json b/packages/output/package.json index 000281e99cabd..7f70846a5fd34 100644 --- a/packages/output/package.json +++ b/packages/output/package.json @@ -8,7 +8,8 @@ "@theia/monaco": "1.46.0", "@theia/monaco-editor-core": "1.83.101", "@types/p-queue": "^2.3.1", - "p-queue": "^2.4.2" + "p-queue": "^2.4.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/plugin-dev/package.json b/packages/plugin-dev/package.json index 34ea4621c01fe..11247189e0d3f 100644 --- a/packages/plugin-dev/package.json +++ b/packages/plugin-dev/package.json @@ -11,7 +11,8 @@ "@theia/output": "1.46.0", "@theia/plugin-ext": "1.46.0", "@theia/workspace": "1.46.0", - "ps-tree": "^1.2.0" + "ps-tree": "^1.2.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/plugin-ext-headless/package.json b/packages/plugin-ext-headless/package.json index da640a995521e..f748f9ee4e745 100644 --- a/packages/plugin-ext-headless/package.json +++ b/packages/plugin-ext-headless/package.json @@ -7,7 +7,8 @@ "dependencies": { "@theia/core": "1.46.0", "@theia/plugin-ext": "1.46.0", - "@theia/terminal": "1.46.0" + "@theia/terminal": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/plugin-ext-vscode/package.json b/packages/plugin-ext-vscode/package.json index ccdd5870dabd6..7ab0f455da56e 100644 --- a/packages/plugin-ext-vscode/package.json +++ b/packages/plugin-ext-vscode/package.json @@ -17,7 +17,8 @@ "@theia/userstorage": "1.46.0", "@theia/workspace": "1.46.0", "decompress": "^4.2.1", - "filenamify": "^4.1.0" + "filenamify": "^4.1.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/plugin-ext/package.json b/packages/plugin-ext/package.json index 9db620bcb8cdf..22d37f50a7868 100644 --- a/packages/plugin-ext/package.json +++ b/packages/plugin-ext/package.json @@ -46,6 +46,7 @@ "mime": "^2.4.4", "ps-tree": "^1.2.0", "semver": "^7.5.4", + "tslib": "^2.6.2", "vhost": "^3.0.2", "vscode-textmate": "^9.0.0" }, @@ -96,4 +97,4 @@ "nyc": { "extends": "../../configs/nyc.json" } -} \ No newline at end of file +} diff --git a/packages/plugin-metrics/package.json b/packages/plugin-metrics/package.json index 64fe79fd285d1..e38c9f686f3c6 100644 --- a/packages/plugin-metrics/package.json +++ b/packages/plugin-metrics/package.json @@ -7,7 +7,8 @@ "@theia/metrics": "1.46.0", "@theia/monaco-editor-core": "1.83.101", "@theia/plugin": "1.46.0", - "@theia/plugin-ext": "1.46.0" + "@theia/plugin-ext": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/preferences/package.json b/packages/preferences/package.json index e64681fedd75b..bd1b0b209e45c 100644 --- a/packages/preferences/package.json +++ b/packages/preferences/package.json @@ -13,7 +13,8 @@ "async-mutex": "^0.3.1", "fast-deep-equal": "^3.1.3", "jsonc-parser": "^2.2.0", - "p-debounce": "^2.1.0" + "p-debounce": "^2.1.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/preview/package.json b/packages/preview/package.json index db28a79cbac0b..4b6740d8cb5c7 100644 --- a/packages/preview/package.json +++ b/packages/preview/package.json @@ -10,7 +10,8 @@ "@types/highlight.js": "^10.1.0", "@types/markdown-it-anchor": "^4.0.1", "highlight.js": "10.4.1", - "markdown-it-anchor": "~5.0.0" + "markdown-it-anchor": "~5.0.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/process/package.json b/packages/process/package.json index cdfbc83ca3af5..523d804df405a 100644 --- a/packages/process/package.json +++ b/packages/process/package.json @@ -5,7 +5,8 @@ "dependencies": { "@theia/core": "1.46.0", "node-pty": "0.11.0-beta17", - "string-argv": "^0.1.1" + "string-argv": "^0.1.1", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/property-view/package.json b/packages/property-view/package.json index 063bd8ee23c47..6035e53d0d719 100644 --- a/packages/property-view/package.json +++ b/packages/property-view/package.json @@ -4,7 +4,8 @@ "description": "Theia - Property View Extension", "dependencies": { "@theia/core": "1.46.0", - "@theia/filesystem": "1.46.0" + "@theia/filesystem": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/remote/package.json b/packages/remote/package.json index cd52c26ea0ccb..8473d3a5c39cd 100644 --- a/packages/remote/package.json +++ b/packages/remote/package.json @@ -15,7 +15,8 @@ "ssh2": "^1.12.0", "ssh2-sftp-client": "^9.1.0", "socket.io": "^4.5.3", - "socket.io-client": "^4.5.3" + "socket.io-client": "^4.5.3", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/scm-extra/package.json b/packages/scm-extra/package.json index 88c1e514a266f..e92db6d2f9bd3 100644 --- a/packages/scm-extra/package.json +++ b/packages/scm-extra/package.json @@ -7,7 +7,8 @@ "@theia/editor": "1.46.0", "@theia/filesystem": "1.46.0", "@theia/navigator": "1.46.0", - "@theia/scm": "1.46.0" + "@theia/scm": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/scm/package.json b/packages/scm/package.json index 733506ee4fd52..a9998c7208279 100644 --- a/packages/scm/package.json +++ b/packages/scm/package.json @@ -10,7 +10,8 @@ "diff": "^3.4.0", "p-debounce": "^2.1.0", "react-autosize-textarea": "^7.0.0", - "ts-md5": "^1.2.2" + "ts-md5": "^1.2.2", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/search-in-workspace/package.json b/packages/search-in-workspace/package.json index 8eaf145a03624..c4e9b1c53e457 100644 --- a/packages/search-in-workspace/package.json +++ b/packages/search-in-workspace/package.json @@ -11,7 +11,8 @@ "@theia/workspace": "1.46.0", "@vscode/ripgrep": "^1.14.2", "minimatch": "^5.1.0", - "react-autosize-textarea": "^7.0.0" + "react-autosize-textarea": "^7.0.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/secondary-window/package.json b/packages/secondary-window/package.json index c1af7f82cb4c0..1e82a604ea69a 100644 --- a/packages/secondary-window/package.json +++ b/packages/secondary-window/package.json @@ -3,7 +3,8 @@ "version": "1.46.0", "description": "Theia - Secondary Window Extension", "dependencies": { - "@theia/core": "1.46.0" + "@theia/core": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/task/package.json b/packages/task/package.json index ce7ef70fa32c0..6417de40118b9 100644 --- a/packages/task/package.json +++ b/packages/task/package.json @@ -16,7 +16,8 @@ "@theia/workspace": "1.46.0", "async-mutex": "^0.3.1", "jsonc-parser": "^2.2.0", - "p-debounce": "^2.1.0" + "p-debounce": "^2.1.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/terminal/package.json b/packages/terminal/package.json index cb72c4a33591b..591465579992a 100644 --- a/packages/terminal/package.json +++ b/packages/terminal/package.json @@ -9,6 +9,7 @@ "@theia/process": "1.46.0", "@theia/variable-resolver": "1.46.0", "@theia/workspace": "1.46.0", + "tslib": "^2.6.2", "xterm": "^5.3.0", "xterm-addon-fit": "^0.8.0", "xterm-addon-search": "^0.13.0" @@ -53,4 +54,4 @@ "nyc": { "extends": "../../configs/nyc.json" } -} \ No newline at end of file +} diff --git a/packages/timeline/package.json b/packages/timeline/package.json index c0152c9b14f28..e3617adc5ac0b 100644 --- a/packages/timeline/package.json +++ b/packages/timeline/package.json @@ -4,7 +4,8 @@ "description": "Theia - Timeline Extension", "dependencies": { "@theia/core": "1.46.0", - "@theia/navigator": "1.46.0" + "@theia/navigator": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/toolbar/package.json b/packages/toolbar/package.json index 38eb066cf8513..2327d147b7c68 100644 --- a/packages/toolbar/package.json +++ b/packages/toolbar/package.json @@ -38,7 +38,8 @@ "@theia/workspace": "1.46.0", "ajv": "^6.5.3", "jsonc-parser": "^2.2.0", - "perfect-scrollbar": "^1.3.0" + "perfect-scrollbar": "^1.3.0", + "tslib": "^2.6.2" }, "theiaExtensions": [ { diff --git a/packages/typehierarchy/package.json b/packages/typehierarchy/package.json index 4efab626c0c08..4dc715a17e522 100644 --- a/packages/typehierarchy/package.json +++ b/packages/typehierarchy/package.json @@ -4,7 +4,8 @@ "description": "Theia - Type Hierarchy Extension", "dependencies": { "@theia/core": "1.46.0", - "@theia/editor": "1.46.0" + "@theia/editor": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/userstorage/package.json b/packages/userstorage/package.json index 68124ee6dd487..828a60b65e14a 100644 --- a/packages/userstorage/package.json +++ b/packages/userstorage/package.json @@ -4,7 +4,8 @@ "description": "Theia - User Storage Extension", "dependencies": { "@theia/core": "1.46.0", - "@theia/filesystem": "1.46.0" + "@theia/filesystem": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/variable-resolver/package.json b/packages/variable-resolver/package.json index d12c0933bf556..05d3201c1b57c 100644 --- a/packages/variable-resolver/package.json +++ b/packages/variable-resolver/package.json @@ -3,7 +3,8 @@ "version": "1.46.0", "description": "Theia - Variable Resolver Extension", "dependencies": { - "@theia/core": "1.46.0" + "@theia/core": "1.46.0", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/vsx-registry/package.json b/packages/vsx-registry/package.json index 49ed7002fcbd4..87ef3ef791336 100644 --- a/packages/vsx-registry/package.json +++ b/packages/vsx-registry/package.json @@ -13,7 +13,8 @@ "@theia/workspace": "1.46.0", "luxon": "^2.4.0", "p-debounce": "^2.1.0", - "semver": "^7.5.4" + "semver": "^7.5.4", + "tslib": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/packages/workspace/package.json b/packages/workspace/package.json index 24b3510fc394a..d9df7c636962f 100644 --- a/packages/workspace/package.json +++ b/packages/workspace/package.json @@ -7,6 +7,7 @@ "@theia/filesystem": "1.46.0", "@theia/variable-resolver": "1.46.0", "jsonc-parser": "^2.2.0", + "tslib": "^2.6.2", "valid-filename": "^2.0.1" }, "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 5f9f053ced5c8..1098b78f1f71a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11356,7 +11356,7 @@ tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0: +tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==