Skip to content

Commit 26a279c

Browse files
committed
💄
1 parent 7a201b4 commit 26a279c

File tree

8 files changed

+7
-950
lines changed

8 files changed

+7
-950
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@
33
npm-debug.log
44
Thumbs.db
55
node_modules/
6-
/**/dist/
7-
/**/out/
86
yarn-error.log
9-
tsconfig.tsbuildinfo

gitpod-shared/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@types/vscode-webview": "^1.57.0",
2424
"@types/ws": "^7.2.6",
2525
"mocha": "^10.0.0",
26-
"reflect-metadata": "^0.1.13",
2726
"svelte": "^3.0.0",
2827
"svelte-check": "^2.0.0",
2928
"svelte-preprocess": "^4.0.0",
@@ -40,7 +39,7 @@
4039
"utf-8-validate": "^5.0.2",
4140
"uuid": "^8.3.1",
4241
"vscode-nls": "^5.0.0",
43-
"vscode-ws-jsonrpc": "0.2.0",
42+
"vscode-ws-jsonrpc": "^0.2.0",
4443
"ws": "^7.4.6",
4544
"yaml": "^1.10.0"
4645
}

gitpod-shared/src/features.ts

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Gitpod. All rights reserved.
33
*--------------------------------------------------------------------------------------------*/
44

5-
// TODO get rid of loading inversify and reflect-metadata
6-
require('reflect-metadata');
75
import { GitpodClient, GitpodServer, GitpodServiceImpl } from '@gitpod/gitpod-protocol/lib/gitpod-service';
86
import { JsonRpcProxyFactory } from '@gitpod/gitpod-protocol/lib/messaging/proxy-factory';
97
import { NavigatorContext } from '@gitpod/gitpod-protocol/lib/protocol';

gitpod-shared/yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ vscode-uri@^3.0.3:
18621862
resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.0.7.tgz#6d19fef387ee6b46c479e5fb00870e15e58c1eb8"
18631863
integrity sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==
18641864

1865-
vscode-ws-jsonrpc@0.2.0, vscode-ws-jsonrpc@^0.2.0:
1865+
vscode-ws-jsonrpc@^0.2.0:
18661866
version "0.2.0"
18671867
resolved "https://registry.yarnpkg.com/vscode-ws-jsonrpc/-/vscode-ws-jsonrpc-0.2.0.tgz#5e9c26e10da54a1a235da7d59e74508bbcb8edd9"
18681868
integrity sha512-NE9HNRgPjCaPyTJvIudcpyIWPImxwRDtuTX16yks7SAiZgSXigxAiZOvSvVBGmD1G/OMfrFo6BblOtjVR9DdVA==

package.json

+4-16
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,12 @@
55
"license": "MIT",
66
"description": "Dependencies shared by all extensions",
77
"dependencies": {
8-
"glob": "^8.1.0",
9-
"typescript": "4.9.4"
8+
"glob": "^8.1.0"
109
},
1110
"scripts": {
1211
"postinstall": "node scripts/postinstall.js",
13-
"compile": "yarn build:ts && yarn build:gitpod-web && yarn build:gitpod-remote",
14-
"watch": "npm-run-all -lp watch:ts watch:gitpod-web",
15-
"build:ts": "./node_modules/.bin/tsc -b",
16-
"watch:ts": "./node_modules/.bin/tsc -b -w",
17-
"build:gitpod-web": "yarn --cwd gitpod-web vscode:prepublish",
18-
"watch:gitpod-web": "yarn --cwd gitpod-web watch:webview",
19-
"build:gitpod-remote": "yarn --cwd gitpod-remote vscode:prepublish",
20-
"watch:gitpod-remote": "yarn --cwd gitpod-remote watch"
21-
},
22-
"devDependencies": {
23-
"@parcel/watcher": "2.1.0",
24-
"esbuild": "^0.15.14",
25-
"npm-run-all": "^4.1.5",
26-
"vscode-grammar-updater": "^1.1.0"
12+
"compile:gitpod-shared": "yarn --cwd gitpod-shared compile",
13+
"build:gitpod-web": "yarn compile:gitpod-shared && yarn --cwd gitpod-web vscode:prepublish",
14+
"build:gitpod-remote": "yarn compile:gitpod-shared && yarn --cwd gitpod-remote vscode:prepublish"
2715
}
2816
}

scripts/postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ function yarnInstall(location, opts) {
1414
const raw = process.env['npm_config_argv'] || '{}';
1515
const argv = JSON.parse(raw);
1616
const original = argv.original || [];
17+
const args = original.filter(arg => arg === '--ignore-optional' || arg === '--frozen-lockfile' || arg === '--check-files');
1718
if (opts.ignoreEngines) {
1819
args.push('--ignore-engines');
1920
delete opts.ignoreEngines;
@@ -34,4 +35,3 @@ for (let dir of extensionDirectories) {
3435
dir = dir.replace("package.json", "");
3536
yarnInstall(dir, { ignoreEngines: true });
3637
}
37-

tsconfig.json

-8
This file was deleted.

0 commit comments

Comments
 (0)