File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed
Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and 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
Original file line number Diff line number Diff line change 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" : {
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"
You can’t perform that action at this time.
0 commit comments