@williamthorsen/release-kit 4.5.0 → 4.5.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [release-kit-v4.5.1] - 2026-04-10
6
+
7
+ ### Bug fixes
8
+
9
+ - #178 release-kit|fix: Fix sync-labels init scaffolding output (#179)
10
+
11
+ Fixes three issues in `release-kit sync-labels init` scaffolding output that cause immediate errors for consumers: adds missing workflow permissions, corrects config template indentation from 2 to 4 spaces, and switches YAML quoting from double to single quotes.
12
+
5
13
  ## [release-kit-v4.5.0] - 2026-04-06
6
14
 
7
15
  ### Features
package/dist/esm/.cache CHANGED
@@ -1 +1 @@
1
- ee18b710e962397616b0a9fc54a9101c2096a2925b2aebb8db506ae9972ff6c5
1
+ 917d95efca91465ce82cd15afc45064b9a1f61976c9cd0c7e563a0d87e47bee5
@@ -8,7 +8,7 @@ const GENERATED_HEADER = `# Generated by release-kit sync-labels \u2014 do not e
8
8
  # Source: ${SYNC_LABELS_CONFIG_PATH}
9
9
  `;
10
10
  function formatLabelsYaml(labels) {
11
- const yamlBody = dump(labels, { quotingType: '"', forceQuotes: false, lineWidth: -1 });
11
+ const yamlBody = dump(labels, { quotingType: "'", forceQuotes: false, lineWidth: -1 });
12
12
  return GENERATED_HEADER + yamlBody;
13
13
  }
14
14
  async function generateCommand() {
@@ -6,6 +6,10 @@ name: Sync labels
6
6
  on:
7
7
  workflow_dispatch:
8
8
 
9
+ permissions:
10
+ contents: read
11
+ issues: write
12
+
9
13
  jobs:
10
14
  sync:
11
15
  uses: williamthorsen/node-monorepo-tools/.github/workflows/sync-labels.reusable.yaml@sync-labels-workflow-v1
@@ -29,7 +33,7 @@ function syncLabelsConfigScript(scopeLabels) {
29
33
  const name = escapeForSingleQuotedString(label.name);
30
34
  const color = escapeForSingleQuotedString(label.color);
31
35
  const description = escapeForSingleQuotedString(label.description);
32
- return ` { name: '${name}', color: '${color}', description: '${description}' },`;
36
+ return ` { name: '${name}', color: '${color}', description: '${description}' },`;
33
37
  }).join("\n");
34
38
  return `import type { SyncLabelsConfig } from '@williamthorsen/release-kit';
35
39
 
@@ -1 +1 @@
1
- export declare const VERSION = "4.5.0";
1
+ export declare const VERSION = "4.5.1";
@@ -1,4 +1,4 @@
1
- const VERSION = "4.5.0";
1
+ const VERSION = "4.5.1";
2
2
  export {
3
3
  VERSION
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/release-kit",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Version-bumping and changelog-generation toolkit for release workflows",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/williamthorsen/node-monorepo-tools/tree/main/packages/release-kit#readme",