zx-bulk-release 2.1.0 → 2.1.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,13 @@
1
+ ## [2.1.2](https://github.com/semrel-extra/zx-bulk-release/compare/v2.1.1...v2.1.2) (2023-03-22)
2
+
3
+ ### Fixes & improvements
4
+ * perf: reduce pkg fetch timeout ([6c5ddb8](https://github.com/semrel-extra/zx-bulk-release/commit/6c5ddb8977f2f1bf6f0aa316014269f0e6745f19))
5
+
6
+ ## [2.1.1](https://github.com/semrel-extra/zx-bulk-release/compare/v2.1.0...v2.1.1) (2023-03-22)
7
+
8
+ ### Fixes & improvements
9
+ * fix: fix tar opts ([6d17135](https://github.com/semrel-extra/zx-bulk-release/commit/6d1713521d1660a7d4085dc6a3a20f7c856e39db))
10
+
1
11
  ## [2.1.0](https://github.com/semrel-extra/zx-bulk-release/compare/v2.0.1...v2.1.0) (2023-03-22)
2
12
 
3
13
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zx-bulk-release",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "zx-based alternative for multi-semantic-release",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,11 +11,11 @@ export const fetchPkg = async (pkg, {env = $.env} = {}) => {
11
11
  const {npmRegistry, npmToken, npmConfig} = parseEnv(env)
12
12
  const bearerToken = getBearerToken(npmRegistry, npmToken, npmConfig)
13
13
  const tarball = getTarballUrl(npmRegistry, pkg.name, pkg.version)
14
- await $.raw`wget --header='Authorization: ${bearerToken}' -qO- ${tarball} | tar xvz -C ${cwd} --strip-components=1 --exclude='package.json'`
14
+ await $.raw`wget --timeout=10 --header='Authorization: ${bearerToken}' -qO- ${tarball} | tar -xvzk --strip-components=1 --exclude='package.json' -C ${cwd}`
15
15
 
16
16
  pkg.fetched = true
17
17
  } catch (e) {
18
- log({pkg})(`fetching '${id} failed`, e)
18
+ log({pkg, level: 'warn'})(`fetching '${id}' failed`, e)
19
19
  }
20
20
  }
21
21