@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/release.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.419",
3
+ "version": "0.0.420",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
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 })