Skip to content

Commit

Permalink
fix: Update VSCode to (^1.95.0) (main) (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason3S <3740137+Jason3S@users.noreply.github.com>
Co-authored-by: Jason Dent <jason@streetsidesoftware.nl>
  • Loading branch information
3 people authored Nov 4, 2024
1 parent b7155fe commit f50bab0
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand All @@ -51,8 +51,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
with:
ref: ${{ env.REF_BRANCH }}

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
with:
ref: ${{ env.REF_BRANCH }}

- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Corepack Enable
run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ignorePaths:
dictionaryDefinitions: []
dictionaries: []
words:
- corepack
- endregion
- Evaluatable
- linkcode
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"types": "dist/index.d.ts",
"author": "Jason Dent",
"license": "MIT",
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
"engines": {
"node": ">16.0.0"
"node": ">20.0.0"
},
"scripts": {
"test": "pnpm test:root && pnpm -r run test",
Expand Down Expand Up @@ -53,7 +53,7 @@
"@jest/globals": "^29.7.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.17.2",
"@types/vscode": "^1.94.0",
"@types/vscode": "^1.95.0",
"eslint": "^9.13.0",
"eslint-plugin-n": "^17.11.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
Expand Down
39 changes: 22 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion src/vscode-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,13 @@ type NotImplemented =
| 'l10n'
| 'LanguageModelChatMessage'
| 'LanguageModelChatMessageRole'
| 'LanguageModelChatToolMode'
| 'LanguageModelError'
| 'LanguageModelPromptTsxPart'
| 'LanguageModelTextPart'
| 'LanguageModelToolCallPart'
| 'LanguageModelToolResult'
| 'LanguageModelToolResultPart'
| 'LanguageStatusSeverity'
| 'LinkedEditingRanges'
| 'lm'
Expand Down Expand Up @@ -230,7 +236,7 @@ export function createVSCodeMock(jest: TestFramework): VSCodeMock {
const languages = createLanguages(jest);

const code: VSCodeMock = {
version: '1.90.0',
version: '1.95.0',

CallHierarchyIncomingCall,
CallHierarchyItem,
Expand Down

0 comments on commit f50bab0

Please sign in to comment.