Skip to content

feat(cli): publish @brika/icon-studio + OIDC release pipeline - #1

Merged
maxscharwath merged 4 commits into
mainfrom
feat/publish-icon-studio-cli
Jun 13, 2026
Merged

feat(cli): publish @brika/icon-studio + OIDC release pipeline#1
maxscharwath merged 4 commits into
mainfrom
feat/publish-icon-studio-cli

Conversation

@maxscharwath

Copy link
Copy Markdown
Contributor

Summary

Makes the CLI a published npm package and wires up automated, tokenless releases.

  • Rename the trademarked raycast gradient preset → iris (colors unchanged; favicon unaffected)
  • @brika/icon-studio — un-private'd, full publish metadata, bundled to a Node-compatible dist via bun build (code-split brand chunk, #!/usr/bin/env node), zero runtime deps; package README + LICENSE
  • Changelog via changelogen + seeded CHANGELOG.md; root changelog/release scripts
  • CI/CD: release.yml publishes to npm on v* tags via Trusted Publishing (OIDC) — no token, auto provenance; ci.yml also builds the publishable bundle on every PR
  • .gitignore now ignores .npmrc

Status

  • @brika/icon-studio@0.1.0 already published (manual bootstrap) and verified: clean install links brika-icon, runs under Node
  • ✅ typecheck / lint / 70 tests green
  • OIDC trusted publisher configured on npm → future releases are bun run release + git push --follow-tags

Note: 0.1.0 already exists on npm, so let OIDC start at 0.2.0 (don't push a v0.1.0 tag).

…reset)

- rename CLI package @brika/icon-studio-cli -> @brika/icon-studio, un-private
- bundle to a Node-compatible dist via `bun build` (code-split brand chunk,
  node shebang); zero runtime deps, runs under plain node >=18
- add package README + LICENSE, publish metadata, prepack build step
- rename the trademarked "raycast" gradient preset -> "iris"
- add changelogen + seeded CHANGELOG.md and root changelog/release scripts
- release.yml: on `v*` tag, install + typecheck + test, then `bun publish`
  to npm (auth via NPM_TOKEN secret) and cut a GitHub Release
- ci.yml: also build the publishable CLI bundle on every push/PR
Tokenless, short-lived OIDC credential with automatic provenance. The publish
step uses npm (bun publish has no OIDC support); prepack still builds via bun.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
icon-studio 22ce41e Jun 13 2026, 10:28 PM

@maxscharwath
maxscharwath merged commit 3d00507 into main Jun 13, 2026
2 checks passed
@maxscharwath
maxscharwath deleted the feat/publish-icon-studio-cli branch June 13, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant