@factorialco/gat 0.0.18 → 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/workflow.js CHANGED
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Workflow = void 0;
7
7
  const js_yaml_1 = require("js-yaml");
8
8
  const kebabCase_1 = __importDefault(require("lodash/kebabCase"));
9
- const lodash_1 = require("lodash");
10
9
  const DEFAULT_RUNNERS = ["ubuntu-22.04"];
11
10
  class Workflow {
12
11
  constructor(name) {
@@ -96,15 +95,6 @@ class Workflow {
96
95
  noRefs: true,
97
96
  lineWidth: 200,
98
97
  noCompatMode: true,
99
- replacer: (_, value) => {
100
- if (typeof value === "string") {
101
- if (value.startsWith("\n")) {
102
- return (0, lodash_1.compact)(value.split("\n").map((str) => (0, lodash_1.trim)(str))).join("\n");
103
- }
104
- return value;
105
- }
106
- return value;
107
- },
108
98
  })}`;
109
99
  console.log(compiled);
110
100
  return 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.18",
3
+ "version": "0.0.19",
4
4
  "description": "TODO",
5
5
  "bin": {
6
6
  "gat": "dist/cli.js"