Skip to content

Commit f8dab9b

Browse files
committed
(fix) bundle-size: reuse ts helper functions from tslib instead of inlining
Signed-off-by: Alexander Kozinko <[email protected]>
1 parent 3e7f6ee commit f8dab9b

File tree

48 files changed

+83
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+83
-36
lines changed

configs/base.tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"strictNullChecks": true,
1313
"experimentalDecorators": true,
1414
"emitDecoratorMetadata": true,
15+
"importHelpers": true,
1516
"downlevelIteration": true,
1617
"resolveJsonModule": true,
1718
"module": "CommonJS",

packages/bulk-edit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"@theia/filesystem": "1.46.0",
99
"@theia/monaco": "1.46.0",
1010
"@theia/monaco-editor-core": "1.72.3",
11-
"@theia/workspace": "1.46.0"
11+
"@theia/workspace": "1.46.0",
12+
"tslib": "^2.6.2"
1213
},
1314
"publishConfig": {
1415
"access": "public"

packages/callhierarchy/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"dependencies": {
66
"@theia/core": "1.46.0",
77
"@theia/editor": "1.46.0",
8-
"ts-md5": "^1.2.2"
8+
"ts-md5": "^1.2.2",
9+
"tslib": "^2.6.2"
910
},
1011
"publishConfig": {
1112
"access": "public"

packages/console/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"@theia/core": "1.46.0",
77
"@theia/monaco": "1.46.0",
88
"@theia/monaco-editor-core": "1.72.3",
9-
"anser": "^2.0.1"
9+
"anser": "^2.0.1",
10+
"tslib": "^2.6.2"
1011
},
1112
"publishConfig": {
1213
"access": "public"

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"safer-buffer": "^2.1.2",
6969
"socket.io": "^4.5.3",
7070
"socket.io-client": "^4.5.3",
71+
"tslib": "^2.6.2",
7172
"uuid": "^8.3.2",
7273
"vscode-languageserver-protocol": "^3.17.2",
7374
"vscode-uri": "^2.1.1",

packages/debug/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"@vscode/debugprotocol": "^1.51.0",
2020
"fast-deep-equal": "^3.1.3",
2121
"jsonc-parser": "^2.2.0",
22-
"p-debounce": "^2.1.0"
22+
"p-debounce": "^2.1.0",
23+
"tslib": "^2.6.2"
2324
},
2425
"publishConfig": {
2526
"access": "public"

packages/editor-preview/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"dependencies": {
66
"@theia/core": "1.46.0",
77
"@theia/editor": "1.46.0",
8-
"@theia/navigator": "1.46.0"
8+
"@theia/navigator": "1.46.0",
9+
"tslib": "^2.6.2"
910
},
1011
"publishConfig": {
1112
"access": "public"

packages/editor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Theia - Editor Extension",
55
"dependencies": {
66
"@theia/core": "1.46.0",
7-
"@theia/variable-resolver": "1.46.0"
7+
"@theia/variable-resolver": "1.46.0",
8+
"tslib": "^2.6.2"
89
},
910
"publishConfig": {
1011
"access": "public"

packages/external-terminal/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"dependencies": {
66
"@theia/core": "1.46.0",
77
"@theia/editor": "1.46.0",
8-
"@theia/workspace": "1.46.0"
8+
"@theia/workspace": "1.46.0",
9+
"tslib": "^2.6.2"
910
},
1011
"publishConfig": {
1112
"access": "public"

packages/file-search/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"@theia/filesystem": "1.46.0",
99
"@theia/process": "1.46.0",
1010
"@theia/workspace": "1.46.0",
11-
"@vscode/ripgrep": "^1.14.2"
11+
"@vscode/ripgrep": "^1.14.2",
12+
"tslib": "^2.6.2"
1213
},
1314
"publishConfig": {
1415
"access": "public"

0 commit comments

Comments
 (0)