Commit 7d0a74c
committed
fix(release): publish npm packages sequentially to avoid E409
The npm registry can return E409 Conflict when multiple packages
in the same scope are published simultaneously. This happens because
npm publish --workspaces publishes all packages in parallel.
Change to sequential publishing with 2-second delays between packages:
1. Platform packages first (darwin-arm64/x64 variants)
2. Dev package (headers only)
3. Meta packages last (depend on platform packages)
This adds ~20 seconds to the release but avoids the race condition.1 parent 96ad78a commit 7d0a74c
1 file changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
| 285 | + | |
288 | 286 | | |
289 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
0 commit comments