@factorialco/gat 0.0.16 → 0.0.19

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/event.d.ts CHANGED
@@ -21,6 +21,7 @@ interface WorkflowDispatchInput {
21
21
  required?: boolean;
22
22
  type?: "choice" | "boolean";
23
23
  options?: string[];
24
+ default?: string | boolean;
24
25
  }
25
26
  interface WorkflowDispatchEventOptions {
26
27
  inputs?: Record<string, WorkflowDispatchInput>;
package/dist/workflow.js CHANGED
@@ -91,9 +91,9 @@ class Workflow {
91
91
  },
92
92
  ])),
93
93
  };
94
- const compiled = `# Template automatically generated by gat\n# DO NOT CHANGE THIS FILE MANUALLY\n\n${(0, js_yaml_1.dump)(result, {
94
+ const compiled = `# Workflow automatically generated by gat\n# DO NOT CHANGE THIS FILE MANUALLY\n\n${(0, js_yaml_1.dump)(result, {
95
95
  noRefs: true,
96
- lineWidth: 150,
96
+ lineWidth: 200,
97
97
  noCompatMode: true,
98
98
  })}`;
99
99
  console.log(compiled);
@@ -219,10 +219,8 @@ const workflow_1 = require("./workflow");
219
219
  steps: [
220
220
  {
221
221
  name: "Do something",
222
- run: `
223
- echo foo
224
- exit 0
225
- `,
222
+ run: `echo foo
223
+ exit 0`,
226
224
  },
227
225
  ],
228
226
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/gat",
3
- "version": "0.0.16",
3
+ "version": "0.0.19",
4
4
  "description": "TODO",
5
5
  "bin": {
6
6
  "gat": "dist/cli.js"