Commit c9a8f3f
committed
fix(release): stop the publish hooks from racing each other
changeset publish runs every package concurrently, so each package's prepublishOnly ran rm -rf dist followed by a rebuild at the same time. core deleted its own dist while the fastify adapter was type checking against it, failing build:types with TS2307 and blocking @seamless-auth/fastify from publishing.
release:stable already runs pnpm build in topological order before changeset publish, so the per-package rebuild was redundant. Replace it with a check that the dist output exists, which also keeps a publish from silently shipping a tarball with no dist.1 parent 8b1dbc9 commit c9a8f3f
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments