-
Notifications
You must be signed in to change notification settings - Fork 0
Dev #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dev #14
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
dd491e7
feat: update release workflow and package configurations
BleckWolf25 2e81749
feat: update CI and release workflows to use latest actions and Node.…
BleckWolf25 705e9ed
Refactor code structure for improved readability and maintainability
BleckWolf25 76ab846
Merge branch 'main' into dev
BleckWolf25 577a333
hotfix: fixed dependencies issues.
BleckWolf25 974efa8
Merge branch 'main' into dev
BleckWolf25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,76 @@ | ||
| name: Continuous Integration | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build_and_lint: | ||
| name: Build & Lint Check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
|
|
||
| uses: actions/checkout@v7 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v6 | ||
| with: | ||
| version: 9.15.0 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - name: Install Dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Run Linter | ||
| run: pnpm run lint | ||
|
|
||
| - name: Compile and Build Webview | ||
| run: pnpm run compile | ||
| name: Continuous Integration | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
|
|
||
| jobs: | ||
| build_and_lint: | ||
| name: Build & Lint Check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
|
|
||
| uses: actions/checkout@v7 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v6 | ||
| with: | ||
| version: 9.15.0 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - name: Install Dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Run Linter | ||
| run: pnpm run lint | ||
|
|
||
| - name: Compile and Build Webview | ||
| run: pnpm run compile | ||
|
|
||
| name: Continuous Integration | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build_and_lint: | ||
| name: Build & Lint Check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
|
|
||
| uses: actions/checkout@v7 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v6 | ||
| with: | ||
| version: 9.15.0 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - name: Install Dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Run Linter | ||
| run: pnpm run lint | ||
|
|
||
| - name: Compile and Build Webview | ||
| run: pnpm run compile | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,76 +1,76 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Package & Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
|
|
||
| uses: actions/checkout@v7 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v6 | ||
| with: | ||
| version: 9.15.0 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - name: Install Dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Compile and Build Webview | ||
| run: pnpm run compile | ||
|
|
||
| - name: Package Extension | ||
| run: npx @vscode/vsce package --no-dependencies | ||
|
|
||
| - name: Extract Release Notes from CHANGELOG.md | ||
| id: extract_notes | ||
| run: | | ||
| VERSION=${GITHUB_REF#refs/tags/v} | ||
| echo "Extracting release notes for version $VERSION" | ||
|
|
||
| # Match lines starting from ## [VERSION] or ## VERSION until the next ## header | ||
| sed -n "/## \[\{0,1\}$VERSION\]\{0,1\}/,/## /p" CHANGELOG.md | grep -v '## ' > release_notes.md | ||
|
|
||
| if [ ! -s release_notes.md ]; then | ||
| echo "No release notes found for version $VERSION in CHANGELOG.md. Using fallback." | ||
| echo "Release version $VERSION" > release_notes.md | ||
| fi | ||
|
|
||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v3 | ||
| with: | ||
| body_path: release_notes.md | ||
| files: | | ||
| *.vsix | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Publish to VS Code Marketplace | ||
| env: | ||
| VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
| run: | | ||
| if [ -n "$VSCE_PAT" ]; then | ||
| PACKAGE_FILE=$(ls *.vsix | head -n 1) | ||
| if [ -n "$PACKAGE_FILE" ]; then | ||
| npx @vscode/vsce publish --pat "$VSCE_PAT" --packagePath "$PACKAGE_FILE" --no-dependencies | ||
| else | ||
| echo "No VSIX package found; skipping Marketplace publish." | ||
| fi | ||
| else | ||
| echo "VSCE_PAT not set; skipping Marketplace publish." | ||
| fi | ||
| name: Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| release: | ||
| name: Package & Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v7 | ||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v6 | ||
| with: | ||
| version: 9.15.0 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
| - name: Install Dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Compile and Build Webview | ||
| run: pnpm run compile | ||
| - name: Package Extension | ||
| run: npx @vscode/vsce package --no-dependencies | ||
| - name: Extract Release Notes from CHANGELOG.md | ||
| id: extract_notes | ||
| run: | | ||
| VERSION=${GITHUB_REF#refs/tags/v} | ||
| echo "Extracting release notes for version $VERSION" | ||
| # Match lines starting from ## [VERSION] or ## VERSION until the next ## header | ||
| sed -n "/## \[\{0,1\}$VERSION\]\{0,1\}/,/## /p" CHANGELOG.md | grep -v '## ' > release_notes.md | ||
| if [ ! -s release_notes.md ]; then | ||
| echo "No release notes found for version $VERSION in CHANGELOG.md. Using fallback." | ||
| echo "Release version $VERSION" > release_notes.md | ||
| fi | ||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v3 | ||
| with: | ||
| body_path: release_notes.md | ||
| files: | | ||
| *.vsix | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Publish to VS Code Marketplace | ||
| env: | ||
| VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
| run: | | ||
| if [ -n "$VSCE_PAT" ]; then | ||
| PACKAGE_FILE=$(ls *.vsix | head -n 1) | ||
| if [ -n "$PACKAGE_FILE" ]; then | ||
| npx @vscode/vsce publish --pat "$VSCE_PAT" --packagePath "$PACKAGE_FILE" --no-dependencies | ||
| else | ||
| echo "No VSIX package found; skipping Marketplace publish." | ||
| fi | ||
| else | ||
| echo "VSCE_PAT not set; skipping Marketplace publish." | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,36 @@ | ||
| .vscode/** | ||
| .vscode-test/** | ||
| src/** | ||
| scripts/** | ||
| .gitignore | ||
| .yarnrc | ||
| .npmrc | ||
| vsc-extension-quickstart.md | ||
| **/tsconfig.json | ||
| **/eslint.config.mjs | ||
| **/*.map | ||
| **/*.ts | ||
| **/.vscode-test.* | ||
|
|
||
| # Exclude ALL node_modules — runtime deps are in deps/ | ||
| node_modules/** | ||
|
|
||
| # Strip unnecessary files from deps/ to keep the VSIX small | ||
| deps/**/*.map | ||
| deps/**/binding.gyp | ||
| deps/**/Makefile | ||
| deps/**/*.cc | ||
| deps/**/*.c | ||
| deps/**/*.h | ||
| deps/**/*.o | ||
| deps/**/*.node | ||
| deps/**/*.target.mk | ||
| deps/**/build/** | ||
| deps/**/prebuilds/** | ||
| deps/**/src/** | ||
| deps/**/.npmignore | ||
| deps/**/.eslintrc* | ||
| deps/**/.travis.yml | ||
| deps/**/test/** | ||
| deps/**/tests/** | ||
| deps/**/examples/** | ||
| deps/**/docs/** | ||
| deps/**/doc/** |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.