Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .eslintrc.js

This file was deleted.

Binary file removed .github/assets/annotation.png
Binary file not shown.
Binary file removed .github/assets/annotations.png
Binary file not shown.
Binary file removed .github/assets/context-panel.png
Binary file not shown.
Binary file removed .github/assets/data_info.png
Binary file not shown.
Binary file removed .github/assets/discovery.png
Binary file not shown.
Binary file removed .github/assets/error_drilldown.png
Binary file not shown.
Binary file removed .github/assets/errors_tab.png
Binary file not shown.
Binary file removed .github/assets/insights_tab.png
Binary file not shown.
Binary file removed .github/assets/line-decoration.png
Binary file not shown.
Binary file removed .github/assets/method-decleration-codelens.png
Binary file not shown.
Binary file removed .github/assets/method-name-tooltip-2.png
Binary file not shown.
Binary file removed .github/assets/method-name-tooltip.png
Binary file not shown.
Binary file removed .github/assets/tooltip.png
Binary file not shown.
Binary file removed .github/assets/usage.png
Binary file not shown.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
25 changes: 0 additions & 25 deletions .github/workflows/compile.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/publish.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Lint & build

on:
push:
branches:
- "main"
- "next"
# Github Actions don't support YAML anchors yet, so we have to repeat
# the paths-ignore in both push and pull_request events.
# More info: https://github.com/actions/runner/issues/1182
paths-ignore:
- ".husky/**"
- ".vscode/**"
- "LICENSE"
- "README.md"
pull_request:
branches:
- "main"
- "next"
paths-ignore:
- ".husky/**"
- ".vscode/**"
- "LICENSE"
- "README.md"

jobs:
lint-build:
name: Lint & build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"

- run: npm ci

- run: npm run lint

- name: Build
id: build
uses: HaaLeo/publish-vscode-extension@v2
with:
dryRun: true
pat: "pat" # placeholder for dry run

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.vsixPath }}
path: ${{ steps.build.outputs.vsixPath }}
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Lint & build & publish

on:
push:
tags:
- "v*.*.*"

jobs:
lint-build-publish:
name: Lint & build & publish
runs-on: ubuntu-latest
permissions:
contents: write
actions: read
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"

- run: npm ci

- run: npm run lint

- name: Get version
id: version
run: echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT

- name: Bump version in package.json
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version

- name: Publish to Visual Studio Marketplace
id: publishToVSMarketplace
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com

- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.OVSX_TOKEN }}

- name: Attach release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.publishToVSMarketplace.outputs.vsixPath }}
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.vscode-test/
node_modules/
out/
.eslintcache
*.vsix

.DS_Store

.idea/
*.vsix
3 changes: 0 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run precommit
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
24
7 changes: 1 addition & 6 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
digmaUi/
jaegerUi/
out/
package.json
package-lock.json
src/views-ui/common/jquery-3.6.0.min.js
src/views-ui/common/require-2.3.6.min.js
*.md
package-lock.json
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"trailingComma": "none",
"tabWidth": 4
"trailingComma": "none",
"tabWidth": 2
}
1 change: 0 additions & 1 deletion .stylelintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .stylelintrc

This file was deleted.

17 changes: 8 additions & 9 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"davidanson.vscode-markdownlint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker"
]
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"davidanson.vscode-markdownlint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker"
]
}
39 changes: 11 additions & 28 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,15 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
Loading