@intentius/chant-lexicon-docker 0.124.85 → 0.124.86
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 +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +3 -3
- package/src/serializer.test.ts +13 -0
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "3becd406dede0deaa71e19b2bc58d972ffe179e7a5c3ee67da9b0489fed23ea3",
|
|
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": "85251ff779d3ba77f412dc6915c508e6c2491b99f914ff4f949d93512831e289"
|
|
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.86",
|
|
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.86"
|
|
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.86"
|
|
74
74
|
}
|
|
75
75
|
}
|
package/src/serializer.test.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { dockerSerializer } from "./serializer";
|
|
|
3
3
|
import { composeKey } from "./compose-key";
|
|
4
4
|
import { DECLARABLE_MARKER, type Declarable } from "@intentius/chant/declarable";
|
|
5
5
|
import { INTRINSIC_MARKER } from "@intentius/chant/intrinsic";
|
|
6
|
+
import { dockerfileText, productImageStages } from "@intentius/chant/ci-image";
|
|
6
7
|
|
|
7
8
|
// ── Mock entities ──────────────────────────────────────────────────
|
|
8
9
|
|
|
@@ -315,6 +316,18 @@ describe("dockerSerializer.serialize — Dockerfile steps", () => {
|
|
|
315
316
|
return (result as { files: Record<string, string> }).files["Dockerfile.app"]!;
|
|
316
317
|
};
|
|
317
318
|
|
|
319
|
+
test("a product image's stages from @intentius/chant/ci-image serialize as ci-image writes them (#4784)", () => {
|
|
320
|
+
const stages = productImageStages({
|
|
321
|
+
name: "terragucci-tofu",
|
|
322
|
+
product: "terragucci",
|
|
323
|
+
description: "OpenTofu 1.13.1 and the terragucci engine",
|
|
324
|
+
source: "https://github.com/INTENTIUS/terragucci",
|
|
325
|
+
tools: [{ tool: "tofu", version: "1.13.1" }],
|
|
326
|
+
bundle: { file: "packages/terragucci/dist/terragucci.mjs", bin: "terragucci" },
|
|
327
|
+
});
|
|
328
|
+
expect(dockerfile({ stages })).toBe(dockerfileText(stages));
|
|
329
|
+
});
|
|
330
|
+
|
|
318
331
|
test("steps are written in the order given, interleaving COPY and RUN", () => {
|
|
319
332
|
expect(dockerfile({
|
|
320
333
|
from: "node:20-alpine",
|