@zodic/shared 0.0.419 → 0.0.420
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/release.ts +5 -1
package/package.json
CHANGED
package/release.ts
CHANGED
|
@@ -66,7 +66,7 @@ let found = false;
|
|
|
66
66
|
for (let attempt = 1; attempt <= MAX_ATTEMPTS; attempt++) {
|
|
67
67
|
try {
|
|
68
68
|
const registryVersion = (
|
|
69
|
-
await $`npm show @zodic/shared version`.text()
|
|
69
|
+
await $`npm show @zodic/shared version --prefer-online`.text()
|
|
70
70
|
).trim();
|
|
71
71
|
|
|
72
72
|
console.log(
|
|
@@ -98,6 +98,10 @@ if (!found) {
|
|
|
98
98
|
process.exit(1);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
// Give bun's registry a moment to catch up with npm
|
|
102
|
+
console.log("\n⏳ Waiting 5s for bun registry propagation...");
|
|
103
|
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
|
104
|
+
|
|
101
105
|
// ─── Step 6: Run `bun upshare` in all zodic- workers ─────────────────────────
|
|
102
106
|
|
|
103
107
|
const workerFolders = readdirSync(rootDir, { withFileTypes: true })
|