Skip to content

H-6373: Change publishing lifecycle scripts; add changeset for @hashintel/refractive#8581

Merged
CiaranMn merged 1 commit intomainfrom
cm/further-publishing-fixes
Mar 25, 2026
Merged

H-6373: Change publishing lifecycle scripts; add changeset for @hashintel/refractive#8581
CiaranMn merged 1 commit intomainfrom
cm/further-publishing-fixes

Conversation

@CiaranMn
Copy link
Copy Markdown
Member

🌟 What is the purpose of this PR?

Fixes to published packages / publishing process:

  1. Switch the lifecycle script for pre-publishing build to prepublishOnly consistently: a few packages had prepare, and somehow @hashintel/ds-helpers ended up being published without its built styled-system folder. I'm not sure this will fix it but it's worth a try.
  2. Add a changeset for @hashintel/refractive to get a new version published – the export names were changed but the published version still has the old exports, meaning using @hashintel/petrinaut in other repos fails (because it refers to the new, unpublished function names).
  3. Adds a README for ds-helpers

@CiaranMn CiaranMn requested review from lunelson and vilkinsons March 25, 2026 17:53
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Mar 25, 2026 5:57pm
hashdotdesign Ready Ready Preview, Comment Mar 25, 2026 5:57pm
hashdotdesign-tokens Ready Ready Preview, Comment Mar 25, 2026 5:57pm
petrinaut Ready Ready Preview, Comment Mar 25, 2026 5:57pm

@cursor
Copy link
Copy Markdown

cursor Bot commented Mar 25, 2026

PR Summary

Low Risk
Low risk because changes are limited to npm lifecycle scripts, a small README addition, and patch changesets; the main risk is altered publish/build timing that could affect release automation.

Overview
Ensures design-system packages build at publish time by replacing the prepare script with prepublishOnly in @hashintel/ds-components, @hashintel/ds-helpers, and @hashintel/ds-theme.

Adds patch changesets to release @hashintel/refractive (to publish equation export casing changes) and @hashintel/ds-helpers (to address publishing output issues), and introduces a new README.md for @hashintel/ds-helpers.

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

@github-actions github-actions Bot added 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 Mar 25, 2026
@graphite-app graphite-app Bot requested review from a team March 25, 2026 18:11
@CiaranMn CiaranMn added this pull request to the merge queue Mar 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 25, 2026
@CiaranMn CiaranMn added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit efc1237 Mar 25, 2026
57 checks passed
@CiaranMn CiaranMn deleted the cm/further-publishing-fixes branch March 25, 2026 19:44
@hashdotai hashdotai mentioned this pull request Mar 25, 2026
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/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.

2 participants