Skip to content

Commit f25ce81

Browse files
committed
Merge develop into main for v0.2.0 release
2 parents 3e35493 + 50df348 commit f25ce81

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish to npm
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
id-token: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
registry-url: 'https://registry.npmjs.org'
25+
26+
- name: Publish to npm
27+
run: npm publish --provenance --access public
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.0] - 2025-03-04
9+
10+
### Added
11+
- GitHub Actions workflow for automatic npm publishing on version tags
12+
- `files` array in package.json for explicit publish contents
13+
- npm provenance support for supply chain security
14+
815
## [0.1.0] - 2025-03-04
916

1017
### Added

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@techdivision/opencode-cli",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "CLI tools for OpenCode plugin management",
55
"type": "module",
66
"bin": {
@@ -20,6 +20,10 @@
2020
"import": "./lib/schema.js"
2121
}
2222
},
23+
"files": [
24+
"bin/",
25+
"lib/"
26+
],
2327
"repository": {
2428
"type": "git",
2529
"url": "https://github.com/techdivision/opencode-cli.git"

0 commit comments

Comments
 (0)