From e59f593245c42864102024d8bdb06a1cfca7670d Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 9 Apr 2020 02:10:04 +0200 Subject: [PATCH] Adjust various things for the VSCode theme. --- .gitignore | 3 +++ source/vscode/.vscodeignore | 7 +++++++ source/vscode/ReadMe.md | 4 ++-- source/vscode/package.json | 6 ++++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ae8d01f..5a2aa51 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,6 @@ dist # Output directories. build/ public/ + +# Packaged VSCode extensions. +*.vsix diff --git a/source/vscode/.vscodeignore b/source/vscode/.vscodeignore index 19bbe78..8234eb6 100644 --- a/source/vscode/.vscodeignore +++ b/source/vscode/.vscodeignore @@ -1,3 +1,10 @@ .vscode/** .vscode-test/** .gitignore + +# Ignore various things that don't need to be packaged with the extension. +images/ +themes/love-template.color-theme.json + +# Unignore the logo since that's used with a local URL. +!images/love-mark-square.png diff --git a/source/vscode/ReadMe.md b/source/vscode/ReadMe.md index 161f2e6..8bacdfa 100644 --- a/source/vscode/ReadMe.md +++ b/source/vscode/ReadMe.md @@ -4,8 +4,8 @@ ## Preview -![](https://gitlab.com/holllo/love/-/raw/master/source/vscode/images/love-dark-01.png) -![](https://gitlab.com/holllo/love/-/raw/master/source/vscode/images/love-light-01.png) +![Love Dark Preview Image](images/love-dark-01.png) +![Love Light Preview Image](images/love-light-01.png) ## License diff --git a/source/vscode/package.json b/source/vscode/package.json index d10fb5b..d8be478 100644 --- a/source/vscode/package.json +++ b/source/vscode/package.json @@ -5,14 +5,16 @@ "author": "Holllo ", "homepage": "https://love.holllo.cc", "repository": "https://gitlab.com/holllo/love", - "scripts": {}, + "scripts": { + "package": "vsce package --baseImagesUrl='https://gitlab.com/holllo/love/-/raw/master/source/vscode/'" + }, "dependencies": {}, "devDependencies": { "vsce": "^1.75.0" }, "displayName": "Love Theme", "publisher": "Holllo", - "icon": "https://gitlab.com/holllo/love/-/raw/master/source/vscode/images/love-mark-square.png", + "icon": "images/love-mark-square.png", "galleryBanner": { "color": "#2A2041", "theme": "dark"