@workscribe/cli 1.15.0 → 1.15.1
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/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/shell/hook.bash +4 -1
- package/shell/hook.fish +4 -1
- package/shell/hook.zsh +4 -1
package/dist/index.js
CHANGED
|
@@ -2201,7 +2201,7 @@ function resolveWorkscribeBinary() {
|
|
|
2201
2201
|
}
|
|
2202
2202
|
}
|
|
2203
2203
|
function injectBinaryPath(hookContent, binaryPath, nodePath) {
|
|
2204
|
-
const pinnedInvocation = `"${nodePath}" "${binaryPath}"`;
|
|
2204
|
+
const pinnedInvocation = `"${nodePath}" --disable-warning=ExperimentalWarning "${binaryPath}"`;
|
|
2205
2205
|
return hookContent.replace("command -v workscribe > /dev/null 2>&1 || return 0", `[[ -x "${binaryPath}" ]] || return 0`).replace("command -v workscribe &>/dev/null || return 0", `[[ -x "${binaryPath}" ]] || return 0`).replace("type -q workscribe\n or return 0", `test -x "${binaryPath}"
|
|
2206
2206
|
or return 0`).replaceAll("command workscribe _capture", `${pinnedInvocation} _capture`).replaceAll("command workscribe alerts", `${pinnedInvocation} alerts`);
|
|
2207
2207
|
}
|
|
@@ -4114,7 +4114,7 @@ function registerBugReport(program) {
|
|
|
4114
4114
|
const timestamp = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-");
|
|
4115
4115
|
const reportPath = import_path17.default.join(WORKSCRIBE_DIR, `bug-report-${timestamp}.txt`);
|
|
4116
4116
|
const systemInfo = [
|
|
4117
|
-
`Workscribe version : ${"1.15.
|
|
4117
|
+
`Workscribe version : ${"1.15.1"}`,
|
|
4118
4118
|
`Node.js version : ${process.version}`,
|
|
4119
4119
|
`Platform : ${process.platform}`,
|
|
4120
4120
|
`Architecture : ${process.arch}`,
|
|
@@ -4145,7 +4145,7 @@ function registerBugReport(program) {
|
|
|
4145
4145
|
process.exit(1);
|
|
4146
4146
|
}
|
|
4147
4147
|
const params = new URLSearchParams({
|
|
4148
|
-
title: `Bug report \u2014 workscribe ${"1.15.
|
|
4148
|
+
title: `Bug report \u2014 workscribe ${"1.15.1"}`,
|
|
4149
4149
|
body: `<!-- Attach ${import_path17.default.basename(reportPath)} or paste the relevant sections below -->
|
|
4150
4150
|
|
|
4151
4151
|
**Describe the issue:**
|
|
@@ -4345,7 +4345,7 @@ function isNewer(latest, current) {
|
|
|
4345
4345
|
return latestPatch > currentPatch;
|
|
4346
4346
|
}
|
|
4347
4347
|
function checkForUpdate() {
|
|
4348
|
-
const current = "1.15.
|
|
4348
|
+
const current = "1.15.1";
|
|
4349
4349
|
const cache = readCache();
|
|
4350
4350
|
if (cache && isNewer(cache.latestVersion, current)) {
|
|
4351
4351
|
process.stderr.write(
|
|
@@ -4368,7 +4368,7 @@ function checkForUpdate() {
|
|
|
4368
4368
|
function buildTelemetryPayload(config) {
|
|
4369
4369
|
return {
|
|
4370
4370
|
installId: config.telemetry.installId,
|
|
4371
|
-
cliVersion: "1.15.
|
|
4371
|
+
cliVersion: "1.15.1",
|
|
4372
4372
|
platform: import_os10.default.platform(),
|
|
4373
4373
|
nodeVersion: process.version
|
|
4374
4374
|
};
|
|
@@ -4434,7 +4434,7 @@ var require_main = __commonJS({
|
|
|
4434
4434
|
pingTelemetry();
|
|
4435
4435
|
}
|
|
4436
4436
|
var program = new import_commander.Command();
|
|
4437
|
-
program.name("workscribe").description("Automatic developer work journal").version("1.15.
|
|
4437
|
+
program.name("workscribe").description("Automatic developer work journal").version("1.15.1");
|
|
4438
4438
|
registerCapture(program);
|
|
4439
4439
|
registerHook(program);
|
|
4440
4440
|
registerInit(program);
|