Skip to content

Commit 0514449

Browse files
committed
fix(release): scope npm package and drop calver
Switch publishing to @Smart-Coders-HQ scope and simplify release back to standard semver so publishing works with org-owned npm credentials.
1 parent bac7714 commit 0514449

File tree

6 files changed

+8
-44
lines changed

6 files changed

+8
-44
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: Install dependencies
4343
run: bun install
4444

45+
- name: Build
46+
run: bun run build
47+
4548
- name: Release
4649
run: bun run release
4750
env:

.releaserc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"plugins": [
55
"@semantic-release/commit-analyzer",
66
"@semantic-release/release-notes-generator",
7-
"./release/calver.cjs",
87
[
98
"@semantic-release/changelog",
109
{

Implementation.plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This plugin fills the gap with per-agent ordered fallback chains, a health state
2525

2626
```
2727
opencode-model-fallback/
28-
├── package.json # name: opencode-model-fallback
28+
├── package.json # name: @smart-coders-hq/opencode-model-fallback
2929
├── tsconfig.json # ES2022, ESNext modules
3030
├── index.ts # Re-exports createPlugin from src/plugin.ts
3131
├── biome.json # Biome lint/format configuration

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Add to the `plugin` array in your `~/.config/opencode/opencode.jsonc`:
1818
{
1919
"plugin": [
2020
// ... existing plugins
21-
"opencode-model-fallback",
21+
"@smart-coders-hq/opencode-model-fallback",
2222
],
2323
}
2424
```
@@ -215,6 +215,7 @@ Key log events: `plugin.init`, `retry.detected`, `fallback.success`, `fallback.e
215215
- Uses **Conventional Commits** + `semantic-release` for automated versioning/changelog/release notes
216216
- CI runs lint, tests, type check, and build on every push/PR via `.github/workflows/ci.yml`
217217
- Release workflow runs on `main` after successful CI via `.github/workflows/release.yml`
218+
- Published as `@smart-coders-hq/opencode-model-fallback`
218219
- To publish to npm, set repository secret `NPM_TOKEN`
219220

220221
## Development

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "opencode-model-fallback",
3-
"version": "1.1.1",
2+
"name": "@smart-coders-hq/opencode-model-fallback",
3+
"version": "0.1.0",
44
"description": "Ordered model fallback chains with health tracking for OpenCode",
55
"type": "module",
66
"main": "dist/index.js",

release/calver.cjs

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)