bulk-release 2.12.1 → 2.12.2

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,9 @@
1
+ ## [2.12.2](https://github.com/semrel-extra/zx-bulk-release/compare/v2.12.1...v2.12.2) (2023-11-20)
2
+
3
+ ### Fixes & improvements
4
+ * fix: fetch latest npm manifest by default ([e7e6c0d](https://github.com/semrel-extra/zx-bulk-release/commit/e7e6c0dfe0aef34c0cf6a6936cca1057aef8c746))
5
+ * fix: fix `pure` tag parser ([41b961d](https://github.com/semrel-extra/zx-bulk-release/commit/41b961d7eed99061fcc851b7b8ed7fc72813ef46))
6
+
1
7
  ## [2.12.1](https://github.com/semrel-extra/zx-bulk-release/compare/v2.12.0...v2.12.1) (2023-11-02)
2
8
 
3
9
  ### 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.12.1",
4
+ "version": "2.12.2",
5
5
  "description": "zx-based alternative for multi-semantic-release",
6
6
  "type": "module",
7
7
  "exports": {
@@ -26,12 +26,12 @@
26
26
  "@semrel-extra/topo": "^1.14.0",
27
27
  "cosmiconfig": "^8.3.6",
28
28
  "queuefy": "^1.2.1",
29
- "zx-extra": "^2.5.5"
29
+ "zx-extra": "^2.6.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "c8": "^8.0.1",
33
33
  "uvu": "^0.5.6",
34
- "verdaccio": "^5.26.3"
34
+ "verdaccio": "^5.27.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
@@ -136,7 +136,7 @@ const pure = {
136
136
  }
137
137
 
138
138
  const [n, o = ''] = prerelease.reverse()
139
- const name = o === 'x' ? n : `@${o}/${n}`
139
+ const name = (!o || o === 'x') ? n : `@${o}/${n}`
140
140
  const version = tag.slice(0, -1 - n.length - (o ? o.length + 1 : 0))
141
141
 
142
142
  return {format: this.name, ref: tag, name, version}
@@ -24,7 +24,7 @@ export const fetchPkg = async (pkg) => {
24
24
  export const fetchManifest = async (pkg, {nothrow} = {}) => {
25
25
  const {npmRegistry, npmToken, npmConfig} = pkg.config
26
26
  const bearerToken = getBearerToken(npmRegistry, npmToken, npmConfig)
27
- const url = getManifestUrl(npmRegistry, pkg.name, pkg.version)
27
+ const url = getManifestUrl(npmRegistry, pkg.name, pkg.version || 'latest')
28
28
  const reqOpts = bearerToken ? {headers: {authorization: bearerToken}} : {}
29
29
 
30
30
  try {