From 503d49d295f1e1bfbcdd890e1abc345f326bf95c Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 31 May 2023 17:12:37 +0000 Subject: [PATCH] Add codeberg to gitlens and add build tasks (#3) It needed to be added inorder for gitlens to recognise the remote as a gitea instance without, it wouldnt be able to open branches/specific commits correctly and build tasks are just for ease of development (teeny weeny pr bc im not gonna do anything else with this branch) Co-authored-by: Luna R Reviewed-on: https://codeberg.org/Ven/cord/pulls/3 Co-authored-by: Luna Co-committed-by: Luna --- .vscode/settings.json | 9 ++++++++- .vscode/tasks.json | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/settings.json b/.vscode/settings.json index c0b2045c..426ff680 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,5 +12,12 @@ "javascript.format.semicolons": "insert", "typescript.format.semicolons": "insert", "typescript.preferences.quoteStyle": "double", - "javascript.preferences.quoteStyle": "double" + "javascript.preferences.quoteStyle": "double", + + "gitlens.remotes": [ + { + "domain": "codeberg.org", + "type": "Gitea" + } + ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..5b160cb8 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "type": "shell", + "command": "pnpm build", + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Watch", + "type": "shell", + "command": "pnpm watch", + "problemMatcher": [], + "group": { + "kind": "build" + } + } + ] +} \ No newline at end of file