@skuba-lib/api 2.1.2 → 2.2.0-main-20260609014203
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/cdk/package.json +6 -0
- package/lib/buildkite/index.cjs +1 -1
- package/lib/buildkite/index.d.cts +2 -2
- package/lib/buildkite/index.d.mts +2 -2
- package/lib/buildkite/index.mjs +1 -1
- package/lib/{buildkite-D8p6SH33.mjs → buildkite-CJ4a_6Cv.mjs} +3 -3
- package/lib/{buildkite-EYIbmVQ4.cjs → buildkite-Dyd__LF3.cjs} +4 -3
- package/lib/cdk/index.cjs +13 -0
- package/lib/cdk/index.d.cts +6 -0
- package/lib/cdk/index.d.mts +6 -0
- package/lib/cdk/index.mjs +7 -0
- package/lib/chunk-DakpK96I.cjs +43 -0
- package/lib/{error-DJ-upcVW.cjs → error-DwkbVu3p.cjs} +2 -43
- package/lib/{exec-DHKlT34S.cjs → exec-BsoJ4pFc.cjs} +5 -4
- package/lib/{exec-DuOGnPmx.mjs → exec-CbhqWxN4.mjs} +1 -1
- package/lib/git/index.cjs +1 -1
- package/lib/git/index.d.cts +2 -2
- package/lib/git/index.d.mts +2 -2
- package/lib/git/index.mjs +1 -1
- package/lib/{git-DBepQ7NY.mjs → git-BSWQdkgU.mjs} +2 -2
- package/lib/{git-CemmnhZX.cjs → git-CEnn1Qrs.cjs} +8 -7
- package/lib/github/index.cjs +2 -2
- package/lib/github/index.d.cts +2 -2
- package/lib/github/index.d.mts +2 -2
- package/lib/github/index.mjs +2 -2
- package/lib/{github-YNn-2h6W.cjs → github-CzH1PaKH.cjs} +6 -5
- package/lib/{github-CEOIl2xv.mjs → github-IYwiDs5D.mjs} +3 -3
- package/lib/{index-9k0uNPiA.d.mts → index-D4JUiy2k.d.cts} +1 -1
- package/lib/{index-CvCXMWrj.d.cts → index-DbjgHTTm.d.mts} +1 -1
- package/lib/index.cjs +11 -4
- package/lib/index.d.cts +6 -5
- package/lib/index.d.mts +6 -5
- package/lib/index.mjs +6 -5
- package/lib/net/index.cjs +1 -1
- package/lib/net/index.d.cts +1 -1
- package/lib/net/index.d.mts +1 -1
- package/lib/net/index.mjs +1 -1
- package/lib/{net-CBYpNAZ9.cjs → net-BGgnkCnN.cjs} +4 -4
- package/lib/{net-xHFhmM3Z.mjs → net-ZfhL_QSV.mjs} +2 -2
- package/package.json +7 -2
- /package/lib/{chunk-CfYAbeIz.mjs → chunk-D7D4PA-g.mjs} +0 -0
- /package/lib/{error-CTBQVZXj.mjs → error-BYLsj5YU.mjs} +0 -0
- /package/lib/{index-BGJOKUEn.d.cts → index-C9WMO_Y9.d.cts} +0 -0
- /package/lib/{index-BLuWPbMv.d.mts → index-C9WMO_Y9.d.mts} +0 -0
- /package/lib/{index-B-uDtu2-.d.mts → index-CNxgBJm_.d.cts} +0 -0
- /package/lib/{index-BHREYHx-.d.cts → index-CNxgBJm_.d.mts} +0 -0
- /package/lib/{index-BF1A__qo.d.cts → index-Kyp8ZCwF.d.cts} +0 -0
- /package/lib/{index-BFKo2N5d.d.mts → index-Kyp8ZCwF.d.mts} +0 -0
package/cdk/package.json
ADDED
package/lib/buildkite/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_buildkite = require("../buildkite-
|
|
2
|
+
const require_buildkite = require("../buildkite-Dyd__LF3.cjs");
|
|
3
3
|
exports.annotate = require_buildkite.annotate;
|
|
4
4
|
exports.md = require_buildkite.md;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as annotate, n as md, r as AnnotationStyle } from "../index-
|
|
2
|
-
export { AnnotationStyle, annotate, md };
|
|
1
|
+
import { i as annotate, n as md, r as AnnotationStyle } from "../index-CNxgBJm_.cjs";
|
|
2
|
+
export { type AnnotationStyle, annotate, md };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as annotate, n as md, r as AnnotationStyle } from "../index-
|
|
2
|
-
export { AnnotationStyle, annotate, md };
|
|
1
|
+
import { i as annotate, n as md, r as AnnotationStyle } from "../index-CNxgBJm_.mjs";
|
|
2
|
+
export { type AnnotationStyle, annotate, md };
|
package/lib/buildkite/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as md, r as annotate } from "../buildkite-
|
|
1
|
+
import { n as md, r as annotate } from "../buildkite-CJ4a_6Cv.mjs";
|
|
2
2
|
export { annotate, md };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { n as log } from "./error-
|
|
3
|
-
import { n as exec, r as hasCommand } from "./exec-
|
|
1
|
+
import { t as __exportAll } from "./chunk-D7D4PA-g.mjs";
|
|
2
|
+
import { n as log } from "./error-BYLsj5YU.mjs";
|
|
3
|
+
import { n as exec, r as hasCommand } from "./exec-CbhqWxN4.mjs";
|
|
4
4
|
//#region src/buildkite/annotate.ts
|
|
5
5
|
const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await hasCommand("buildkite-agent"));
|
|
6
6
|
const MAX_SIZE = 1024 * 1024;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-DwkbVu3p.cjs");
|
|
3
|
+
const require_exec = require("./exec-BsoJ4pFc.cjs");
|
|
3
4
|
//#region src/buildkite/annotate.ts
|
|
4
5
|
const isAnnotationEnabled = async () => Boolean(process.env.BUILDKITE && process.env.BUILDKITE_AGENT_ACCESS_TOKEN && process.env.BUILDKITE_JOB_ID && await require_exec.hasCommand("buildkite-agent"));
|
|
5
6
|
const MAX_SIZE = 1024 * 1024;
|
|
@@ -36,7 +37,7 @@ const annotate = async (markdown, opts = {}) => {
|
|
|
36
37
|
const md = { terminal: (code) => `\`\`\`term\n${code.replace(/```/g, "\\`\\`\\`")}\n\`\`\`` };
|
|
37
38
|
//#endregion
|
|
38
39
|
//#region src/buildkite/index.ts
|
|
39
|
-
var buildkite_exports = /* @__PURE__ */
|
|
40
|
+
var buildkite_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
40
41
|
annotate: () => annotate,
|
|
41
42
|
md: () => md
|
|
42
43
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/cdk/index.ts
|
|
3
|
+
var cdk_exports = /* @__PURE__ */ require("../chunk-DakpK96I.cjs").__exportAll({ normaliseTemplate: () => normaliseTemplate });
|
|
4
|
+
const normaliseTemplateJsonString = (json) => json.replace(/"S3Key":"([0-9a-f]+)\.zip"/g, (_, hash) => `"S3Key":"${"x".repeat(hash.length)}.zip"`).replace(/workerCurrentVersion([0-9a-zA-Z]+)"/g, (_, hash) => `workerCurrentVersion${"x".repeat(hash.length)}"`).replaceAll(/"Value":"\d+\.\d+\.\d+-([^"]+)"/g, (_, hash) => `"Value": "x.x.x-${"x".repeat(hash.length)}"`).replaceAll(/"Value":"v\d+\.\d+\.\d+"/g, (_) => "\"Value\": \"vx.x.x\"").replace(/"DD_TAGS":"git.commit.sha:([0-9a-f]+),git.repository_url:([^\"]+)",/g, "").replaceAll(/(layer:Datadog-[^-]+-.+?:)\d+/g, (_, layer) => `${layer}x`);
|
|
5
|
+
const normaliseTemplate = (template) => JSON.parse(normaliseTemplateJsonString(JSON.stringify(template)));
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, "cdk_exports", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return cdk_exports;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
exports.normaliseTemplate = normaliseTemplate;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { t as __exportAll } from "../chunk-D7D4PA-g.mjs";
|
|
2
|
+
//#region src/cdk/index.ts
|
|
3
|
+
var cdk_exports = /* @__PURE__ */ __exportAll({ normaliseTemplate: () => normaliseTemplate });
|
|
4
|
+
const normaliseTemplateJsonString = (json) => json.replace(/"S3Key":"([0-9a-f]+)\.zip"/g, (_, hash) => `"S3Key":"${"x".repeat(hash.length)}.zip"`).replace(/workerCurrentVersion([0-9a-zA-Z]+)"/g, (_, hash) => `workerCurrentVersion${"x".repeat(hash.length)}"`).replaceAll(/"Value":"\d+\.\d+\.\d+-([^"]+)"/g, (_, hash) => `"Value": "x.x.x-${"x".repeat(hash.length)}"`).replaceAll(/"Value":"v\d+\.\d+\.\d+"/g, (_) => "\"Value\": \"vx.x.x\"").replace(/"DD_TAGS":"git.commit.sha:([0-9a-f]+),git.repository_url:([^\"]+)",/g, "").replaceAll(/(layer:Datadog-[^-]+-.+?:)\d+/g, (_, layer) => `${layer}x`);
|
|
5
|
+
const normaliseTemplate = (template) => JSON.parse(normaliseTemplateJsonString(JSON.stringify(template)));
|
|
6
|
+
//#endregion
|
|
7
|
+
export { normaliseTemplate, cdk_exports as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __exportAll = (all, no_symbols) => {
|
|
9
|
+
let target = {};
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
+
return target;
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
+
key = keys[i];
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
+
get: ((k) => from[k]).bind(null, key),
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
//#endregion
|
|
32
|
+
Object.defineProperty(exports, "__exportAll", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function() {
|
|
35
|
+
return __exportAll;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "__toESM", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function() {
|
|
41
|
+
return __toESM;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
@@ -1,36 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __exportAll = (all, no_symbols) => {
|
|
9
|
-
let target = {};
|
|
10
|
-
for (var name in all) __defProp(target, name, {
|
|
11
|
-
get: all[name],
|
|
12
|
-
enumerable: true
|
|
13
|
-
});
|
|
14
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
-
key = keys[i];
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
-
get: ((k) => from[k]).bind(null, key),
|
|
22
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
30
|
-
}) : target, mod));
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
31
2
|
require("util");
|
|
32
3
|
let zod_v4 = require("zod/v4");
|
|
33
|
-
zod_v4 = __toESM(zod_v4, 1);
|
|
4
|
+
zod_v4 = require_chunk.__toESM(zod_v4, 1);
|
|
34
5
|
let node_util = require("node:util");
|
|
35
6
|
//#region ../../src/utils/logging.ts
|
|
36
7
|
const createLogger = ({ debug, prefixes = [], suffixes = [] }) => {
|
|
@@ -71,18 +42,6 @@ zod_v4.array(zod_v4.object({
|
|
|
71
42
|
}));
|
|
72
43
|
const isErrorWithCode = (err, code) => hasProp(err, "code") && err.code === code;
|
|
73
44
|
//#endregion
|
|
74
|
-
Object.defineProperty(exports, "__exportAll", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function() {
|
|
77
|
-
return __exportAll;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "__toESM", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function() {
|
|
83
|
-
return __toESM;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
45
|
Object.defineProperty(exports, "isErrorWithCode", {
|
|
87
46
|
enumerable: true,
|
|
88
47
|
get: function() {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-DwkbVu3p.cjs");
|
|
2
3
|
let stream = require("stream");
|
|
3
|
-
stream =
|
|
4
|
+
stream = require_chunk.__toESM(stream, 1);
|
|
4
5
|
let util = require("util");
|
|
5
|
-
util =
|
|
6
|
+
util = require_chunk.__toESM(util, 1);
|
|
6
7
|
require("concurrently");
|
|
7
8
|
let execa = require("execa");
|
|
8
9
|
let npm_run_path = require("npm-run-path");
|
|
9
10
|
let npm_which = require("npm-which");
|
|
10
|
-
npm_which =
|
|
11
|
+
npm_which = require_chunk.__toESM(npm_which, 1);
|
|
11
12
|
//#region ../../src/utils/exec.ts
|
|
12
13
|
var YarnSpamFilter = class extends stream.default.Transform {
|
|
13
14
|
silenced = false;
|
package/lib/git/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_git = require("../git-
|
|
2
|
+
const require_git = require("../git-CEnn1Qrs.cjs");
|
|
3
3
|
exports.commit = require_git.commit;
|
|
4
4
|
exports.commitAllChanges = require_git.commitAllChanges;
|
|
5
5
|
exports.currentBranch = require_git.currentBranch;
|
package/lib/git/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as push, c as getHeadCommitMessage, d as commitAllChanges, f as ChangedFile, i as fastForwardBranch, l as findRoot, m as commit, n as isFileGitIgnored, o as getOwnerAndRepo, p as getChangedFiles, r as reset, s as getHeadCommitId, u as currentBranch } from "../index-
|
|
2
|
-
export { ChangedFile, commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
|
1
|
+
import { a as push, c as getHeadCommitMessage, d as commitAllChanges, f as ChangedFile, i as fastForwardBranch, l as findRoot, m as commit, n as isFileGitIgnored, o as getOwnerAndRepo, p as getChangedFiles, r as reset, s as getHeadCommitId, u as currentBranch } from "../index-C9WMO_Y9.cjs";
|
|
2
|
+
export { type ChangedFile, commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
package/lib/git/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as push, c as getHeadCommitMessage, d as commitAllChanges, f as ChangedFile, i as fastForwardBranch, l as findRoot, m as commit, n as isFileGitIgnored, o as getOwnerAndRepo, p as getChangedFiles, r as reset, s as getHeadCommitId, u as currentBranch } from "../index-
|
|
2
|
-
export { ChangedFile, commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
|
1
|
+
import { a as push, c as getHeadCommitMessage, d as commitAllChanges, f as ChangedFile, i as fastForwardBranch, l as findRoot, m as commit, n as isFileGitIgnored, o as getOwnerAndRepo, p as getChangedFiles, r as reset, s as getHeadCommitId, u as currentBranch } from "../index-C9WMO_Y9.mjs";
|
|
2
|
+
export { type ChangedFile, commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
package/lib/git/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as push, d as getHeadCommitMessage, f as currentBranch, g as commit, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, n as isFileGitIgnored, p as commitAllChanges, r as reset, u as getHeadCommitId } from "../git-
|
|
1
|
+
import { a as push, d as getHeadCommitMessage, f as currentBranch, g as commit, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, n as isFileGitIgnored, p as commitAllChanges, r as reset, u as getHeadCommitId } from "../git-BSWQdkgU.mjs";
|
|
2
2
|
export { commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { t as isErrorWithCode } from "./error-
|
|
1
|
+
import { t as __exportAll } from "./chunk-D7D4PA-g.mjs";
|
|
2
|
+
import { t as isErrorWithCode } from "./error-BYLsj5YU.mjs";
|
|
3
3
|
import fs from "fs-extra";
|
|
4
4
|
import git, { findRoot } from "isomorphic-git";
|
|
5
5
|
import path from "path";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-DwkbVu3p.cjs");
|
|
2
3
|
let fs_extra = require("fs-extra");
|
|
3
|
-
fs_extra =
|
|
4
|
+
fs_extra = require_chunk.__toESM(fs_extra, 1);
|
|
4
5
|
let isomorphic_git = require("isomorphic-git");
|
|
5
|
-
isomorphic_git =
|
|
6
|
+
isomorphic_git = require_chunk.__toESM(isomorphic_git, 1);
|
|
6
7
|
let path = require("path");
|
|
7
|
-
path =
|
|
8
|
+
path = require_chunk.__toESM(path, 1);
|
|
8
9
|
let ignore = require("ignore");
|
|
9
|
-
ignore =
|
|
10
|
+
ignore = require_chunk.__toESM(ignore, 1);
|
|
10
11
|
let isomorphic_git_http_node = require("isomorphic-git/http/node");
|
|
11
|
-
isomorphic_git_http_node =
|
|
12
|
+
isomorphic_git_http_node = require_chunk.__toESM(isomorphic_git_http_node, 1);
|
|
12
13
|
//#region src/git/commit.ts
|
|
13
14
|
/**
|
|
14
15
|
* Writes a commit to the local Git repository.
|
|
@@ -346,7 +347,7 @@ const isFileGitIgnored = ({ absolutePath, gitRoot }) => isomorphic_git.default.i
|
|
|
346
347
|
});
|
|
347
348
|
//#endregion
|
|
348
349
|
//#region src/git/index.ts
|
|
349
|
-
var git_exports = /* @__PURE__ */
|
|
350
|
+
var git_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
350
351
|
commit: () => commit,
|
|
351
352
|
commitAllChanges: () => commitAllChanges,
|
|
352
353
|
currentBranch: () => currentBranch,
|
package/lib/github/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_git = require("../git-
|
|
3
|
-
const require_github = require("../github-
|
|
2
|
+
const require_git = require("../git-CEnn1Qrs.cjs");
|
|
3
|
+
const require_github = require("../github-CzH1PaKH.cjs");
|
|
4
4
|
exports.apiTokenFromEnvironment = require_git.apiTokenFromEnvironment;
|
|
5
5
|
exports.buildNameFromEnvironment = require_git.buildNameFromEnvironment;
|
|
6
6
|
exports.createCheckRun = require_github.createCheckRun;
|
package/lib/github/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as putIssueComment, c as buildNameFromEnvironment, d as createCheckRun, i as uploadFileChanges, l as enabledFromEnvironment, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as apiTokenFromEnvironment, u as Annotation } from "../index-
|
|
2
|
-
export { Annotation, apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
|
1
|
+
import { a as putIssueComment, c as buildNameFromEnvironment, d as createCheckRun, i as uploadFileChanges, l as enabledFromEnvironment, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as apiTokenFromEnvironment, u as Annotation } from "../index-D4JUiy2k.cjs";
|
|
2
|
+
export { type Annotation, apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
package/lib/github/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as putIssueComment, c as buildNameFromEnvironment, d as createCheckRun, i as uploadFileChanges, l as enabledFromEnvironment, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as apiTokenFromEnvironment, u as Annotation } from "../index-
|
|
2
|
-
export { Annotation, apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
|
1
|
+
import { a as putIssueComment, c as buildNameFromEnvironment, d as createCheckRun, i as uploadFileChanges, l as enabledFromEnvironment, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as apiTokenFromEnvironment, u as Annotation } from "../index-DbjgHTTm.mjs";
|
|
2
|
+
export { type Annotation, apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
package/lib/github/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as enabledFromEnvironment, o as apiTokenFromEnvironment, s as buildNameFromEnvironment } from "../git-
|
|
2
|
-
import { a as putIssueComment, i as uploadFileChanges, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as createCheckRun } from "../github-
|
|
1
|
+
import { c as enabledFromEnvironment, o as apiTokenFromEnvironment, s as buildNameFromEnvironment } from "../git-BSWQdkgU.mjs";
|
|
2
|
+
import { a as putIssueComment, i as uploadFileChanges, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as createCheckRun } from "../github-IYwiDs5D.mjs";
|
|
3
3
|
export { apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-DwkbVu3p.cjs");
|
|
3
|
+
const require_git = require("./git-CEnn1Qrs.cjs");
|
|
3
4
|
let fs_extra = require("fs-extra");
|
|
4
|
-
fs_extra =
|
|
5
|
+
fs_extra = require_chunk.__toESM(fs_extra, 1);
|
|
5
6
|
let path = require("path");
|
|
6
|
-
path =
|
|
7
|
+
path = require_chunk.__toESM(path, 1);
|
|
7
8
|
//#region src/github/octokit.ts
|
|
8
9
|
const createRestClient = async (options) => new (await (import("@octokit/rest"))).Octokit(options);
|
|
9
10
|
const graphql = async (query, parameters) => (await import("@octokit/graphql")).graphql(query, parameters);
|
|
@@ -239,7 +240,7 @@ const uploadFileChanges = async ({ dir, branch, messageHeadline, messageBody, fi
|
|
|
239
240
|
};
|
|
240
241
|
//#endregion
|
|
241
242
|
//#region src/github/index.ts
|
|
242
|
-
var github_exports = /* @__PURE__ */
|
|
243
|
+
var github_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
243
244
|
apiTokenFromEnvironment: () => require_git.apiTokenFromEnvironment,
|
|
244
245
|
buildNameFromEnvironment: () => require_git.buildNameFromEnvironment,
|
|
245
246
|
createCheckRun: () => createCheckRun,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { r as pluralise } from "./error-
|
|
3
|
-
import { c as enabledFromEnvironment, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, o as apiTokenFromEnvironment, s as buildNameFromEnvironment, u as getHeadCommitId } from "./git-
|
|
1
|
+
import { t as __exportAll } from "./chunk-D7D4PA-g.mjs";
|
|
2
|
+
import { r as pluralise } from "./error-BYLsj5YU.mjs";
|
|
3
|
+
import { c as enabledFromEnvironment, h as findRoot, i as fastForwardBranch, l as getOwnerAndRepo, m as getChangedFiles, o as apiTokenFromEnvironment, s as buildNameFromEnvironment, u as getHeadCommitId } from "./git-BSWQdkgU.mjs";
|
|
4
4
|
import fs from "fs-extra";
|
|
5
5
|
import path from "path";
|
|
6
6
|
//#region src/github/octokit.ts
|
package/lib/index.cjs
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_buildkite = require("./buildkite-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
2
|
+
const require_buildkite = require("./buildkite-Dyd__LF3.cjs");
|
|
3
|
+
const require_cdk_index = require("./cdk/index.cjs");
|
|
4
|
+
const require_git = require("./git-CEnn1Qrs.cjs");
|
|
5
|
+
const require_github = require("./github-CzH1PaKH.cjs");
|
|
6
|
+
const require_net = require("./net-BGgnkCnN.cjs");
|
|
6
7
|
Object.defineProperty(exports, "Buildkite", {
|
|
7
8
|
enumerable: true,
|
|
8
9
|
get: function() {
|
|
9
10
|
return require_buildkite.buildkite_exports;
|
|
10
11
|
}
|
|
11
12
|
});
|
|
13
|
+
Object.defineProperty(exports, "Cdk", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return require_cdk_index.cdk_exports;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
12
19
|
Object.defineProperty(exports, "Git", {
|
|
13
20
|
enumerable: true,
|
|
14
21
|
get: function() {
|
package/lib/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as index_d_exports } from "./index-
|
|
2
|
-
import { t as index_d_exports$1 } from "./index
|
|
3
|
-
import { t as index_d_exports$2 } from "./index-
|
|
4
|
-
import { t as index_d_exports$3 } from "./index-
|
|
5
|
-
|
|
1
|
+
import { t as index_d_exports } from "./index-CNxgBJm_.cjs";
|
|
2
|
+
import { t as index_d_exports$1 } from "./cdk/index.cjs";
|
|
3
|
+
import { t as index_d_exports$2 } from "./index-C9WMO_Y9.cjs";
|
|
4
|
+
import { t as index_d_exports$3 } from "./index-D4JUiy2k.cjs";
|
|
5
|
+
import { t as index_d_exports$4 } from "./index-Kyp8ZCwF.cjs";
|
|
6
|
+
export { index_d_exports as Buildkite, index_d_exports$1 as Cdk, index_d_exports$2 as Git, index_d_exports$3 as GitHub, index_d_exports$4 as Net };
|
package/lib/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as index_d_exports } from "./index-
|
|
2
|
-
import { t as index_d_exports$1 } from "./index
|
|
3
|
-
import { t as index_d_exports$2 } from "./index-
|
|
4
|
-
import { t as index_d_exports$3 } from "./index-
|
|
5
|
-
|
|
1
|
+
import { t as index_d_exports } from "./index-CNxgBJm_.mjs";
|
|
2
|
+
import { t as index_d_exports$1 } from "./cdk/index.mjs";
|
|
3
|
+
import { t as index_d_exports$2 } from "./index-C9WMO_Y9.mjs";
|
|
4
|
+
import { t as index_d_exports$3 } from "./index-DbjgHTTm.mjs";
|
|
5
|
+
import { t as index_d_exports$4 } from "./index-Kyp8ZCwF.mjs";
|
|
6
|
+
export { index_d_exports as Buildkite, index_d_exports$1 as Cdk, index_d_exports$2 as Git, index_d_exports$3 as GitHub, index_d_exports$4 as Net };
|
package/lib/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as buildkite_exports } from "./buildkite-
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
|
|
1
|
+
import { t as buildkite_exports } from "./buildkite-CJ4a_6Cv.mjs";
|
|
2
|
+
import { t as cdk_exports } from "./cdk/index.mjs";
|
|
3
|
+
import { t as git_exports } from "./git-BSWQdkgU.mjs";
|
|
4
|
+
import { t as github_exports } from "./github-IYwiDs5D.mjs";
|
|
5
|
+
import { t as net_exports } from "./net-ZfhL_QSV.mjs";
|
|
6
|
+
export { buildkite_exports as Buildkite, cdk_exports as Cdk, git_exports as Git, github_exports as GitHub, net_exports as Net };
|
package/lib/net/index.cjs
CHANGED
package/lib/net/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as waitFor } from "../index-
|
|
1
|
+
import { n as waitFor } from "../index-Kyp8ZCwF.cjs";
|
|
2
2
|
export { waitFor };
|
package/lib/net/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as waitFor } from "../index-
|
|
1
|
+
import { n as waitFor } from "../index-Kyp8ZCwF.mjs";
|
|
2
2
|
export { waitFor };
|
package/lib/net/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as waitFor } from "../net-
|
|
1
|
+
import { n as waitFor } from "../net-ZfhL_QSV.mjs";
|
|
2
2
|
export { waitFor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_exec = require("./exec-
|
|
1
|
+
const require_chunk = require("./chunk-DakpK96I.cjs");
|
|
2
|
+
const require_exec = require("./exec-BsoJ4pFc.cjs");
|
|
3
3
|
let net = require("net");
|
|
4
|
-
net =
|
|
4
|
+
net = require_chunk.__toESM(net, 1);
|
|
5
5
|
//#region src/net/compose.ts
|
|
6
6
|
const portStringToNumber = (portString) => {
|
|
7
7
|
const port = Number(portString);
|
|
@@ -63,7 +63,7 @@ const waitFor = async ({ host = "localhost", port, resolveCompose = false, timeo
|
|
|
63
63
|
};
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/net/index.ts
|
|
66
|
-
var net_exports = /* @__PURE__ */
|
|
66
|
+
var net_exports = /* @__PURE__ */ require_chunk.__exportAll({ waitFor: () => waitFor });
|
|
67
67
|
//#endregion
|
|
68
68
|
Object.defineProperty(exports, "net_exports", {
|
|
69
69
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { t as createExec } from "./exec-
|
|
1
|
+
import { t as __exportAll } from "./chunk-D7D4PA-g.mjs";
|
|
2
|
+
import { t as createExec } from "./exec-CbhqWxN4.mjs";
|
|
3
3
|
import net from "net";
|
|
4
4
|
//#region src/net/compose.ts
|
|
5
5
|
const portStringToNumber = (portString) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skuba-lib/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-main-20260609014203",
|
|
4
4
|
"description": "Node.js development API for skuba",
|
|
5
5
|
"homepage": "https://github.com/seek-oss/skuba#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"import": "./lib/buildkite/index.mjs",
|
|
23
23
|
"require": "./lib/buildkite/index.cjs"
|
|
24
24
|
},
|
|
25
|
+
"./cdk": {
|
|
26
|
+
"import": "./lib/cdk/index.mjs",
|
|
27
|
+
"require": "./lib/cdk/index.cjs"
|
|
28
|
+
},
|
|
25
29
|
"./git": {
|
|
26
30
|
"import": "./lib/git/index.mjs",
|
|
27
31
|
"require": "./lib/git/index.cjs"
|
|
@@ -42,6 +46,7 @@
|
|
|
42
46
|
"files": [
|
|
43
47
|
"lib",
|
|
44
48
|
"buildkite",
|
|
49
|
+
"cdk",
|
|
45
50
|
"git",
|
|
46
51
|
"github",
|
|
47
52
|
"net"
|
|
@@ -50,7 +55,7 @@
|
|
|
50
55
|
"@octokit/graphql": "^9.0.0",
|
|
51
56
|
"@octokit/rest": "^22.0.0",
|
|
52
57
|
"@octokit/types": "^16.0.0",
|
|
53
|
-
"concurrently": "^
|
|
58
|
+
"concurrently": "^10.0.0",
|
|
54
59
|
"execa": "^9.6.1",
|
|
55
60
|
"fs-extra": "^11.0.0",
|
|
56
61
|
"ignore": "^7.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|