Update all of our samples to target VSCode 1.100 or newer

This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
This commit is contained in:
Matt Bierner
2025-08-07 07:57:14 -07:00
parent 0b0bb2b6b8
commit 2ee6b0b7b9
258 changed files with 14028 additions and 15244 deletions

View File

@ -11,13 +11,13 @@
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/node": "^22",
"@types/vscode": "^1.93.0",
"@types/vscode": "^1.100.0",
"eslint": "^9.13.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0"
},
"engines": {
"vscode": "^1.93.0"
"vscode": "^1.100.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@ -374,10 +374,11 @@
}
},
"node_modules/@types/vscode": {
"version": "1.93.0",
"resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.93.0.tgz",
"integrity": "sha512-kUK6jAHSR5zY8ps42xuW89NLcBpw1kOabah7yv38J8MyiYuOHxLQBi0e7zeXbQgVefDy/mZZetqEFC+Fl5eIEQ==",
"dev": true
"version": "1.102.0",
"resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.102.0.tgz",
"integrity": "sha512-V9sFXmcXz03FtYTSUsYsu5K0Q9wH9w9V25slddcxrh5JgORD14LpnOA7ov0L9ALi+6HrTjskLJ/tY5zeRF3TFA==",
"dev": true,
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.39.0",

View File

@ -4,7 +4,7 @@
"description": "",
"version": "0.0.1",
"engines": {
"vscode": "^1.93.0"
"vscode": "^1.100.0"
},
"categories": [
"Other"
@ -31,7 +31,7 @@
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/node": "^22",
"@types/vscode": "^1.93.0",
"@types/vscode": "^1.100.0",
"eslint": "^9.13.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0"

View File

@ -1,17 +1,17 @@
{
"compilerOptions": {
"module": "Node16",
"target": "ES2022",
"target": "ES2024",
"outDir": "out",
"lib": [
"ES2022"
"ES2024"
],
"sourceMap": true,
"rootDir": "src",
"strict": true /* enable all strict type-checking options */
"strict": true /* enable all strict type-checking options */
/* Additional Checks */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
}
}
}