Skip to content

Commit eaec268

Browse files
mtorpjdalton
andauthored
Coana 14.12.173 (#1061)
* upgrading coana to version 14.12.173 * add bump-coana Claude command * use user-invocable skill instead of command --------- Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
1 parent b981da5 commit eaec268

File tree

4 files changed

+89
-7
lines changed

4 files changed

+89
-7
lines changed

.claude/skills/bump-coana.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
description: Bump @coana-tech/cli to a new version, update changelog, and create a PR
3+
allowed-tools: Read, Edit, Write, Bash, Glob
4+
---
5+
6+
# Bump Coana CLI Version
7+
8+
Automates the process of upgrading the @coana-tech/cli dependency to a new version.
9+
10+
## Usage
11+
12+
```
13+
/bump-coana <version>
14+
```
15+
16+
Where `<version>` is the Coana version number (e.g., `14.12.173`).
17+
18+
## Instructions
19+
20+
When this command is invoked with a version argument ($ARGUMENTS), perform the following steps:
21+
22+
### 1. Validate Input
23+
- Extract the version from $ARGUMENTS (e.g., "14.12.173").
24+
- If no version is provided, ask the user for the Coana version to upgrade to.
25+
26+
### 2. Update package.json
27+
- Read `package.json` in the repository root.
28+
- Find the current `@coana-tech/cli` version in devDependencies and note it for the PR body.
29+
- Update the `@coana-tech/cli` version to the provided version.
30+
- Bump the patch version of the package (e.g., `1.1.59` becomes `1.1.60`).
31+
- Write the updated package.json.
32+
33+
### 3. Update CHANGELOG.md
34+
- Read `CHANGELOG.md` in the repository root.
35+
- Add a new version entry at the top (after the header section that ends with "The format is based on..."), using today's date in YYYY-MM-DD format.
36+
- The new version should match the bumped package.json version.
37+
- Use this exact format for the new entry:
38+
39+
```markdown
40+
## [NEW_VERSION](https://github.com/SocketDev/socket-cli/releases/tag/vNEW_VERSION) - YYYY-MM-DD
41+
42+
### Changed
43+
- Updated the Coana CLI to v `COANA_VERSION`.
44+
45+
```
46+
47+
Note: Include the blank line after the changelog entry.
48+
49+
### 4. Update Lock File
50+
- Run `pnpm install` to update pnpm-lock.yaml with the new dependency version.
51+
52+
### 5. Create Branch and Commit
53+
- Create a new branch named `coana-COANA_VERSION` (e.g., `coana-14.12.173`) from the current branch.
54+
- Stage the changes: package.json, CHANGELOG.md, and pnpm-lock.yaml.
55+
- Create a commit with the message: `upgrading coana to version COANA_VERSION`.
56+
- Use the `-n` flag to skip pre-commit hooks.
57+
58+
### 6. Push and Create PR
59+
- Push the branch to origin with `-u` flag.
60+
- Create a PR using `gh pr create` targeting the `v1.x` branch with:
61+
- Title: `upgrading coana to version COANA_VERSION`
62+
- Body using the format below.
63+
64+
Use this PR body format (use a HEREDOC for proper formatting):
65+
```
66+
## Summary
67+
- Upgrades @coana-tech/cli from CURRENT_VERSION to COANA_VERSION
68+
69+
## Coana Changelog
70+
For details on what's included in this Coana release, see the [Coana Changelogs](https://docs.coana.tech/changelogs).
71+
```
72+
73+
Replace CURRENT_VERSION with the old version found in step 2, and COANA_VERSION with the new version.
74+
75+
### Important Notes
76+
- Do NOT add any AI/Claude co-authorship or attribution to the commit message or PR.
77+
- Do NOT include "Generated with Claude Code" or similar text anywhere.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.1.60](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.60) - 2026-01-28
8+
9+
### Changed
10+
- Updated the Coana CLI to v `14.12.173`.
11+
712
## [1.1.59](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.59) - 2026-01-19
813

914
### Changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket",
3-
"version": "1.1.59",
3+
"version": "1.1.60",
44
"description": "CLI for Socket.dev",
55
"homepage": "https://github.com/SocketDev/socket-cli",
66
"license": "MIT AND OFL-1.1",
@@ -94,7 +94,7 @@
9494
"@babel/preset-typescript": "7.27.1",
9595
"@babel/runtime": "7.28.4",
9696
"@biomejs/biome": "2.2.4",
97-
"@coana-tech/cli": "14.12.162",
97+
"@coana-tech/cli": "14.12.173",
9898
"@cyclonedx/cdxgen": "11.11.0",
9999
"@dotenvx/dotenvx": "1.49.0",
100100
"@eslint/compat": "1.3.2",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)