Skip to content

Commit 560ae71

Browse files
authored
chore: update dependencies and fix formatting (#84)
- Update package-lock.json with latest dependency versions - Run prettier to fix formatting issues
1 parent 121c228 commit 560ae71

6 files changed

Lines changed: 71 additions & 54 deletions

File tree

.commitlintrc.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ extends:
77
rules:
88
# Type enum - allowed commit types
99
type-enum:
10-
- 2 # Level: error
10+
- 2 # Level: error
1111
- always
1212
- # Allowed types:
13-
- feat # New feature
14-
- fix # Bug fix
15-
- docs # Documentation only changes
16-
- style # Code style changes (formatting, missing semi-colons, etc)
17-
- refactor # Code refactoring (neither fixes a bug nor adds a feature)
18-
- perf # Performance improvements
19-
- test # Adding or updating tests
20-
- build # Changes to build system or dependencies
21-
- ci # CI/CD configuration changes
22-
- chore # Other changes that don't modify src or test files
23-
- revert # Revert a previous commit
13+
- feat # New feature
14+
- fix # Bug fix
15+
- docs # Documentation only changes
16+
- style # Code style changes (formatting, missing semi-colons, etc)
17+
- refactor # Code refactoring (neither fixes a bug nor adds a feature)
18+
- perf # Performance improvements
19+
- test # Adding or updating tests
20+
- build # Changes to build system or dependencies
21+
- ci # CI/CD configuration changes
22+
- chore # Other changes that don't modify src or test files
23+
- revert # Revert a previous commit
2424

2525
# Type case should be lowercase
2626
type-case:
@@ -62,17 +62,17 @@ rules:
6262

6363
# Body should have a blank line before it
6464
body-leading-blank:
65-
- 1 # Warning level
65+
- 1 # Warning level
6666
- always
6767

6868
# Footer should have a blank line before it
6969
footer-leading-blank:
70-
- 1 # Warning level
70+
- 1 # Warning level
7171
- always
7272

7373
# Body max line length
7474
body-max-line-length:
75-
- 1 # Warning level
75+
- 1 # Warning level
7676
- always
7777
- 100
7878

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Checkout code
4040
uses: actions/checkout@v4
4141
with:
42-
fetch-depth: 0 # Fetch all history for all branches and tags
42+
fetch-depth: 0 # Fetch all history for all branches and tags
4343

4444
- name: Setup Node.js
4545
uses: actions/setup-node@v4

.github/workflows/preview-changelog.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
needs: generate
1818

1919
steps:
20-
- name: Display changelog preview
21-
run: |
22-
echo "=========================================="
23-
echo "CHANGELOG PREVIEW"
24-
echo "=========================================="
25-
echo ""
26-
echo "${{ needs.generate.outputs.changelog }}"
27-
shell: bash
20+
- name: Display changelog preview
21+
run: |
22+
echo "=========================================="
23+
echo "CHANGELOG PREVIEW"
24+
echo "=========================================="
25+
echo ""
26+
echo "${{ needs.generate.outputs.changelog }}"
27+
shell: bash

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
#github #githubactions #devops #automation
7474
embed_url: https://github.com/marketplace/actions/visual-studio-marketplace-publisher
7575
embed_title: Visual Studio Marketplace Publisher
76-
embed_description: Publish your Visual Studio extensions to the marketplace with ease!
76+
embed_description:
77+
Publish your Visual Studio extensions to the marketplace with ease!
7778
secrets:
7879
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
7980
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
@@ -93,7 +94,8 @@ jobs:
9394
#github #githubactions #devops #automation
9495
article_url: https://github.com/marketplace/actions/visual-studio-marketplace-publisher
9596
article_title: Visual Studio Marketplace Publisher
96-
article_description: Publish your Visual Studio extensions to the marketplace with ease!
97+
article_description:
98+
Publish your Visual Studio extensions to the marketplace with ease!
9799
secrets:
98100
LINKEDIN_ACCESS_TOKEN: ${{ secrets.LINKEDIN_ACCESS_TOKEN }}
99101
LINKEDIN_CLIENT_ID: ${{ secrets.LINKEDIN_CLIENT_ID }}

CLAUDE.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
# CLAUDE.md
22

3-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
3+
This file provides guidance to Claude Code (claude.ai/code) when working with
4+
code in this repository.
45

56
## Critical Rules
67

78
**These rules override all other instructions:**
89

9-
1. **NEVER commit directly to main** - Always create a feature branch and submit a pull request
10+
1. **NEVER commit directly to main** - Always create a feature branch and submit
11+
a pull request
1012
2. **Conventional commits** - Format: `type(scope): description`
11-
3. **GitHub Issues for TODOs** - Use `gh` CLI to manage issues, no local TODO files. Use conventional commit format for issue titles
13+
3. **GitHub Issues for TODOs** - Use `gh` CLI to manage issues, no local TODO
14+
files. Use conventional commit format for issue titles
1215
4. **Pull Request titles** - Use conventional commit format (same as commits)
13-
5. **Branch naming** - Use format: `type/scope/short-description` (e.g., `feat/action/new-input`)
16+
5. **Branch naming** - Use format: `type/scope/short-description` (e.g.,
17+
`feat/action/new-input`)
1418
6. **Working an issue** - Always create a new branch from an updated main branch
15-
7. **Check branch status before pushing** - Verify the remote tracking branch still exists. If a PR was merged/deleted, create a new branch from main instead
16-
8. **No co-authors** - Do not add co-author information on commits or pull requests
17-
9. **No "generated by" statements** - Do not add generated-by statements on pull requests
19+
7. **Check branch status before pushing** - Verify the remote tracking branch
20+
still exists. If a PR was merged/deleted, create a new branch from main
21+
instead
22+
8. **No co-authors** - Do not add co-author information on commits or pull
23+
requests
24+
9. **No "generated by" statements** - Do not add generated-by statements on pull
25+
requests
1826

1927
---
2028

@@ -29,22 +37,23 @@ gh issue close <number>
2937

3038
### Conventional Commit Types
3139

32-
| Type | Description |
33-
|------|-------------|
34-
| `feat` | New feature |
35-
| `fix` | Bug fix |
36-
| `docs` | Documentation only |
40+
| Type | Description |
41+
| ---------- | ------------------------------------------------------- |
42+
| `feat` | New feature |
43+
| `fix` | Bug fix |
44+
| `docs` | Documentation only |
3745
| `refactor` | Code change that neither fixes a bug nor adds a feature |
38-
| `test` | Adding or updating tests |
39-
| `chore` | Maintenance tasks |
40-
| `perf` | Performance improvement |
41-
| `ci` | CI/CD changes |
46+
| `test` | Adding or updating tests |
47+
| `chore` | Maintenance tasks |
48+
| `perf` | Performance improvement |
49+
| `ci` | CI/CD changes |
4250

4351
---
4452

4553
## Project Overview
4654

47-
GitHub Action to publish Visual Studio extensions to the Visual Studio Marketplace. This action only runs on Windows-based runners.
55+
GitHub Action to publish Visual Studio extensions to the Visual Studio
56+
Marketplace. This action only runs on Windows-based runners.
4857

4958
## Commands
5059

@@ -70,12 +79,14 @@ npm run bundle # Format + package
7079
This is a single-file TypeScript GitHub Action:
7180

7281
- `src/index.ts` - The entire action logic:
82+
7383
1. Validates Windows platform requirement
7484
2. Resolves paths for publish manifest and VSIX file
7585
3. Locates Visual Studio installation via `vswhere.exe`
7686
4. Runs `VsixPublisher.exe` to publish the extension
7787

78-
- `action.yml` - Action metadata defining inputs (`marketplace-pat`, `publish-manifest-path`, `vsix-path`, `vs-version`, `vs-prerelease`)
88+
- `action.yml` - Action metadata defining inputs (`marketplace-pat`,
89+
`publish-manifest-path`, `vsix-path`, `vs-version`, `vs-prerelease`)
7990
- `dist/index.js` - Bundled output (committed, built with `@vercel/ncc`)
8091
- `__tests__/index.test.ts` - Jest tests
8192

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@
66

77
📦 Publish your Visual Studio extensions to the marketplace with ease!
88

9-
This GitHub Action publishes your Visual Studio extension (.vsix) to the Visual Studio Marketplace.
9+
This GitHub Action publishes your Visual Studio extension (.vsix) to the Visual
10+
Studio Marketplace.
1011

1112
## 🚀 Usage
1213

13-
You can use the Visual Studio Marketplace Publisher GitHub Action by configuring a YAML-based workflow file, e.g. `.github/workflows/deploy.yml`.
14+
You can use the Visual Studio Marketplace Publisher GitHub Action by configuring
15+
a YAML-based workflow file, e.g. `.github/workflows/deploy.yml`.
1416

1517
> ⚠️ **Note:** This action only works on a Windows-based runner.
1618
1719
## 📥 Inputs
1820

19-
| Input | Required | Description |
20-
|-------|----------|-------------|
21-
| `marketplace-pat` | Yes | Your Personal Access Token for the Visual Studio Marketplace |
22-
| `publish-manifest-path` | Yes | Path to your publish manifest (JSON file) |
23-
| `vsix-path` | Yes | Path to the local VSIX package to publish |
24-
| `vs-version` | No | Version of Visual Studio tooling to use (default: `latest`) |
25-
| `vs-prerelease` | No | Allow pre-release Visual Studio tooling (default: `false`) |
21+
| Input | Required | Description |
22+
| ----------------------- | -------- | ------------------------------------------------------------ |
23+
| `marketplace-pat` | Yes | Your Personal Access Token for the Visual Studio Marketplace |
24+
| `publish-manifest-path` | Yes | Path to your publish manifest (JSON file) |
25+
| `vsix-path` | Yes | Path to the local VSIX package to publish |
26+
| `vs-version` | No | Version of Visual Studio tooling to use (default: `latest`) |
27+
| `vs-prerelease` | No | Allow pre-release Visual Studio tooling (default: `false`) |
2628

2729
## 📋 Example
2830

@@ -49,7 +51,9 @@ steps:
4951
## 👥 Contributors
5052
5153
<!-- readme: contributors -start -->
52-
[![CalvinAllen](https://avatars.githubusercontent.com/u/41448698?v=4&s=64)](https://github.com/CalvinAllen)
54+
55+
[![CalvinAllen](https://avatars.githubusercontent.com/u/41448698?v=4&s=64)](https://github.com/CalvinAllen)
56+
5357
<!-- readme: contributors -end -->
5458
5559
## 📄 License

0 commit comments

Comments
 (0)