Skip to content

Commit 977a76d

Browse files
committed
Revert "Add a new panel for all OpenShift commands"
This reverts commit 4d121d6.
1 parent 2dd44c9 commit 977a76d

Some content is hidden

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

43 files changed

+3120
-5210
lines changed

.eslintrc

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
"parserOptions": {
1717
"ecmaVersion": 2018,
1818
"comment": true,
19-
"project": [
20-
"./tsconfig.json",
21-
"./src/webview/tsconfig.json"
22-
],
19+
"project": "./tsconfig.json",
2320
"sourceType": "module"
2421
},
2522
"plugins": [
@@ -109,19 +106,13 @@
109106
},
110107
"overrides": [
111108
{
112-
"files": ["*.test.ts"],
113-
"rules": {
114-
"no-unused-expressions": "off",
115-
"@typescript-eslint/unbound-method" : "off",
116-
"max-nested-callbacks" : "off",
117-
"@typescript-eslint/no-unsafe-assignment": 1
118-
}
119-
},
120-
{
121-
"files": ["./src/@types/**.d.ts"],
122-
"rules": {
123-
"header/header": "off"
124-
}
109+
"files": ["*.test.ts"],
110+
"rules": {
111+
"no-unused-expressions": "off",
112+
"@typescript-eslint/unbound-method" : "off",
113+
"max-nested-callbacks" : "off",
114+
"@typescript-eslint/no-unsafe-assignment": 1
115+
}
125116
}
126117
]
127118
}

.vscode/launch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@
8888
"-o",
8989
"${workspaceFolder}/test/ui/settings.json",
9090
"-m",
91+
"--mocha_config",
9192
"${workspaceFolder}/test/ui/.mocharc.js",
92-
"-c",
93-
"max",
9493
"-e",
9594
"./test-resources/extensions",
9695
"-i"

build/esbuild-watch.mjs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import * as esbuild from 'esbuild';
1010
import { sassPlugin } from 'esbuild-sass-plugin';
1111
import * as fs from 'node:fs/promises';
1212
import process from 'node:process';
13-
import * as cp from 'node:child_process';
14-
import svgr from 'esbuild-plugin-svgr';
13+
import * as cp from 'node:child_process'
1514

1615
// This script runs tsc and esbuild in parallel when there are filesystem changes.
1716
// It outputs predictable markers for the beginning and ending of the compilation,
@@ -47,12 +46,7 @@ await Promise.all(
4746
'.png': 'file',
4847
'.svg': 'file',
4948
},
50-
plugins: [
51-
sassPlugin(),
52-
svgr({
53-
plugins: ['@svgr/plugin-jsx']
54-
}),
55-
],
49+
plugins: [sassPlugin()],
5650
});
5751
contexts.push(ctx);
5852
}),

build/esbuild.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import * as esbuild from 'esbuild';
77
import { sassPlugin } from 'esbuild-sass-plugin';
88
import * as fs from 'fs/promises';
9-
import svgr from 'esbuild-plugin-svgr';
109

1110
const webviews = [
1211
'cluster',
@@ -19,7 +18,6 @@ const webviews = [
1918
'welcome',
2019
'feedback',
2120
'add-service-binding',
22-
'openshift-terminal',
2321
];
2422

2523
function kebabToCamel(text) {
@@ -39,12 +37,10 @@ await Promise.all([
3937
sourcemap: true,
4038
loader: {
4139
'.png': 'file',
40+
'.svg': 'file',
4241
},
4342
plugins: [
4443
sassPlugin(),
45-
svgr({
46-
plugins: ['@svgr/plugin-jsx']
47-
}),
4844
]
4945
})
5046
),

images/helm/helm.svg

Lines changed: 2 additions & 1 deletion
Loading

images/welcome/microsoft.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)