mirror of
https://github.com/Heretek-AI/claude-4-opencode.git
synced 2026-10-12 02:03:28 +00:00
chore(release): 0.1.0, MIT license, OIDC trusted-publishing workflow
- version 0.0.1 -> 0.1.0, license MIT - release.yml on v* tags with id-token:write, pinned actions
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
name: Release
|
||||
|
||||
# Publishes to npm via OIDC trusted publishing (no long-lived tokens).
|
||||
# First publish is done locally; afterwards, pushing a `v*` tag releases.
|
||||
# npmjs.com → package Settings → Trusted Publisher must list:
|
||||
# org/user: Heretek-AI, repo: claude-4-opencode, workflow: release.yml
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
id-token: write # Required for npm OIDC
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
|
||||
with:
|
||||
bun-version: 1.4.2
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
|
||||
with:
|
||||
node-version: 24
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
package-manager-cache: false # never use caching in release builds
|
||||
- run: bun install --frozen-lockfile
|
||||
- run: bun run format:check
|
||||
- run: bun run typecheck
|
||||
- run: bun run test
|
||||
- run: bun run build
|
||||
# Provenance is automatic with trusted publishing; no --provenance flag needed.
|
||||
# No NODE_AUTH_TOKEN: authentication comes from the OIDC id-token.
|
||||
- run: npm publish --access public
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Heretek-AI
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "claude-4-opencode",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0",
|
||||
"description": "Run Claude Code plugins and marketplaces on opencode v2",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user