@skuba-lib/api 2.2.0-main-20260609014203 → 2.2.0-main-20260615042621
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/lib/buildkite/index.cjs +1 -1
- package/lib/buildkite/index.mjs +1 -1
- package/lib/{buildkite-CJ4a_6Cv.mjs → buildkite-DdGh6ljO.mjs} +1 -1
- package/lib/{buildkite-Dyd__LF3.cjs → buildkite-_FU8d_a-.cjs} +4 -4
- package/lib/cdk/index.cjs +1 -1
- package/lib/cdk/index.mjs +1 -1
- package/lib/{error-DwkbVu3p.cjs → error-BnrwrJEG.cjs} +2 -2
- package/lib/{exec-BsoJ4pFc.cjs → exec-Da3EoDZ1.cjs} +5 -5
- package/lib/git/index.cjs +1 -1
- package/lib/git/index.mjs +1 -1
- package/lib/{git-BSWQdkgU.mjs → git-CmP3a9Z9.mjs} +1 -1
- package/lib/{git-CEnn1Qrs.cjs → git-D98vomnD.cjs} +8 -8
- package/lib/github/index.cjs +2 -2
- package/lib/github/index.mjs +2 -2
- package/lib/{github-IYwiDs5D.mjs → github-BUEZ_y2Y.mjs} +2 -2
- package/lib/{github-CzH1PaKH.cjs → github-D12IboDc.cjs} +6 -6
- package/lib/index.cjs +4 -4
- package/lib/index.mjs +4 -4
- package/lib/net/index.cjs +1 -1
- package/lib/net/index.mjs +1 -1
- package/lib/{net-BGgnkCnN.cjs → net-4Ly1AB2r.cjs} +4 -4
- package/lib/{net-ZfhL_QSV.mjs → net-Bi0PXcTy.mjs} +1 -1
- package/package.json +1 -1
- /package/lib/{chunk-D7D4PA-g.mjs → rolldown-runtime-D7D4PA-g.mjs} +0 -0
- /package/lib/{chunk-DakpK96I.cjs → rolldown-runtime-DakpK96I.cjs} +0 -0
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-_FU8d_a-.cjs");
|
|
3
3
|
exports.annotate = require_buildkite.annotate;
|
|
4
4
|
exports.md = require_buildkite.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-DdGh6ljO.mjs";
|
|
2
2
|
export { annotate, md };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __exportAll } from "./
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { n as log } from "./error-BYLsj5YU.mjs";
|
|
3
3
|
import { n as exec, r as hasCommand } from "./exec-CbhqWxN4.mjs";
|
|
4
4
|
//#region src/buildkite/annotate.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_error = require("./error-
|
|
3
|
-
const require_exec = require("./exec-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-BnrwrJEG.cjs");
|
|
3
|
+
const require_exec = require("./exec-Da3EoDZ1.cjs");
|
|
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 require_exec.hasCommand("buildkite-agent"));
|
|
6
6
|
const MAX_SIZE = 1024 * 1024;
|
|
@@ -37,7 +37,7 @@ const annotate = async (markdown, opts = {}) => {
|
|
|
37
37
|
const md = { terminal: (code) => `\`\`\`term\n${code.replace(/```/g, "\\`\\`\\`")}\n\`\`\`` };
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/buildkite/index.ts
|
|
40
|
-
var buildkite_exports = /* @__PURE__ */
|
|
40
|
+
var buildkite_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
41
41
|
annotate: () => annotate,
|
|
42
42
|
md: () => md
|
|
43
43
|
});
|
package/lib/cdk/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region src/cdk/index.ts
|
|
3
|
-
var cdk_exports = /* @__PURE__ */ require("../
|
|
3
|
+
var cdk_exports = /* @__PURE__ */ require("../rolldown-runtime-DakpK96I.cjs").__exportAll({ normaliseTemplate: () => normaliseTemplate });
|
|
4
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
5
|
const normaliseTemplate = (template) => JSON.parse(normaliseTemplateJsonString(JSON.stringify(template)));
|
|
6
6
|
//#endregion
|
package/lib/cdk/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __exportAll } from "../
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
//#region src/cdk/index.ts
|
|
3
3
|
var cdk_exports = /* @__PURE__ */ __exportAll({ normaliseTemplate: () => normaliseTemplate });
|
|
4
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`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
2
|
require("util");
|
|
3
3
|
let zod_v4 = require("zod/v4");
|
|
4
|
-
zod_v4 =
|
|
4
|
+
zod_v4 = require_rolldown_runtime.__toESM(zod_v4, 1);
|
|
5
5
|
let node_util = require("node:util");
|
|
6
6
|
//#region ../../src/utils/logging.ts
|
|
7
7
|
const createLogger = ({ debug, prefixes = [], suffixes = [] }) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_error = require("./error-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-BnrwrJEG.cjs");
|
|
3
3
|
let stream = require("stream");
|
|
4
|
-
stream =
|
|
4
|
+
stream = require_rolldown_runtime.__toESM(stream, 1);
|
|
5
5
|
let util = require("util");
|
|
6
|
-
util =
|
|
6
|
+
util = require_rolldown_runtime.__toESM(util, 1);
|
|
7
7
|
require("concurrently");
|
|
8
8
|
let execa = require("execa");
|
|
9
9
|
let npm_run_path = require("npm-run-path");
|
|
10
10
|
let npm_which = require("npm-which");
|
|
11
|
-
npm_which =
|
|
11
|
+
npm_which = require_rolldown_runtime.__toESM(npm_which, 1);
|
|
12
12
|
//#region ../../src/utils/exec.ts
|
|
13
13
|
var YarnSpamFilter = class extends stream.default.Transform {
|
|
14
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-D98vomnD.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.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-CmP3a9Z9.mjs";
|
|
2
2
|
export { commit, commitAllChanges, currentBranch, fastForwardBranch, findRoot, getChangedFiles, getHeadCommitId, getHeadCommitMessage, getOwnerAndRepo, isFileGitIgnored, push, reset };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_error = require("./error-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-BnrwrJEG.cjs");
|
|
3
3
|
let fs_extra = require("fs-extra");
|
|
4
|
-
fs_extra =
|
|
4
|
+
fs_extra = require_rolldown_runtime.__toESM(fs_extra, 1);
|
|
5
5
|
let isomorphic_git = require("isomorphic-git");
|
|
6
|
-
isomorphic_git =
|
|
6
|
+
isomorphic_git = require_rolldown_runtime.__toESM(isomorphic_git, 1);
|
|
7
7
|
let path = require("path");
|
|
8
|
-
path =
|
|
8
|
+
path = require_rolldown_runtime.__toESM(path, 1);
|
|
9
9
|
let ignore = require("ignore");
|
|
10
|
-
ignore =
|
|
10
|
+
ignore = require_rolldown_runtime.__toESM(ignore, 1);
|
|
11
11
|
let isomorphic_git_http_node = require("isomorphic-git/http/node");
|
|
12
|
-
isomorphic_git_http_node =
|
|
12
|
+
isomorphic_git_http_node = require_rolldown_runtime.__toESM(isomorphic_git_http_node, 1);
|
|
13
13
|
//#region src/git/commit.ts
|
|
14
14
|
/**
|
|
15
15
|
* Writes a commit to the local Git repository.
|
|
@@ -347,7 +347,7 @@ const isFileGitIgnored = ({ absolutePath, gitRoot }) => isomorphic_git.default.i
|
|
|
347
347
|
});
|
|
348
348
|
//#endregion
|
|
349
349
|
//#region src/git/index.ts
|
|
350
|
-
var git_exports = /* @__PURE__ */
|
|
350
|
+
var git_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
351
351
|
commit: () => commit,
|
|
352
352
|
commitAllChanges: () => commitAllChanges,
|
|
353
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-D98vomnD.cjs");
|
|
3
|
+
const require_github = require("../github-D12IboDc.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.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-CmP3a9Z9.mjs";
|
|
2
|
+
import { a as putIssueComment, i as uploadFileChanges, n as readFileChanges, o as getPullRequestNumber, r as uploadAllFileChanges, s as createCheckRun } from "../github-BUEZ_y2Y.mjs";
|
|
3
3
|
export { apiTokenFromEnvironment, buildNameFromEnvironment, createCheckRun, enabledFromEnvironment, getPullRequestNumber, putIssueComment, readFileChanges, uploadAllFileChanges, uploadFileChanges };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __exportAll } from "./
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
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-
|
|
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-CmP3a9Z9.mjs";
|
|
4
4
|
import fs from "fs-extra";
|
|
5
5
|
import path from "path";
|
|
6
6
|
//#region src/github/octokit.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_error = require("./error-
|
|
3
|
-
const require_git = require("./git-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
|
+
const require_error = require("./error-BnrwrJEG.cjs");
|
|
3
|
+
const require_git = require("./git-D98vomnD.cjs");
|
|
4
4
|
let fs_extra = require("fs-extra");
|
|
5
|
-
fs_extra =
|
|
5
|
+
fs_extra = require_rolldown_runtime.__toESM(fs_extra, 1);
|
|
6
6
|
let path = require("path");
|
|
7
|
-
path =
|
|
7
|
+
path = require_rolldown_runtime.__toESM(path, 1);
|
|
8
8
|
//#region src/github/octokit.ts
|
|
9
9
|
const createRestClient = async (options) => new (await (import("@octokit/rest"))).Octokit(options);
|
|
10
10
|
const graphql = async (query, parameters) => (await import("@octokit/graphql")).graphql(query, parameters);
|
|
@@ -240,7 +240,7 @@ const uploadFileChanges = async ({ dir, branch, messageHeadline, messageBody, fi
|
|
|
240
240
|
};
|
|
241
241
|
//#endregion
|
|
242
242
|
//#region src/github/index.ts
|
|
243
|
-
var github_exports = /* @__PURE__ */
|
|
243
|
+
var github_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
244
244
|
apiTokenFromEnvironment: () => require_git.apiTokenFromEnvironment,
|
|
245
245
|
buildNameFromEnvironment: () => require_git.buildNameFromEnvironment,
|
|
246
246
|
createCheckRun: () => createCheckRun,
|
package/lib/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_buildkite = require("./buildkite-
|
|
2
|
+
const require_buildkite = require("./buildkite-_FU8d_a-.cjs");
|
|
3
3
|
const require_cdk_index = require("./cdk/index.cjs");
|
|
4
|
-
const require_git = require("./git-
|
|
5
|
-
const require_github = require("./github-
|
|
6
|
-
const require_net = require("./net-
|
|
4
|
+
const require_git = require("./git-D98vomnD.cjs");
|
|
5
|
+
const require_github = require("./github-D12IboDc.cjs");
|
|
6
|
+
const require_net = require("./net-4Ly1AB2r.cjs");
|
|
7
7
|
Object.defineProperty(exports, "Buildkite", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function() {
|
package/lib/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as buildkite_exports } from "./buildkite-
|
|
1
|
+
import { t as buildkite_exports } from "./buildkite-DdGh6ljO.mjs";
|
|
2
2
|
import { t as cdk_exports } from "./cdk/index.mjs";
|
|
3
|
-
import { t as git_exports } from "./git-
|
|
4
|
-
import { t as github_exports } from "./github-
|
|
5
|
-
import { t as net_exports } from "./net-
|
|
3
|
+
import { t as git_exports } from "./git-CmP3a9Z9.mjs";
|
|
4
|
+
import { t as github_exports } from "./github-BUEZ_y2Y.mjs";
|
|
5
|
+
import { t as net_exports } from "./net-Bi0PXcTy.mjs";
|
|
6
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.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as waitFor } from "../net-
|
|
1
|
+
import { n as waitFor } from "../net-Bi0PXcTy.mjs";
|
|
2
2
|
export { waitFor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_exec = require("./exec-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
|
|
2
|
+
const require_exec = require("./exec-Da3EoDZ1.cjs");
|
|
3
3
|
let net = require("net");
|
|
4
|
-
net =
|
|
4
|
+
net = require_rolldown_runtime.__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_rolldown_runtime.__exportAll({ waitFor: () => waitFor });
|
|
67
67
|
//#endregion
|
|
68
68
|
Object.defineProperty(exports, "net_exports", {
|
|
69
69
|
enumerable: true,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|