@intentius/chant-lexicon-otel 0.124.5 → 0.124.7
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/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "4f42c1a9277f1ef5e1af7e20226f9014b5a7613f3e8ee59dbde86fb59cca4f44",
|
|
5
5
|
"meta.json": "884042882639c4dd91a8a97b9826869de90553ec4420fd1e6a0b08bb16fc5181",
|
|
6
6
|
"types/index.d.ts": "a1070fd1cb3e8d8a9002fc5a75a80b3bdda02965be351e8aed2dbc2f63d36e3c",
|
|
7
7
|
"rules/component-id-syntax.ts": "95f507614d2626159140d906bce9d086e8ecba18ede22f5ddfbda13ac1c08169",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"skills/chant-otel-custom-components.md": "82e53bb482281f79b428e66fb80a1c194ead74a1a34a88bbebb11c6ad5493258",
|
|
38
38
|
"skills/chant-otel-platforms.md": "c90836952dc5c88d668b890152a5063bdb656bce73fc7fa3233a3ea58ad85686"
|
|
39
39
|
},
|
|
40
|
-
"composite": "
|
|
40
|
+
"composite": "9165dcfe2b60213a0f9361949c20791f0f43a7ef336952cf4c48eebd111d610d"
|
|
41
41
|
}
|
package/dist/manifest.json
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/** Runs `git` or `gh`, returning stdout. Rejects on a non-zero exit. */
|
|
8
8
|
export type CommandRunner = (bin: "git" | "gh", args: string[], cwd: string) => Promise<string>;
|
|
9
|
+
/**
|
|
10
|
+
* Runs the command in `cwd`. `gh issue` and `gh pr` name no host, so a `gh`
|
|
11
|
+
* call is told the job's forge or `cwd`'s `origin` host (core's
|
|
12
|
+
* `ghHostEnv`, #3780, #3798): a GitHub Enterprise Server checkout is not sent
|
|
13
|
+
* to github.com.
|
|
14
|
+
*/
|
|
9
15
|
export declare const defaultRunner: CommandRunner;
|
|
10
16
|
export interface Release {
|
|
11
17
|
tag: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/op/activities/github.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../src/op/activities/github.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,wEAAwE;AACxE,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAEhG;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,aAQ3B,CAAC;AAEF,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAG1E;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAM1D;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,GAAE,OAAO,KAAa,EAAE,KAAK,qBAA2B,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAU/H;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAUtI;AAED,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA0B/F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-otel",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.7",
|
|
4
4
|
"description": "OpenTelemetry Collector lexicon for chant — typed receivers, processors, exporters, connectors, extensions and pipelines, serialized to collector YAML",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"typescript": "^5.9.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@intentius/chant": "^0.124.
|
|
82
|
+
"@intentius/chant": "^0.124.7",
|
|
83
83
|
"typescript": "^5.9.3"
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -6,17 +6,26 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
|
+
import { ghHostEnv } from "@intentius/chant/op/activities/gh-host";
|
|
9
10
|
|
|
10
11
|
/** Runs `git` or `gh`, returning stdout. Rejects on a non-zero exit. */
|
|
11
12
|
export type CommandRunner = (bin: "git" | "gh", args: string[], cwd: string) => Promise<string>;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Runs the command in `cwd`. `gh issue` and `gh pr` name no host, so a `gh`
|
|
16
|
+
* call is told the job's forge or `cwd`'s `origin` host (core's
|
|
17
|
+
* `ghHostEnv`, #3780, #3798): a GitHub Enterprise Server checkout is not sent
|
|
18
|
+
* to github.com.
|
|
19
|
+
*/
|
|
20
|
+
export const defaultRunner: CommandRunner = async (bin, args, cwd) => {
|
|
21
|
+
const env = bin === "gh" ? await ghHostEnv(process.env, cwd) : process.env;
|
|
22
|
+
return new Promise((resolve, reject) => {
|
|
23
|
+
execFile(bin, args, { cwd, env, maxBuffer: 16 * 1024 * 1024, encoding: "utf8" }, (err, stdout, stderr) => {
|
|
16
24
|
if (err) reject(new Error(`${bin} ${args.join(" ")} failed: ${(stderr || err.message).trim()}`));
|
|
17
25
|
else resolve(stdout);
|
|
18
26
|
});
|
|
19
27
|
});
|
|
28
|
+
};
|
|
20
29
|
|
|
21
30
|
export interface Release {
|
|
22
31
|
tag: string;
|