@openfn/cli 1.20.2 → 1.20.3

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.
@@ -486,6 +486,9 @@ async function compile_default(planOrPath, opts, log2) {
486
486
  var compileJob = async (job, opts, log2, jobName) => {
487
487
  try {
488
488
  const compilerOptions = await loadTransformOptions(opts, log2);
489
+ if (jobName) {
490
+ compilerOptions.name = jobName;
491
+ }
489
492
  return compile(job, compilerOptions);
490
493
  } catch (e) {
491
494
  abort_default(
@@ -512,7 +515,7 @@ var compileWorkflow = async (plan, opts, log2) => {
512
515
  job.expression,
513
516
  jobOpts,
514
517
  log2,
515
- job.id
518
+ job.name ?? job.id
516
519
  );
517
520
  job.expression = code;
518
521
  job.sourceMap = map;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/cli",
3
- "version": "1.20.2",
3
+ "version": "1.20.3",
4
4
  "description": "CLI devtools for the OpenFn toolchain",
5
5
  "engines": {
6
6
  "node": ">=18",
@@ -49,13 +49,13 @@
49
49
  "undici": "7.12.0",
50
50
  "ws": "^8.18.3",
51
51
  "yargs": "^17.7.2",
52
- "@openfn/compiler": "1.2.1",
53
- "@openfn/deploy": "0.11.4",
54
- "@openfn/logger": "1.1.0",
52
+ "@openfn/compiler": "1.2.2",
55
53
  "@openfn/describe-package": "0.1.5",
56
- "@openfn/project": "^0.9.2",
57
- "@openfn/runtime": "1.7.6",
58
- "@openfn/lexicon": "^1.3.0"
54
+ "@openfn/deploy": "0.11.5",
55
+ "@openfn/lexicon": "^1.3.0",
56
+ "@openfn/project": "^0.9.3",
57
+ "@openfn/runtime": "1.7.7",
58
+ "@openfn/logger": "1.1.1"
59
59
  },
60
60
  "files": [
61
61
  "dist",