Skip to content

Commit b0df822

Browse files
committed
Fix min supported vscode version
1 parent e7d2c13 commit b0df822

File tree

10 files changed

+21
-28
lines changed

10 files changed

+21
-28
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- macos-latest
1717
- windows-latest
1818
vscodeVersion:
19-
- 1.56.0
19+
- 1.64.2
2020
- stable
2121
runs-on: ${{ matrix.os }}
2222
name: Build

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Manage Entity Framework migrations in VS Code",
55
"version": "0.0.0",
66
"engines": {
7-
"vscode": "^1.56.0",
7+
"vscode": "^1.64.0",
88
"node": "^16",
99
"npm": "^8"
1010
},
@@ -328,7 +328,7 @@
328328
},
329329
"devDependencies": {
330330
"@types/node": "16.x",
331-
"@types/vscode": "1.56.0",
331+
"@types/vscode": "1.64.0",
332332
"@typescript-eslint/eslint-plugin": "^5.47.0",
333333
"@typescript-eslint/parser": "^5.47.0",
334334
"@vscode/vsce": "^2.16.0",

src/cli/CLI.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ChildProcessWithoutNullStreams } from 'node:child_process';
2-
import { spawn } from 'node:child_process';
1+
import type { ChildProcessWithoutNullStreams } from 'child_process';
2+
import { spawn } from 'child_process';
33

44
import { getEnvConfig } from '../config/config';
55
import type { Logger } from '../util/Logger';

src/solution/ProjectFilesProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from 'vscode';
2-
import path from 'node:path';
2+
import path from 'path';
33
import { parseProject } from 'vs-parse';
44
import type { ProjectFile } from '../types/ProjectFile';
55

src/solution/SolutionFilesProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from 'vscode';
22
import { parseSolution } from 'vs-parse';
3-
import path from 'node:path';
3+
import path from 'path';
44
import type { SolutionFile } from '../types/SolutionFile';
55

66
export class SolutionFilesProvider {

src/terminal/Terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from 'vscode';
2-
import { type ChildProcessWithoutNullStreams } from 'node:child_process';
2+
import { type ChildProcessWithoutNullStreams } from 'child_process';
33

44
import { EventWaiter } from '../util/EventWaiter';
55
import { CLI } from '../cli/CLI';

src/treeView/ProjectTreeItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from 'vscode';
2-
import path from 'node:path';
2+
import path from 'path';
33
import type { DbContext } from '../types/DbContext';
44
import { DbContextTreeItem } from './DbContextTreeItem';
55
import { getIconPath } from './iconProvider';

src/treeView/iconProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'node:path';
1+
import path from 'path';
22

33
type IconPath = { light: string; dark: string };
44

wdio.conf.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable @typescript-eslint/naming-convention */
22
import type { Options } from '@wdio/types';
3-
import path from 'node:path';
3+
import path from 'path';
44

55
export const config: Options.Testrunner = {
66
runner: 'local',
@@ -17,8 +17,7 @@ export const config: Options.Testrunner = {
1717
capabilities: [
1818
{
1919
browserName: 'vscode',
20-
browserVersion: process.env.VSCODE_VERSION || '1.56.0', // "insiders" or "stable" for latest VSCode version
21-
// @ts-ignore
20+
browserVersion: process.env.VSCODE_VERSION || '1.64.2', // "insiders" or "stable" for latest VSCode version
2221
'wdio:vscodeOptions': {
2322
extensionPath: __dirname,
2423
workspacePath: path.join(__dirname, 'sample_dotnet'),
@@ -30,17 +29,11 @@ export const config: Options.Testrunner = {
3029
],
3130
services: ['vscode'],
3231
logLevel: 'warn',
32+
waitforTimeout: 40000,
3333
// If you only want to run your tests until a specific amount of tests have failed use
3434
// bail (default is 0 - don't bail, run all tests).
3535
bail: 0,
36-
// Default timeout for all waitFor* commands.
37-
waitforTimeout: 10000,
38-
//
39-
// Default timeout in milliseconds for request
40-
// if browser driver or grid doesn't send response
4136
connectionRetryTimeout: 120000,
42-
//
43-
// Default request retries count
4437
connectionRetryCount: 3,
4538
framework: 'mocha',
4639
reporters: ['spec' /*, 'junit'*/],

0 commit comments

Comments
 (0)