Skip to content

Commit a6316f6

Browse files
committed
Update VS Code engine and types
1 parent f9e4670 commit a6316f6

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed

docs/development.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
1. [Fork and clone][fork] the [vscode-powershell repository](https://github.com/PowerShell/vscode-powershell).
66

77
1. [Fork and clone][fork] the [PowerShell Editor Services (PSES) repository](https://github.com/PowerShell/PowerShellEditorServices).
8-
> The `vscode-powershell` folder and the `PowerShellEditorServices` folder should be next to each other on the file
9-
> system. Code in `vscode-powershell` looks for PSES at `../PowerShellEditorServices` if you're building locally so
10-
> PSES must be in that location.
8+
9+
> The `vscode-powershell` folder and the `PowerShellEditorServices` folder should be next to each other on the file
10+
> system. Code in `vscode-powershell` looks for PSES at `../PowerShellEditorServices` if you're building locally so
11+
> PSES must be in that location.
1112
1213
1. Follow the [development instructions](https://github.com/PowerShell/PowerShellEditorServices#development) for
1314
PowerShell Editor Services. **You will need to complete this step before proceeding**.
@@ -16,9 +17,10 @@
1617

1718
1. Install [Visual Studio Code](https://code.visualstudio.com).
1819
Open the multi-root workspace file in this repo, `extension-dev.code-workspace`.
19-
> This has a set of recommended extensions to install and provides tasks.
20-
> The ESLint formatter will require you to install ESLint globally, using `npm install -g eslint`.
21-
> Otherwise VS Code will erroneously complain that it isn't able to use it to format TypeScript files.
20+
21+
> This has a set of recommended extensions to install and provides tasks.
22+
> The ESLint formatter will require you to install ESLint globally, using `npm install -g eslint`.
23+
> Otherwise VS Code will erroneously complain that it isn't able to use it to format TypeScript files.
2224
2325
1. (optional) Set `git config blame.ignoreRevsFile .git-blame-ignore-revs` to ignore formatting-related commits.
2426

@@ -40,9 +42,9 @@ developer machines if necessary, the CI and OneBranch pipeline tasks, and the
4042
`.tsconfig` file. Note that the version of `@types/node` will not necessarily
4143
exactly match the version of Node.js, but the major version should.
4244

43-
[`electron`]: https://github.com/microsoft/vscode/blob/ac4cbdf48759c7d8c3eb91ffe6bb04316e263c57/package.json#L163
44-
[Electron]: https://releases.electronjs.org/release/v37.7.0
45-
[Node.js]: https://nodejs.org/en/blog/release/v22.20.0
45+
[`electron`]: https://github.com/microsoft/vscode/blob/release/1.114/package.json
46+
[Electron]: https://releases.electronjs.org/release/v39.8.3
47+
[Node.js]: https://nodejs.org/en/blog/release/v22.22.1
4648

4749
### Building the Code
4850

@@ -59,6 +61,7 @@ Invoke-Build Build
5961
Explore the `vscode-powershell.build.ps1` file for other build targets.
6062

6163
### Launching the extension
64+
6265
First, ensure you have completed a build as instructed above, as the launch templates do not check some prerequisites for performance reasons.
6366

6467
To debug the extension use one of the provided `Launch Extension` debug configurations.

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"publisher": "ms-vscode",
77
"description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!",
88
"engines": {
9-
"vscode": "^1.106.0"
9+
"vscode": "^1.114.0"
1010
},
1111
"author": "Microsoft Corporation",
1212
"license": "SEE LICENSE IN LICENSE.txt",
@@ -74,11 +74,11 @@
7474
"optionalDependencies": {
7575
"@eslint/js": "^9.39.1",
7676
"@types/mock-fs": "^4.13.4",
77-
"@types/node": "^22.19.11",
77+
"@types/node": "^22.19.17",
7878
"@types/semver": "^7.7.1",
7979
"@types/sinon": "^17.0.4",
8080
"@types/ungap__structured-clone": "^1.2.0",
81-
"@types/vscode": "~1.101.0",
81+
"@types/vscode": "~1.110.0",
8282
"@ungap/structured-clone": "^1.3.0",
8383
"@vscode/debugprotocol": "^1.68.0",
8484
"@vscode/test-cli": "^0.0.10",

0 commit comments

Comments
 (0)