Skip to content

prepare for v1 release - #160

Merged
aspiers merged 2 commits into
developfrom
release
Mar 3, 2026
Merged

prepare for v1 release#160
aspiers merged 2 commits into
developfrom
release

Conversation

@aspiers

@aspiers aspiers commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Documentation

    • Updated publishing workflow guide with corrected command invocation instructions for the release process.
  • Chores

    • Updated prerelease configuration settings.

aspiers added 2 commits March 3, 2026 15:24
The command `npm changeset pre exit` in the diagram was incorrect and
would fail.

Also, npx guarantees to use the versions from package.json, so `npx
changeset` is fine and more convenient to type than `npm run changeset`.
Copilot AI review requested due to automatic review settings March 3, 2026 15:30
@changeset-bot

changeset-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9b03d54

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets
Name Type
@hypercerts-org/lexicon Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Mar 3, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8db63f1 and 9b03d54.

📒 Files selected for processing (2)
  • .changeset/pre.json
  • docs/PUBLISHING.md

📝 Walkthrough

Walkthrough

Updated the changeset pre-release mode from "pre" to "exit" in configuration, and replaced all npm-based changeset command invocations with npx-based equivalents throughout publishing documentation. No functional logic changes.

Changes

Cohort / File(s) Summary
Changeset Pre-release Configuration
.changeset/pre.json
Mode value updated from "pre" to "exit" to modify the pre-release exit behavior.
Publishing Documentation
docs/PUBLISHING.md
Command invocations changed from "npm run changeset" to "npx changeset" throughout release flow descriptions, prerequisite steps, and version management instructions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Exit from pre, npx takes the stage,
Release workflows turn a brand new page,
Config and docs dance in harmony,
Publishing flows as smooth as can be!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@aspiers
aspiers merged commit d7f0ca6 into develop Mar 3, 2026
6 of 7 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Prepares the repository for a v1/stable release by updating maintainer publishing guidance and marking the Changesets prerelease state as exited.

Changes:

  • Update publishing documentation to use npx changeset commands.
  • Set .changeset/pre.json prerelease mode to "exit".

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/PUBLISHING.md Updates the documented Changesets commands used during the release flow.
.changeset/pre.json Switches Changesets prerelease state from pre to exit to support stable release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/PUBLISHING.md
Comment on lines 75 to 77
```bash
npm run changeset
npx changeset
```

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

Docs now instruct running npx changeset / npx changeset pre exit, but the repo already exposes a changeset npm script (package.json) and the CI/workflows currently tell maintainers to run npm run changeset .... This inconsistency can confuse maintainers and lead to following the wrong instructions; either switch the docs back to npm run changeset or update the referenced workflows/messages to match npx changeset consistently.

Copilot uses AI. Check for mistakes.
Comment thread .changeset/pre.json
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

.changeset/pre.json is set to { "mode": "exit" }, but the PR-check/release workflows currently verify exit intent by grepping for "exit": true. With this file shape, merges to main will fail the check even though prerelease mode is exited. Update the workflow logic to check for "mode": "exit" (or adjust pre.json to the exact format the workflows expect) so CI and Changesets agree on the exit signal.

Suggested change
"mode": "exit",
"mode": "exit",
"exit": true,

Copilot uses AI. Check for mistakes.
Comment thread docs/PUBLISHING.md
Comment on lines 96 to 99
```bash
# On develop branch
npm run changeset pre exit
npx changeset pre exit
git add .changeset/pre.json

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

This section instructs npx changeset pre exit, but CI/workflows and other repo tooling currently reference npm run changeset pre exit as the canonical command. Consider aligning the docs with the existing npm script (or update the workflow messages/scripts for consistency) to avoid maintainers following conflicting instructions.

Copilot uses AI. Check for mistakes.
@aspiers
aspiers deleted the release branch March 3, 2026 18:06
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.

2 participants