zx-bulk-release 2.1.4 → 2.1.6

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.6](https://github.com/semrel-extra/zx-bulk-release/compare/v2.1.5...v2.1.6) (2023-03-22)
2
+
3
+ ### Fixes & improvements
4
+ * fix: fix memoized build recursion ([413f2bf](https://github.com/semrel-extra/zx-bulk-release/commit/413f2bfcf456f4fefdab527ebe09112b6f26057c))
5
+
6
+ ## [2.1.5](https://github.com/semrel-extra/zx-bulk-release/compare/v2.1.4...v2.1.5) (2023-03-22)
7
+
8
+ ### Fixes & improvements
9
+ * fix: add `--ignore-failed-read` tar flag ([096134d](https://github.com/semrel-extra/zx-bulk-release/commit/096134dec953023373109d559b519efea2f41ca5))
10
+
1
11
  ## [2.1.4](https://github.com/semrel-extra/zx-bulk-release/compare/v2.1.3...v2.1.4) (2023-03-22)
2
12
 
3
13
  ### Fixes & improvements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zx-bulk-release",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "zx-based alternative for multi-semantic-release",
5
5
  "type": "module",
6
6
  "exports": {
@@ -5,11 +5,9 @@ import {runCmd} from './processor.js'
5
5
  export const build = async (pkg, packages, run = runCmd, self = build) => {
6
6
  if (pkg.built) return true
7
7
 
8
- await traverseDeps(pkg, packages, async (_, {pkg}) => self(pkg, packages))
8
+ await traverseDeps(pkg, packages, async (_, {pkg}) => self(pkg, packages, run, self))
9
9
 
10
- const {config} = pkg
11
-
12
- if (pkg.changes.length === 0 && config.npmFetch) {
10
+ if (pkg.changes.length === 0 && pkg.config.npmFetch) {
13
11
  await fetchPkg(pkg)
14
12
  }
15
13
 
@@ -11,7 +11,7 @@ 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 --timeout=10 --header='Authorization: ${bearerToken}' -qO- ${tarball} | tar -xvzk --strip-components=1 --exclude='package.json' -C ${cwd}`
14
+ await $.raw`wget --timeout=10 --header='Authorization: ${bearerToken}' -qO- ${tarball} | tar -xvz --strip-components=1 --exclude='package.json' -C ${cwd}`
15
15
 
16
16
  pkg.fetched = true
17
17
  } catch (e) {