Skip to content

Commit f950c90

Browse files
authored
chore: update dependencies and fix formatting (#36)
- Update package-lock.json with latest dependency versions - Run prettier to fix formatting issues
1 parent 172db56 commit f950c90

File tree

7 files changed

+285
-226
lines changed

7 files changed

+285
-226
lines changed

.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/jetbrains-marketplace-publisher
7575
embed_title: JetBrains Marketplace Publisher
76-
embed_description: Publish your JetBrains plugins to the marketplace with ease!
76+
embed_description:
77+
Publish your JetBrains plugins 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/jetbrains-marketplace-publisher
9596
article_title: JetBrains Marketplace Publisher
96-
article_description: Publish your JetBrains plugins to the marketplace with ease!
97+
article_description:
98+
Publish your JetBrains plugins 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: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
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
## Project Overview
2028

21-
This is a GitHub Action that publishes JetBrains plugins to the JetBrains Marketplace. It's a TypeScript-based action that uses the JetBrains Plugin Repository API to upload plugin ZIP files.
29+
This is a GitHub Action that publishes JetBrains plugins to the JetBrains
30+
Marketplace. It's a TypeScript-based action that uses the JetBrains Plugin
31+
Repository API to upload plugin ZIP files.
2232

2333
## Common Commands
2434

@@ -47,12 +57,17 @@ npm run all
4757

4858
## Architecture
4959

50-
**Single-file action**: The action entry point is `src/index.ts`, which is bundled to `dist/index.js` using `@vercel/ncc`. The action:
51-
1. Reads inputs via `@actions/core` (marketplace PAT, archive path, plugin ID, channel, etc.)
60+
**Single-file action**: The action entry point is `src/index.ts`, which is
61+
bundled to `dist/index.js` using `@vercel/ncc`. The action:
62+
63+
1. Reads inputs via `@actions/core` (marketplace PAT, archive path, plugin ID,
64+
channel, etc.)
5265
2. Validates the ZIP file exists
53-
3. Uploads to `https://plugins.jetbrains.com/plugin/uploadPlugin` via multipart form POST
66+
3. Uploads to `https://plugins.jetbrains.com/plugin/uploadPlugin` via multipart
67+
form POST
5468

55-
**Action configuration**: `action.yml` defines the action metadata and inputs. The action runs on Node 20.
69+
**Action configuration**: `action.yml` defines the action metadata and inputs.
70+
The action runs on Node 20.
5671

5772
**Tests**: Located in `__tests__/` directory, using Jest with ts-jest preset.
5873

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,24 @@
66

77
🚀 Publish your JetBrains plugins to the marketplace with ease!
88

9-
This GitHub Action publishes your JetBrains plugin (ZIP archive) to the JetBrains Marketplace.
9+
This GitHub Action publishes your JetBrains plugin (ZIP archive) to the
10+
JetBrains Marketplace.
1011

1112
## 🚀 Usage
1213

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

1517
## 📥 Inputs
1618

17-
| Input | Required | Description |
18-
|-------|----------|-------------|
19-
| `marketplace-pat` | Yes | Your Personal Access Token for the JetBrains Marketplace |
20-
| `archive-path` | Yes | Path to the local ZIP package to publish |
21-
| `plugin-id` | No* | Plugin ID from the JetBrains Marketplace URL |
22-
| `plugin-xml-id` | No* | Unique identifier from the `<id>` tag in plugin.xml |
23-
| `channel` | No | Channel to publish to (default: `stable`) |
24-
| `is-hidden` | No | Make the update hidden after approval (default: `false`) |
19+
| Input | Required | Description |
20+
| ----------------- | -------- | -------------------------------------------------------- |
21+
| `marketplace-pat` | Yes | Your Personal Access Token for the JetBrains Marketplace |
22+
| `archive-path` | Yes | Path to the local ZIP package to publish |
23+
| `plugin-id` | No\* | Plugin ID from the JetBrains Marketplace URL |
24+
| `plugin-xml-id` | No\* | Unique identifier from the `<id>` tag in plugin.xml |
25+
| `channel` | No | Channel to publish to (default: `stable`) |
26+
| `is-hidden` | No | Make the update hidden after approval (default: `false`) |
2527

2628
> ⚠️ **Note:** One of `plugin-id` or `plugin-xml-id` is required, but not both.
2729
@@ -52,7 +54,9 @@ steps:
5254
## 👥 Contributors
5355
5456
<!-- readme: contributors -start -->
55-
[![CalvinAllen](https://avatars.githubusercontent.com/u/41448698?v=4&s=64)](https://github.com/CalvinAllen)
57+
58+
[![CalvinAllen](https://avatars.githubusercontent.com/u/41448698?v=4&s=64)](https://github.com/CalvinAllen)
59+
5660
<!-- readme: contributors -end -->
5761
5862
## 📄 License

0 commit comments

Comments
 (0)