Skip to content

Commit

Permalink
fix: add compat with zx v8
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Apr 3, 2024
1 parent 568bbb9 commit aff3813
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
},
"homepage": "https://github.com/semrel-extra/zx-semrel#readme",
"dependencies": {
"zx": "^7.2.3"
"zx": "^7.2.3 || 8"
}
}
3 changes: 3 additions & 0 deletions release.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Replaces semantic-release with zx script
import process from 'node:process'

(async () => {
$.quiet = !process.env.VERBOSE
$.verbose = !!process.env.VERBOSE
$.noquote = async (...args) => { const q = $.quote; $.quote = v => v; const p = $(...args); p; $.quote = q; return p }

Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ yaml@^2.2.2:
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.1.tgz#2e57e0b5e995292c25c75d2658f0664765210eed"
integrity sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==

zx@^7.2.3:
"zx@^7.2.3 || 8":
version "7.2.3"
resolved "https://registry.yarnpkg.com/zx/-/zx-7.2.3.tgz#d9fef6bd084f7e21994080de09fb20e441074c39"
integrity sha512-QODu38nLlYXg/B/Gw7ZKiZrvPkEsjPN3LQ5JFXM7h0JvwhEdPNNl+4Ao1y4+o3CLNiDUNcwzQYZ4/Ko7kKzCMA==
Expand Down

0 comments on commit aff3813

Please sign in to comment.