Fix: Run extension as UI extension

This commit is contained in:
2026-06-07 16:40:34 +00:00
parent f2f9ae5988
commit 9807886eb2
8 changed files with 6821 additions and 6803 deletions
+41
View File
@@ -0,0 +1,41 @@
name: Publish Extension
on:
push:
tags:
- 'v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Install Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Audit dependencies
run: npm audit --audit-level=high
- name: Lint
run: npm run lint
- name: Publish to VS Code Marketplace
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npm run publish
- name: Cleanup workspace
if: always()
run: |
rm -rf node_modules
rm -rf out
rm -rf coverage
rm -rf .nyc_output
+21 -5
View File
@@ -1,9 +1,25 @@
# Change Log
# Changelog
All notable changes to the "vsc-adda" extension will be documented in this file.
## [1.0.3] - 2026-06-07
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
### Fixed
## [Unreleased]
- Run the extension as a UI extension to avoid remote font loading issues in VS Code Remote/SSH environments.
- Initial release
## [1.0.2] - 2025-10-12
### Fixed
- Minor fixes.
## [1.0.1] - 2025-10-12
### Fixed
- Minor fixes.
## [1.0.0] - 2025-10-09
### Added
- Initial release.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Gunnar Johansson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+1 -3
View File
@@ -8,9 +8,7 @@ Every masterpiece has its quirks — we're aware of them, and we'll gently brush
## Release Notes
### 1.0.0
Initial release.
See [CHANGELOG](CHANGELOG.md) for release notes.
---
View File
+6715 -6792
View File
File diff suppressed because it is too large Load Diff
+17 -3
View File
@@ -2,8 +2,14 @@
"name": "vsc-adda",
"displayName": "Adda",
"description": "Track the number of checked-in visitors at Adda Hälsoperspektiv AB.",
"version": "0.0.1",
"version": "1.0.2",
"publisher": "oaklake89",
"repository": {
"type": "git",
"url": "https://git.kvarnarp.se/vscode/vsc-adda.git"
},
"extensionKind": ["ui"],
"icon": "assets/adda-128x128.png",
"preview": true,
"engines": {
"vscode": "^1.109.0"
@@ -11,7 +17,9 @@
"categories": [
"Other"
],
"activationEvents": [],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
@@ -37,8 +45,14 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
"test": "vscode-test",
"package": "vsce package",
"publish": "vsce publish"
},
"overrides": {
"diff": "^8.0.4",
"serialize-javascript": "^7.0.5"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
+5
View File
@@ -6,6 +6,11 @@
"lib": [
"ES2022"
],
"types": [
"mocha",
"node",
"vscode"
],
"sourceMap": true,
"rootDir": "src",
"strict": true, /* enable all strict type-checking options */