Fix: Run extension as UI extension
This commit is contained in:
@@ -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
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Generated
+533
-610
File diff suppressed because it is too large
Load Diff
+17
-3
@@ -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,7 +45,13 @@
|
||||
"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",
|
||||
|
||||
@@ -6,6 +6,11 @@
|
||||
"lib": [
|
||||
"ES2022"
|
||||
],
|
||||
"types": [
|
||||
"mocha",
|
||||
"node",
|
||||
"vscode"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
"strict": true, /* enable all strict type-checking options */
|
||||
|
||||
Reference in New Issue
Block a user