diff --git a/.nvmrc b/.nvmrc index 3d8b28e..016e34b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.11.0 +v20.17.0 diff --git a/package-lock.json b/package-lock.json index b61287c..e180f79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.1", "license": "MIT", "dependencies": { - "@types/vscode": "1.78.0", + "@types/vscode": "1.85.0", "@types/vscode-webview": "^1.57.5", "@vscode/extension-telemetry": "^0.9.7", "tangle": "^4.0.0" @@ -35,6 +35,10 @@ "ts-node": "^10.9.2", "typescript": "^5.6.3", "vitest": "^2.1.5" + }, + "engines": { + "node": ">=20.17.0", + "vscode": "^1.85.0" } }, "node_modules/@ampproject/remapping": { @@ -1852,10 +1856,9 @@ "license": "MIT" }, "node_modules/@types/vscode": { - "version": "1.78.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.78.0.tgz", - "integrity": "sha512-LJZIJpPvKJ0HVQDqfOy6W4sNKUBBwyDu1Bs8chHBZOe9MNuKTJtidgZ2bqjhmmWpUb0TIIqv47BFUcVmAsgaVA==", - "license": "MIT" + "version": "1.85.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.85.0.tgz", + "integrity": "sha512-CF/RBon/GXwdfmnjZj0WTUMZN5H6YITOfBCP4iEZlOtVQXuzw6t7Le7+cR+7JzdMrnlm7Mfp49Oj2TuSXIWo3g==" }, "node_modules/@types/vscode-webview": { "version": "1.57.5", diff --git a/package.json b/package.json index 0b4a378..11b153f 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,10 @@ "main": "./build/cjs/index.js", "module": "./build/esm/index.js", "browser": "./build/browser/index.js", + "engines": { + "vscode": "^1.85.0", + "node": ">=20.17.0" + }, "exports": { "./webview": "./build/webview.js", ".": { @@ -66,7 +70,7 @@ "vitest": "^2.1.5" }, "dependencies": { - "@types/vscode": "1.78.0", + "@types/vscode": "1.85.0", "@types/vscode-webview": "^1.57.5", "@vscode/extension-telemetry": "^0.9.7", "tangle": "^4.0.0"