You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 70d2901
Browse filesBrowse the repository at this point in the historyBrowse files
fix(release): drop per-package prepublishOnly to avoid parallel build race
Each package's `prepublishOnly` ran `reset && build` during `changeset publish`. Because publishes happen in parallel, `@xstyled/system`'s `rm -rf dist` raced with the dependent packages' rebuilds, causing TS2307 for `@xstyled/system` in `@xstyled/emotion` and `@xstyled/styled-components` .d.ts generation. The workspace-level `release` script already runs `pnpm run build` before `changeset publish`, so the per-package hook was redundant.
0 commit comments