bulk-release 2.18.3 → 2.19.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
@@ -1,3 +1,16 @@
1
+ ## [2.19.1](https://github.com/semrel-extra/zx-bulk-release/compare/v2.19.0...v2.19.1) (2026-04-05)
2
+
3
+ ### Fixes & improvements
4
+ * fix: handle meta=none ([4bd052d](https://github.com/semrel-extra/zx-bulk-release/commit/4bd052d4deb3a2a6a6862860e7dabd205275fbcc))
5
+
6
+ ## [2.19.0](https://github.com/semrel-extra/zx-bulk-release/compare/v2.18.3...v2.19.0) (2026-04-05)
7
+
8
+ ### Features
9
+ * feat: assert npm version for npm oidc flow ([647c612](https://github.com/semrel-extra/zx-bulk-release/commit/647c612f5ced01c8230ae1f625bbb6920f1e789d))
10
+
11
+ ### Fixes & improvements
12
+ * fix: enable --debug info strem ([3a8ef02](https://github.com/semrel-extra/zx-bulk-release/commit/3a8ef02974a7b7a1fd8624041a37a2203cd6ec56))
13
+
1
14
  ## [2.18.3](https://github.com/semrel-extra/zx-bulk-release/compare/v2.18.2...v2.18.3) (2026-04-05)
2
15
 
3
16
  ### Fixes & improvements
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bulk-release",
3
3
  "alias": "bulk-release",
4
- "version": "2.18.3",
4
+ "version": "2.19.1",
5
5
  "description": "zx-based alternative for multi-semantic-release",
6
6
  "type": "module",
7
7
  "exports": {
@@ -86,6 +86,11 @@ export const npmPublish = async (pkg) => {
86
86
  // OIDC trusted publishing: no auth token must be present for npm to use OIDC flow.
87
87
  // https://docs.npmjs.com/trusted-publishers/
88
88
  if (npmOidc) {
89
+ const npmVersion = (await $`npm --version`).toString().trim()
90
+ const [major, minor] = npmVersion.split('.').map(Number)
91
+ if (major < 11 || (major === 11 && minor < 5)) {
92
+ throw new Error(`npm OIDC trusted publishing requires npm >= 11.5.0, got ${npmVersion}`)
93
+ }
89
94
  log({pkg})('npm publish: OIDC trusted publishing enabled')
90
95
  npmFlags.push('--provenance')
91
96
  } else {
@@ -50,11 +50,13 @@ export const normalizePkgConfig = (config, env) => {
50
50
  }
51
51
 
52
52
  export const normalizeMetaConfig = (meta) =>
53
- meta === true
54
- ? normalizeMetaConfig('commit')
55
- : typeof meta === 'string'
56
- ? { type: meta } // 'commit' | 'asset' | 'tag'
57
- : { type: 'none' }
53
+ meta === false || meta === 'none'
54
+ ? { type: null }
55
+ : meta === true
56
+ ? normalizeMetaConfig('commit')
57
+ : typeof meta === 'string'
58
+ ? { type: meta } // 'commit' | 'asset' | 'tag'
59
+ : { type: null }
58
60
 
59
61
  export const parseEnv = ({GH_USER, GH_USERNAME, GH_META, GITHUB_USER, GITHUB_USERNAME, GH_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NPM_REGISTRY, NPMRC, NPM_USERCONFIG, NPM_CONFIG_USERCONFIG, NPM_PROVENANCE, NPM_OIDC, ACTIONS_ID_TOKEN_REQUEST_URL, GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL} = process.env) =>
60
62
  ({
@@ -104,6 +104,7 @@ export const createContext = async ({flags, env: _env, cwd}) => {
104
104
  $.report = report
105
105
  $.env = env
106
106
  $.verbose = !!(flags.debug || $.env.DEBUG ) || $.verbose
107
+ $.quiet = !$.verbose
107
108
 
108
109
  return {
109
110
  report,