placementt-core 1.400.1176 → 1.400.1177

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/deploy-all.js +9 -2
  2. package/package.json +1 -1
package/deploy-all.js CHANGED
@@ -38,10 +38,17 @@ function publishWithTag(version, tag) {
38
38
  publishedVersions[tag] = version;
39
39
  }
40
40
 
41
+ // The trusted publisher can only manage dist-tags once "Allow npm dist-tag" is
42
+ // enabled on the package, so a refusal here warns rather than failing a deploy
43
+ // whose publishes have already gone out (and skipping the version bump push).
41
44
  function pinDistTags() {
42
45
  for (const [tag, version] of Object.entries(publishedVersions)) {
43
- run(`npm dist-tag add placementt-core@${version} ${tag}`);
44
- console.log(`✅ ${tag} → ${version}`);
46
+ try {
47
+ run(`npm dist-tag add placementt-core@${version} ${tag}`);
48
+ console.log(`✅ ${tag} → ${version}`);
49
+ } catch {
50
+ console.warn(`⚠️ Could not pin ${tag} → ${version}. Fix with: npm dist-tag add placementt-core@${version} ${tag}`);
51
+ }
45
52
  }
46
53
  }
47
54
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.1176",
5
+ "version": "1.400.1177",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {