@intentius/chant-lexicon-docker 0.124.26 → 0.124.28
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/README.md +1 -1
- package/dist/codegen/docs.d.ts.map +1 -1
- package/dist/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +3 -3
- package/src/codegen/docs.ts +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @intentius/chant-lexicon-docker
|
|
2
2
|
|
|
3
|
-
Docker lexicon for [chant](https://intentius.io/chant/) — declare Docker Compose services and Dockerfile build instructions as
|
|
3
|
+
Docker lexicon for [chant](https://intentius.io/chant/) — declare Docker Compose services and Dockerfile build instructions as TypeScript that serializes to `docker-compose.yml` and `Dockerfile.*` files.
|
|
4
4
|
|
|
5
5
|
Provides typed constructors for Service, Volume, Network, Config, Secret, and multi-stage Dockerfile resources, plus variable interpolation, default labels, Docker-specific lint rules, LSP completions, and MCP server support.
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA0IH,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAqB9E"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "37040391411029bfffc5b52859dce58f487e09c2b2e5bdc5cbed3b07d7504633",
|
|
5
5
|
"meta.json": "b566d5cb84a87836a861dc5840c229577e860c5427123192810b7839f764a9ee",
|
|
6
6
|
"types/index.d.ts": "f34a417496b2c02f047b0adc0bf41bacf9a3b207ff15af17bbe664329bbfa448",
|
|
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": "21b145c5eb67a8596a043093c7e571f80932845041b7f062e716181c4b901491"
|
|
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.28",
|
|
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 && tsc-alias -p tsconfig.build.json && find dist -type f \\( -name \"*.js\" -o -name \"*.js.map\" \\) -delete"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@intentius/chant-lexicon-otel": "^0.124.
|
|
66
|
+
"@intentius/chant-lexicon-otel": "^0.124.28"
|
|
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.28"
|
|
74
74
|
}
|
|
75
75
|
}
|
package/src/codegen/docs.ts
CHANGED
|
@@ -144,7 +144,8 @@ Write every Dockerfile stage as an ordered \`steps\` list, one instruction per s
|
|
|
144
144
|
Where two Dockerfiles repeat a stage or a run of steps, export it once as a const (a \`DockerfileStage\` or a \`DockerfileStep[]\`) from its own module and import it in both. Spread imported consts, not function results; a Dockerfile that needs parameters is a \`Composite\`.
|
|
145
145
|
Run \`chant build src --lexicon docker -o build/docker-compose.yml\` (Dockerfiles are written beside it) and compare with the original files, then \`chant lint src\`. Run \`chant lint src --fix\` for DKRS002 (per-kind fields to \`steps\`, then reorder the steps it writes), fix every other finding by hand, and repeat until lint is clean.
|
|
146
146
|
Report the generated docker-compose.yml and each Dockerfile.<name>, and any finding you left and why.
|
|
147
|
-
|
|
147
|
+
Do not push an image, run \`docker compose up\` against anything but the local Docker daemon, or change files outside this project.
|
|
148
|
+
Never deploy to a real cloud account or shared environment (with \`chant run\`, \`chant components\` or a platform's own CLI), approve (a pull request review, \`chant approve\` or \`chant run approve\`), override a policy denial (\`chant approve policy-override\`), or merge; never touch \`.chant/allowed_signers\` or \`chant/lifecycle\`.`;
|
|
148
149
|
|
|
149
150
|
export async function generateDocs(opts?: { verbose?: boolean }): Promise<void> {
|
|
150
151
|
const pkgDir = dirname(dirname(dirname(fileURLToPath(import.meta.url))));
|