Skip to content

Conversation

@CiaranMn
Copy link
Member

🌟 What is the purpose of this PR?

Some fixes which will allow us to merge #8255 when we choose to, and publish public JS packages:

  1. Change a Petrinaut version bump from minor to patch (at this early < 1.0.0 stage we'll just keep patching until something seems significant enough for a minor, by some fuzzy criteria TBC)
  2. Set @hashintel/ds-helpers and @hashintel/ds-components version to 0.0.1 so that changesets correctly bumps them to 0.0.2 – it is currently setting them to 1.0.0, it doesn't understand the weird not-really-semver I used to publish manually a few versions before.
  3. Ignore @hashintel/petrinaut-old for the purpose of changeset, so it doesn't attempt to publish it. This means that publishing merging Version Packages #8255 is not blocked on removing that package from the repo.

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph

❓ How to test this?

Once it's merged we'll need to check the diff on #8255 to see if the desired changes mentioned above are correctly implemented:

  1. ds-helpers and ds-components bumped to 0.0.2
  2. No mention of @hashintel/petrinaut-old

@cursor
Copy link

cursor bot commented Jan 15, 2026

PR Summary

Aligns versions and publishing behavior for JS packages.

  • Sets @hashintel/ds-components and @hashintel/ds-helpers to 0.0.1 and updates dependent references (including @hashintel/petrinaut and yarn.lock)
  • Changes @hashintel/petrinaut changeset from minor to patch in empty-forks-flow.md
  • Updates .changeset/config.json to ignore @hashintel/petrinaut-old during releases

Written by Cursor Bugbot for commit dba97ee. This will update automatically on new commits. Configure here.

@CiaranMn CiaranMn requested a review from lunelson January 15, 2026 18:17
@CiaranMn CiaranMn requested review from Copilot and kube January 15, 2026 18:17
@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/apps > hash.design Affects the `hash.design` design site (app) labels Jan 15, 2026
@CiaranMn CiaranMn mentioned this pull request Jan 15, 2026
@augmentcode
Copy link

augmentcode bot commented Jan 15, 2026

🤖 Augment PR Summary

Summary: Adjusts Changesets and package versions to unblock future JS package publishing and avoid unintended major/minor bumps.

Changes:

  • Updates Changesets config to ignore @hashintel/petrinaut-old, preventing publish attempts for that legacy package
  • Changes the existing @hashintel/petrinaut changeset from a minor bump to a patch bump
  • Normalizes @hashintel/ds-helpers and @hashintel/ds-components versions to 0.0.1 (removing pre-release-like suffixes)
  • Aligns @hashintel/petrinaut dependencies/peerDeps/devDeps to reference the normalized 0.0.1 versions

Technical Notes: This should allow Changesets to bump ds-helpers/ds-components to 0.0.2 rather than incorrectly jumping to 1.0.0, while excluding petrinaut-old from the release process.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prepares the JavaScript package publishing infrastructure by correcting version numbers and changeset configuration. It standardizes versions for @hashintel/ds-helpers and @hashintel/ds-components from pre-release tags to proper semantic versions, downgrades a Petrinaut version bump from minor to patch, and excludes the deprecated @hashintel/petrinaut-old package from the changeset workflow.

Changes:

  • Updated @hashintel/ds-helpers and @hashintel/ds-components from pre-release versions (0.0.1-b and 0.0.1-c) to 0.0.1
  • Changed the Petrinaut changeset from minor to patch bump
  • Added @hashintel/petrinaut-old to the changeset ignore list

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/@hashintel/ds-helpers/package.json Updated package version from 0.0.1-b to 0.0.1
libs/@hashintel/ds-components/package.json Updated package version from 0.0.1-c to 0.0.1 and dependency reference
libs/@hashintel/petrinaut/package.json Updated dependency references to use 0.0.1 instead of pre-release versions
yarn.lock Updated lockfile entries to reflect version changes
.changeset/empty-forks-flow.md Changed Petrinaut version bump from minor to patch
.changeset/config.json Added @hashintel/petrinaut-old to the ignore list

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

"@local/*",
"@rust/*",
"@tests/*",
"@hashintel/petrinaut-old"
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@@ -1,5 +1,5 @@
---
"@hashintel/petrinaut": minor
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry for this. Indeed better to keep patches only for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

3 participants