Skip to content

Commit 95e8acf

Browse files
committed
fix: cleanup
1 parent 5031081 commit 95e8acf

File tree

6 files changed

+24
-626
lines changed

6 files changed

+24
-626
lines changed

extensions/vscode/.vscode-test.mjs

Lines changed: 0 additions & 5 deletions
This file was deleted.

extensions/vscode/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
"__dev": "pnpm run esbuild-base -- --sourcemap --watch",
110110
"__vscode:prepublish": "pnpm run esbuild-base -- --minify",
111111
"__build": "vsce package",
112+
"dev": "node build.mjs --watch",
112113
"build": "pnpm run check-types && node build.mjs",
113114
"check-types": "tsc --noEmit",
114-
"dev": "node build.mjs --watch",
115115
"vscode:prepublish": "pnpm run package",
116116
"package": "pnpm run check-types && node build.mjs --production"
117117
},
@@ -123,8 +123,6 @@
123123
"@types/mocha": "^10.0.6",
124124
"@types/node": "20.14.11",
125125
"@types/vscode": "^1.80.0",
126-
"@vscode/test-cli": "^0.0.9",
127-
"@vscode/test-electron": "^2.4.0",
128126
"esbuild": "^0.21.5",
129127
"execa": "^9.2.0",
130128
"typescript": "^5.4.5"

extensions/vscode/src/test/extension.test.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

extensions/vscode/src/views/lessonsTree.ts

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -110,52 +110,5 @@ export class LessonsTreeDataProvider implements vscode.TreeDataProvider<Lesson>
110110
}
111111

112112
export async function useLessonTree() {
113-
/**
114-
* `
115-
* vscode.workspace.onDidChangeWorkspaceFolders((event) => {
116-
* event.added.forEach((folder) => {
117-
* if (isTutorialKitWorkspace(folder)) {
118-
* }
119-
* });
120-
* });
121-
*/
122-
123-
// vscode.commands.executeCommand('setContext', 'tutorialkit:tree', true);
124-
125113
cmd.initialize();
126-
127-
/**
128-
* `
129-
* const tutorialWorkpaces = (vscode.workspace.workspaceFolders || []).filter(
130-
* isTutorialKitWorkspace,
131-
* );
132-
* const selectedWorkspace =
133-
* tutorialWorkpaces.length === 1
134-
* ? tutorialWorkpaces[0]
135-
* : await vscode.window
136-
* .showQuickPick(
137-
* tutorialWorkpaces.map((workspace) => workspace.name),
138-
* {
139-
* placeHolder: 'Select a workspace',
140-
* },
141-
* )
142-
* .then((selected) =>
143-
* tutorialWorkpaces.find((workspace) => workspace.name === selected),
144-
* );
145-
*/
146-
147-
/**
148-
* `
149-
* if (selectedWorkspace) {
150-
* setLessonsTreeDataProvider(
151-
* new LessonsTreeDataProvider(selectedWorkspace.uri, context),
152-
* );
153-
* context.subscriptions.push(
154-
* vscode.window.createTreeView('tutorialkit-lessons-tree', {
155-
* treeDataProvider: getLessonsTreeDataProvider(),
156-
* canSelectMany: true,
157-
* }),
158-
* );
159-
* }
160-
*/
161114
}

extensions/vscode/tsconfig.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
2+
"extends": "../../tsconfig.json",
23
"compilerOptions": {
34
"module": "Node16",
45
"target": "ES2022",
5-
"outDir": "out",
6+
"outDir": "dist",
67
"lib": ["ES2022"],
8+
"verbatimModuleSyntax": false,
79
"sourceMap": true,
8-
"rootDir": "src",
9-
"strict": true /* enable all strict type-checking options */
10-
/* Additional Checks */
11-
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
12-
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
13-
// "noUnusedParameters": true, /* Report errors on unused parameters. */
10+
"rootDir": "src"
1411
}
1512
}

0 commit comments

Comments
 (0)