From b42cf2d6e327a14c6a673ad84c5e04e0f81245a0 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 10 May 2024 12:55:56 +0100 Subject: [PATCH] fix: remove too-high vscode engine --- .vscode/extensions.json | 1 + .vscode/launch.json | 4 ++-- .vscode/tasks.json | 5 ++++- package.json | 13 +++++-------- src/index.ts | 1 - 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 069335b..9fdaf86 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "amodio.tsl-problem-matcher", "dbaeumer.vscode-eslint", + "publisher-slug.ext-slug", "vue.volar" ] } diff --git a/.vscode/launch.json b/.vscode/launch.json index 3cbb6af..4b95d8f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.2.0", "configurations": [ { - "name": "Extension", + "name": "Run Extension", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", @@ -13,7 +13,7 @@ "outFiles": [ "${workspaceFolder}/dist/**/*.js" ], - "preLaunchTask": "npm: dev" + "preLaunchTask": "${defaultBuildTask}" } ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e8b9fbc..7d796a7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -10,6 +10,10 @@ "presentation": { "reveal": "never" }, + "group": { + "kind": "build", + "isDefault": true + }, "problemMatcher": [ { "base": "$ts-webpack-watch", @@ -20,7 +24,6 @@ } } ], - "group": "build" } ] } diff --git a/package.json b/package.json index d32bbf2..195974b 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,13 @@ "packageManager": "pnpm@9.1.0", "description": "", "license": "MIT", - "homepage": "https://github.com/publisher-slug/ext-slug-extension#readme", + "homepage": "https://github.com/publisher-slug/ext-slug#readme", "repository": { "type": "git", - "url": "https://github.com/publisher-slug/ext-slug-extension" + "url": "https://github.com/publisher-slug/ext-slug" }, "bugs": { - "url": "https://github.com/publisher-slug/ext-slug-extension/issues" + "url": "https://github.com/publisher-slug/ext-slug/issues" }, "categories": [ "Other" @@ -24,15 +24,12 @@ "dist" ], "engines": { - "vscode": "^1.89.0" + "vscode": "^1.70.0" }, - "activationEvents": [ - "onStartupFinished" - ], "contributes": { "commands": [ { - "title": "Open Webview", + "title": "Open Sample Webview", "command": "publisher-slug.preview" } ] diff --git a/src/index.ts b/src/index.ts index 2330de5..197e646 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,6 @@ import type { ExtensionContext } from 'vscode' import { prepareWebView } from './webview' export async function activate(context: ExtensionContext) { - console.log('hey there') const webview = vscode.commands.registerCommand('publisher-slug.preview', () => { const panel = prepareWebView(context) -- 2.51.2