Skip to content

Commit 0da3ad7

Browse files
First commit
0 parents  commit 0da3ad7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+14343
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "daily"

.github/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
changelog:
2+
categories:
3+
- title: ✨ Features
4+
labels:
5+
- feature
6+
- title: 🌱 Improvement
7+
labels:
8+
- improvement
9+
- title: 🐛 Bug fixes
10+
labels:
11+
- bugfix
12+
- title: 📖 Documentation
13+
labels:
14+
- documentation
15+
- title: 🔨 Dependencies
16+
labels:
17+
- dependencies
18+
- title: Misc
19+
labels:
20+
- '*'
21+
exclude:
22+
labels:
23+
- feature
24+
- improvement
25+
- bugfix
26+
- documentation
27+
- dependencies
28+
- cleanup

.github/workflows/release.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish release on Marketplace
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
release:
10+
strategy:
11+
matrix:
12+
os: [macos-latest, ubuntu-latest, windows-latest]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Install Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version-file: .tool-versions
21+
- run: npm install
22+
- run: xvfb-run -a npm test
23+
if: runner.os == 'Linux'
24+
- run: npm test
25+
if: runner.os != 'Linux'
26+
- name: Publish on Marketplace
27+
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
28+
run: npm run deploy
29+
env:
30+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

.github/workflows/tests.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Tests and build
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: 'ubuntu-latest'
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Install Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version-file: .tool-versions
20+
- run: npm install
21+
- run: npm run lint
22+
test:
23+
name: Test
24+
strategy:
25+
matrix:
26+
os: [macos-latest, ubuntu-latest, windows-latest]
27+
runs-on: ${{ matrix.os }}
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
- name: Install Node.js
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version-file: .tool-versions
35+
- run: npm install
36+
- run: xvfb-run -a npm test
37+
if: runner.os == 'Linux'
38+
- run: npm test
39+
if: runner.os != 'Linux'
40+
build:
41+
name: Build
42+
runs-on: 'ubuntu-latest'
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@v4
46+
- name: Install Node.js
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version-file: .tool-versions
50+
- run: npm install
51+
- run: npm run package

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
out
3+
dist
4+
node_modules
5+
.vscode-test/
6+
*.vsix
7+
coverage/

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 22.18.0

.vscode-test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli'
2+
3+
export default defineConfig({
4+
files: 'out/**/__tests__/**/*.test.js'
5+
});

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "connor4312.esbuild-problem-matchers", "ms-vscode.extension-test-runner"]
5+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
],
15+
"outFiles": [
16+
"${workspaceFolder}/dist/**/*.js"
17+
],
18+
"preLaunchTask": "${defaultBuildTask}"
19+
}
20+
]
21+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off"
13+
}

0 commit comments

Comments
 (0)