@coveo/semantic-monorepo-tools
Advanced tools
Comparing version 2.4.27 to 2.4.28
@@ -0,1 +1,5 @@ | ||
## 2.4.28 (2024-04-26) | ||
## 2.4.27 (2024-04-25) | ||
@@ -2,0 +6,0 @@ |
@@ -37,3 +37,3 @@ import { randomBytes } from "node:crypto"; | ||
"log", | ||
"--pretty=format:%B%n-hash-%n%H <--- 23 --->", | ||
'--pretty="format:%B%n-hash-%n%H <--- 23 --->"', | ||
"--dense", | ||
@@ -48,3 +48,3 @@ "someTag..HEAD", | ||
"log", | ||
"--pretty=format:%B%n-hash-%n%H <--- 23 --->", | ||
'--pretty="format:%B%n-hash-%n%H <--- 23 --->"', | ||
"--dense", | ||
@@ -51,0 +51,0 @@ "someTag..HEAD", |
@@ -16,3 +16,3 @@ import { randomBytes } from "node:crypto"; | ||
"log", | ||
`--pretty=format:%B%n-hash-%n%H ${delimiter}`, | ||
`--pretty="format:%B%n-hash-%n%H ${delimiter}"`, | ||
"--dense", | ||
@@ -19,0 +19,0 @@ `${from}..${to}`, |
export default function appendCmdIfWindows(cmd) { | ||
return `${cmd}${process.platform === "win32" ? ".cmd" : ""}`; | ||
return `${cmd}${process.platform === "win32" ? ".ps1" : ""}`; | ||
} |
@@ -8,3 +8,7 @@ import { spawn } from "node:child_process"; | ||
let stderr = ""; | ||
const { encoding, ...spawnOptions } = { encoding: "utf-8", ...options }; | ||
const { encoding, ...spawnOptions } = { | ||
encoding: "utf-8", | ||
shell: process.platform === "win32" ? "powershell" : undefined, | ||
...options, | ||
}; | ||
return new Promise((resolve, reject) => { | ||
@@ -11,0 +15,0 @@ const childProcess = spawn(command, args, spawnOptions); |
{ | ||
"name": "@coveo/semantic-monorepo-tools", | ||
"version": "2.4.27", | ||
"version": "2.4.28", | ||
"description": "A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/coveo/semantic-monorepo-tools#readme", |
@@ -46,3 +46,3 @@ import type { Readable } from "node:stream"; | ||
"log", | ||
"--pretty=format:%B%n-hash-%n%H <--- 23 --->", | ||
'--pretty="format:%B%n-hash-%n%H <--- 23 --->"', | ||
"--dense", | ||
@@ -62,3 +62,3 @@ "someTag..HEAD", | ||
"log", | ||
"--pretty=format:%B%n-hash-%n%H <--- 23 --->", | ||
'--pretty="format:%B%n-hash-%n%H <--- 23 --->"', | ||
"--dense", | ||
@@ -65,0 +65,0 @@ "someTag..HEAD", |
@@ -21,3 +21,3 @@ import { randomBytes } from "node:crypto"; | ||
"log", | ||
`--pretty=format:%B%n-hash-%n%H ${delimiter}`, | ||
`--pretty="format:%B%n-hash-%n%H ${delimiter}"`, | ||
"--dense", | ||
@@ -24,0 +24,0 @@ `${from}..${to}`, |
export default function appendCmdIfWindows(cmd) { | ||
return `${cmd}${process.platform === "win32" ? ".cmd" : ""}`; | ||
return `${cmd}${process.platform === "win32" ? ".ps1" : ""}`; | ||
} |
@@ -24,3 +24,7 @@ import { Debugger } from "debug"; | ||
let stderr = ""; | ||
const { encoding, ...spawnOptions } = { encoding: "utf-8", ...options }; | ||
const { encoding, ...spawnOptions } = { | ||
encoding: "utf-8", | ||
shell: process.platform === "win32" ? "powershell" : undefined, | ||
...options, | ||
}; | ||
@@ -27,0 +31,0 @@ return new Promise<spawnOutputs>((resolve, reject) => { |
135675
2704