@intentius/chant-lexicon-docker 0.124.96 → 0.124.98
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": "6e3414b9404e876e77ffe9f76ff8a0f8abf3f50c0ee7d1b30df0ac4bec395471",
|
|
5
5
|
"meta.json": "b566d5cb84a87836a861dc5840c229577e860c5427123192810b7839f764a9ee",
|
|
6
6
|
"types/index.d.ts": "256644d2bffa2845900cf86984cc7dde3d9e79da5994ab13a22b0b83edf7f62a",
|
|
7
7
|
"rules/no-latest-tag.ts": "2281be0457c02e782fbafe015f65ff5fd2b008ef0f879226e9b548a3ea65399b",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"skills/chant-docker.md": "d499e18525f2cfd7ecc5b5be4a4c52c6931ebdef8d70f872d53279e53bed6f7e",
|
|
25
25
|
"skills/chant-docker-patterns.md": "655f437c833796e0d520bbe08740a4226d48fcec4912b0438672ed5a299897e7"
|
|
26
26
|
},
|
|
27
|
-
"composite": "
|
|
27
|
+
"composite": "9387b996fc141066a3a80ae6ddaab4bfdac2b9c52b2795683c4a447b15ceccfc"
|
|
28
28
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-docker",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.98",
|
|
4
4
|
"description": "Docker lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"build": "../../scripts/tsc7.sh -p tsconfig.build.json --sourceMap false && tsc-alias -p tsconfig.build.json"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@intentius/chant-lexicon-otel": "^0.124.
|
|
66
|
+
"@intentius/chant-lexicon-otel": "^0.124.98"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@intentius/chant": "*",
|
|
70
70
|
"typescript": "^5.9.3"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@intentius/chant": "^0.124.
|
|
73
|
+
"@intentius/chant": "^0.124.98"
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -11,6 +11,8 @@ import { mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, statSync, wr
|
|
|
11
11
|
import { join, relative, resolve } from "path";
|
|
12
12
|
import { load } from "js-yaml";
|
|
13
13
|
import { importCommand, liveImportFromPlugins } from "@intentius/chant/cli/commands/import";
|
|
14
|
+
// chant import marks each file it writes (#5078); the expected files carry the same first line.
|
|
15
|
+
import { markImportedSource } from "@intentius/chant/lint/rules/imported-source";
|
|
14
16
|
import type { LexiconPlugin } from "@intentius/chant/lexicon";
|
|
15
17
|
import { build } from "@intentius/chant/build";
|
|
16
18
|
import { EmbeddedImports } from "@intentius/chant/import/embedded";
|
|
@@ -92,7 +94,7 @@ function collector(doc: Json): { service: string; config: string } {
|
|
|
92
94
|
|
|
93
95
|
/** `chant import config.yaml`: the otel modules for the config alone. */
|
|
94
96
|
function standalone(text: string): Record<string, string> {
|
|
95
|
-
return Object.fromEntries(new OtelCollectorGenerator().generate(new OtelCollectorParser().parse(text)).map((f) => [f.path, f.content]));
|
|
97
|
+
return Object.fromEntries(new OtelCollectorGenerator().generate(new OtelCollectorParser().parse(text)).map((f) => [f.path, markImportedSource(f.path, f.content)]));
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
/** The modules under `dir/`, keyed by their path inside it. */
|