Skip to content

Release 0.4.2: fix npm bin, publish via trusted publisher - #17

Merged
balwahidi merged 2 commits into
mainfrom
release/0.4.2
Sep 2, 2026
Merged

balwahidi merged 2 commits into
mainfrom
release/0.4.2

Conversation

@balwahidi

@balwahidi balwahidi commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner
  • package.json bin path 'tools/bootstrap.mjs' (npm 11.15 removed the './' form, leaving 0.4.1 without a bin)
  • publish.yml: OIDC trusted publishing, npm@latest on the runner, skip when the version already exists, no NPM_TOKEN
  • README: npx @skelvar/offcut install string; release step 4 describes the trusted publisher
  • tests/distribution.test.js: expect the accepted bin form

Devin Review

Co-authored-by: Cursor <cursoragent@cursor.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T18:26:28.902293Z 26f1aea PR opened
🔒 Security Review ✅ Completed 2026-09-02T18:28:38.050246Z 26f1aea PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26f1aea2de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated

Pin a version with `npx --yes github:skelvar/offcut#v0.4.0 scan --diff -`; marketplace installs accept the same tag as `--ref v0.4.0`.
The same command from npm: `git diff | npx --yes @skelvar/offcut scan --diff -`.
Pin a version with `npx --yes @skelvar/offcut@0.4.2` or `npx --yes github:skelvar/offcut#v0.4.2`; marketplace installs accept the same tag as `--ref v0.4.2`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the scan arguments in pinned examples

When a reader copies either version-pinned command from this “Try it” section, no scan --diff - arguments are passed, so tools/bootstrap.mjs takes its default branch and installs Offcut into the user's agent configurations instead of scanning the piped diff. Append the scan arguments to both pinned forms, as in the preceding examples.

Useful? React with 👍 / 👎.

Co-authored-by: Cursor <cursoragent@cursor.com>
@balwahidi
balwahidi merged commit 6bcf77b into main Sep 2, 2026
7 of 8 checks passed
@balwahidi
balwahidi deleted the release/0.4.2 branch September 2, 2026 18:31
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