@oisincoveney/pipeline 1.5.0 → 1.5.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 CHANGED
@@ -36683,8 +36683,8 @@ async function runTests(worktreePath, signal) {
36683
36683
  }
36684
36684
  try {
36685
36685
  const result = await execa(projectCommand.command, projectCommand.args, {
36686
+ cancelSignal: signal,
36686
36687
  cwd: worktreePath,
36687
- signal,
36688
36688
  shell: projectCommand.shell
36689
36689
  });
36690
36690
  const output = [result.stdout, result.stderr].filter(Boolean).join(`
@@ -36708,8 +36708,8 @@ async function runTypecheck(worktreePath, signal) {
36708
36708
  }
36709
36709
  try {
36710
36710
  const result = await execa(projectCommand.command, projectCommand.args, {
36711
+ cancelSignal: signal,
36711
36712
  cwd: worktreePath,
36712
- signal,
36713
36713
  shell: projectCommand.shell
36714
36714
  });
36715
36715
  const output = [result.stdout, result.stderr].filter(Boolean).join(`
@@ -36741,8 +36741,8 @@ function parseJscpdOutput(output) {
36741
36741
  async function runJscpd(worktreePath, signal) {
36742
36742
  try {
36743
36743
  const result = await execa("bunx", ["jscpd", "--min-tokens", "50", "--reporters", "json", "."], {
36744
- cwd: worktreePath,
36745
- signal
36744
+ cancelSignal: signal,
36745
+ cwd: worktreePath
36746
36746
  });
36747
36747
  return parseJscpdOutput(result.stdout ?? "");
36748
36748
  } catch (err) {
@@ -37059,9 +37059,9 @@ function renderArgv(args, prompt, cwd) {
37059
37059
  async function runLaunchPlan(plan, options2 = {}) {
37060
37060
  try {
37061
37061
  const result = await execa(plan.command, plan.args, {
37062
+ cancelSignal: options2.signal,
37062
37063
  cwd: plan.cwd,
37063
37064
  env: plan.env,
37064
- signal: options2.signal,
37065
37065
  stdin: "ignore",
37066
37066
  timeout: plan.timeoutMs
37067
37067
  });
@@ -37743,12 +37743,12 @@ async function executeCommand(command, context, options2 = {}) {
37743
37743
  }
37744
37744
  try {
37745
37745
  const result = await execa(command[0], command.slice(1), {
37746
+ cancelSignal: context.signal,
37746
37747
  cwd: context.worktreePath,
37747
37748
  ...options2.env ? { env: options2.env } : {},
37748
37749
  ...options2.extendEnv === false ? { extendEnv: false } : {},
37749
37750
  ...options2.input ? { input: options2.input } : {},
37750
37751
  ...options2.outputLimitBytes ? { maxBuffer: options2.outputLimitBytes } : {},
37751
- signal: context.signal,
37752
37752
  timeout: options2.timeout
37753
37753
  });
37754
37754
  const output = limitOutput([result.stdout, result.stderr].filter(Boolean).join(`
@@ -29404,8 +29404,8 @@ async function runTests(worktreePath, signal) {
29404
29404
  }
29405
29405
  try {
29406
29406
  const result = await execa(projectCommand.command, projectCommand.args, {
29407
+ cancelSignal: signal,
29407
29408
  cwd: worktreePath,
29408
- signal,
29409
29409
  shell: projectCommand.shell
29410
29410
  });
29411
29411
  const output = [result.stdout, result.stderr].filter(Boolean).join(`
@@ -29429,8 +29429,8 @@ async function runTypecheck(worktreePath, signal) {
29429
29429
  }
29430
29430
  try {
29431
29431
  const result = await execa(projectCommand.command, projectCommand.args, {
29432
+ cancelSignal: signal,
29432
29433
  cwd: worktreePath,
29433
- signal,
29434
29434
  shell: projectCommand.shell
29435
29435
  });
29436
29436
  const output = [result.stdout, result.stderr].filter(Boolean).join(`
@@ -29462,8 +29462,8 @@ function parseJscpdOutput(output) {
29462
29462
  async function runJscpd(worktreePath, signal) {
29463
29463
  try {
29464
29464
  const result = await execa("bunx", ["jscpd", "--min-tokens", "50", "--reporters", "json", "."], {
29465
- cwd: worktreePath,
29466
- signal
29465
+ cancelSignal: signal,
29466
+ cwd: worktreePath
29467
29467
  });
29468
29468
  return parseJscpdOutput(result.stdout ?? "");
29469
29469
  } catch (err) {
@@ -29774,9 +29774,9 @@ function renderArgv(args, prompt, cwd) {
29774
29774
  async function runLaunchPlan(plan, options = {}) {
29775
29775
  try {
29776
29776
  const result = await execa(plan.command, plan.args, {
29777
+ cancelSignal: options.signal,
29777
29778
  cwd: plan.cwd,
29778
29779
  env: plan.env,
29779
- signal: options.signal,
29780
29780
  stdin: "ignore",
29781
29781
  timeout: plan.timeoutMs
29782
29782
  });
@@ -30680,12 +30680,12 @@ async function executeCommand(command, context, options = {}) {
30680
30680
  }
30681
30681
  try {
30682
30682
  const result = await execa(command[0], command.slice(1), {
30683
+ cancelSignal: context.signal,
30683
30684
  cwd: context.worktreePath,
30684
30685
  ...options.env ? { env: options.env } : {},
30685
30686
  ...options.extendEnv === false ? { extendEnv: false } : {},
30686
30687
  ...options.input ? { input: options.input } : {},
30687
30688
  ...options.outputLimitBytes ? { maxBuffer: options.outputLimitBytes } : {},
30688
- signal: context.signal,
30689
30689
  timeout: options.timeout
30690
30690
  });
30691
30691
  const output = limitOutput([result.stdout, result.stderr].filter(Boolean).join(`
package/dist/runner.js CHANGED
@@ -7624,9 +7624,9 @@ function renderArgv(args, prompt, cwd) {
7624
7624
  async function runLaunchPlan(plan, options = {}) {
7625
7625
  try {
7626
7626
  const result = await execa(plan.command, plan.args, {
7627
+ cancelSignal: options.signal,
7627
7628
  cwd: plan.cwd,
7628
7629
  env: plan.env,
7629
- signal: options.signal,
7630
7630
  stdin: "ignore",
7631
7631
  timeout: plan.timeoutMs
7632
7632
  });
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "prepack": "bun run build:cli"
74
74
  },
75
75
  "type": "module",
76
- "version": "1.5.0",
76
+ "version": "1.5.1",
77
77
  "description": "",
78
78
  "main": "index.js",
79
79
  "keywords": [],