@intentius/chant-lexicon-gcp 0.34.0 → 0.37.0
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/codegen/docs.d.ts.map +1 -1
- package/dist/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +2 -2
- package/src/codegen/docs.ts +25 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA4FH;;GAEG;AACH,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA4FH;;GAEG;AACH,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA+uB9E"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "030ce149fc4f5ab72b2aff9d80817d505e217c0d207960e5b9d6b2af0d2459a7",
|
|
5
5
|
"meta.json": "475f10909854d059a2e2d4fb541c058803422e38b9c64bd4d6858c0623eedb8c",
|
|
6
6
|
"types/index.d.ts": "5433b54c04b57d6fda8f3d81ef92ed0aca87f7e8e5dd3ea92d8de6e62a3ccfab",
|
|
7
7
|
"rules/hardcoded-project.ts": "228631d3159e1ffcce2359c66073d4ae59bb0285f378e46e446f416aec50481c",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"skills/chant-gcp-patterns.md": "a7ef31c1eb2f7244d3f73952c300472ef94c1eb09bd7a1003281b89299b6b704",
|
|
38
38
|
"skills/chant-gcp-gke.md": "be277019da9a722c851e47cd2dfb9c9536668948c3535fb20db7697e934c4e2b"
|
|
39
39
|
},
|
|
40
|
-
"composite": "
|
|
40
|
+
"composite": "d528219eaac0120077a2dafb420adf52b3c00e02eaba6642e9de0f0cbaa5acfd"
|
|
41
41
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-gcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Google Cloud lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"typescript": "^5.9.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@intentius/chant": "^0.
|
|
79
|
+
"@intentius/chant": "^0.37.0",
|
|
80
80
|
"typescript": "^5.9.3"
|
|
81
81
|
}
|
|
82
82
|
}
|
package/src/codegen/docs.ts
CHANGED
|
@@ -330,6 +330,25 @@ Post-synth checks run against the serialized YAML after build.
|
|
|
330
330
|
| WGC203 | GKE node pool with overly broad cloud-platform OAuth scope |
|
|
331
331
|
| WGC204 | ComputeInstance without shielded VM config |
|
|
332
332
|
|
|
333
|
+
### Correctness
|
|
334
|
+
|
|
335
|
+
| Rule | Description |
|
|
336
|
+
|------|-------------|
|
|
337
|
+
| WGC111 | Resource reference points to a name not defined in the output |
|
|
338
|
+
| WGC112 | Config Connector resource has missing or invalid apiVersion |
|
|
339
|
+
| WGC113 | Config Connector resource uses an alpha API version |
|
|
340
|
+
|
|
341
|
+
### Schema validation
|
|
342
|
+
|
|
343
|
+
Checks each Config Connector resource's \`spec\` against the CRD schema it is
|
|
344
|
+
generated from.
|
|
345
|
+
|
|
346
|
+
| Rule | Description |
|
|
347
|
+
|------|-------------|
|
|
348
|
+
| WGC401 | Config Connector resource spec contains unknown field |
|
|
349
|
+
| WGC402 | Config Connector resource is missing a required spec field |
|
|
350
|
+
| WGC403 | Config Connector resource spec field has wrong type or structure |
|
|
351
|
+
|
|
333
352
|
### Compliance
|
|
334
353
|
|
|
335
354
|
| Rule | Description |
|
|
@@ -794,7 +813,7 @@ When you scaffold a new project with \`chant init --lexicon gcp\`, the skill is
|
|
|
794
813
|
The \`chant-gcp\` skill covers:
|
|
795
814
|
|
|
796
815
|
- **Build** — \`chant build src/ --output manifests.yaml\`
|
|
797
|
-
- **Lint** — \`chant lint src/\` +
|
|
816
|
+
- **Lint** — \`chant lint src/\` + 23 post-synth checks
|
|
798
817
|
- **Apply** — \`kubectl apply -f manifests.yaml\`
|
|
799
818
|
- **Status** — \`kubectl get gcp -A\`
|
|
800
819
|
- **Troubleshooting** — reconciliation status, events, common error patterns
|
|
@@ -811,6 +830,11 @@ The \`chant-gcp\` skill covers:
|
|
|
811
830
|
| \`examples/basic-bucket\` | Example StorageBucket code |`,
|
|
812
831
|
},
|
|
813
832
|
],
|
|
833
|
+
// `lint-rules` is gcp's rules documentation, so the generated `rules`
|
|
834
|
+
// table is a duplicate — and buildSidebar already declines to link it when
|
|
835
|
+
// a `lint-rules` page exists, which left it emitted but unreachable
|
|
836
|
+
// (#1312). aws, k8s, gitlab and github suppress it for the same reason.
|
|
837
|
+
suppressPages: ["rules"],
|
|
814
838
|
sidebarExtra: [
|
|
815
839
|
{ label: "Deploying to GKE", slug: "gke-kubernetes" },
|
|
816
840
|
],
|