@intentius/chant-lexicon-k8s 0.124.11 → 0.124.13

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.
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "b973f732bc013dcd6720f1021cc2e5ec0df1cbc055cc3ff4a527430c9378dfdd",
4
+ "manifest.json": "950fd180535fff394015a955f45ee6eb8623c843c05fd3ef7d41128f14170a38",
5
5
  "meta.json": "c1831ac15083f5e0e45b29698d7b77f1c01646240fe6de5d6320753188594f69",
6
6
  "types/index.d.ts": "5c5340046d090ae9db5553039d923cf92a8b2eb57aa4dc941273ed5bcfb5bc9d",
7
7
  "rules/argo-appset-single-project.ts": "afa9f310753aa2d475f35012b13135b2dfaebed2a35d44edbe185ebc07673674",
8
- "rules/argo-ast.ts": "f57b7d84fef9c9cd326a7cad0dff290914e01299415d64bdab48e2f6eb4181c3",
9
- "rules/argo-automated-prune.ts": "176ac5441c3ccb7106a194abab3abe22fd8a29f976716761c66c243b72d57b14",
10
- "rules/flux-source-ref-pin.ts": "f25038eaba7f33ea679b59087d7557f3ffd2d798ea02db6f9f6929e36d470c6e",
11
- "rules/hardcoded-namespace.ts": "8dd82b6be3197285b82f5b92dfe0e25deb8048e16f90e8e5c28ee0d04804e384",
12
- "rules/latest-image-tag.ts": "9dd961b791b4f424fc4edcdbdce69ad30476dc1cd03f66b8c8e19cb5f8a4082d",
13
- "rules/missing-resource-limits.ts": "d64b5ed1c7c87d60e38eecfdad7668620222bbaf6ff6f4860adf54e816265bb2",
8
+ "rules/argo-ast.ts": "034fed4041ffc3e81a15daf2166ffbb29d1e0d9c28b3db4a1492c63a42076cbd",
9
+ "rules/argo-automated-prune.ts": "459fad6700a76a210b0f1811c29149f3d5faab70107a2763182bcfb412d40566",
10
+ "rules/flux-source-ref-pin.ts": "34a9a52b218de6e1f5d144652174ce93809b6bc068ae5fcccc576166f1d4991a",
11
+ "rules/hardcoded-namespace.ts": "4b149cddd01cf9f8fc539bd1e499226a3fb06ba21dff74c71ec18e5335a4eca7",
12
+ "rules/latest-image-tag.ts": "fa53d7fd8b60e6ee27b37dc2687964339061de5dab12118bf1878d85c0e31c47",
13
+ "rules/missing-resource-limits.ts": "afc3376962765f64984786e4f42c02575c34d6f2c1bfc3f30fb73a7d1a7f99bd",
14
14
  "rules/argo-helpers.ts": "ac68a33978b03c0fde7a6e4fa0c9a8907c21d11012d9408b6db64c66cb7ec635",
15
15
  "rules/argo002.ts": "d2f07daabfc7a4624d3d60ea151fd2380d43f1578dd6a17825f6f6e0ebc610ba",
16
16
  "rules/argo003.ts": "a61024fbd3db772eface6b2e4fee618a5818f12a1050faea8e358e0fdc992396",
@@ -78,5 +78,5 @@
78
78
  "skills/chant-k8s-argo.md": "24c9a85b78a2fc5c6657424baac9cc6d6caff6f47605b8146b2c0082133181cf",
79
79
  "skills/chant-k8s-flux.md": "9670efc2e9854bd14686b5adeb707396b9030a4dcaee6529b30abf56efe2c50c"
80
80
  },
81
- "composite": "cd2362327c4eef219d466cbdcd4e03b90508d70147c86e550e27e20a8492064c"
81
+ "composite": "8d11b0b131eae0c749dcefbfd7f7b9a8d5878df0af3b54b42a53bfc570a04e4d"
82
82
  }
@@ -6,7 +6,7 @@
6
6
  * helpers walk the object-literal first argument so a rule can read a nested
7
7
  * property by path without re-implementing the traversal each time.
8
8
  */
9
- import * as ts from "typescript";
9
+ import { ts } from "@intentius/chant/lint/typescript";
10
10
  /**
11
11
  * Find the object-literal first argument of every `new <Kind>(...)` expression
12
12
  * in the file, where Kind is one of the supplied resource kinds.
@@ -1 +1 @@
1
- {"version":3,"file":"argo-ast.d.ts","sourceRoot":"","sources":["../../../src/lint/rules/argo-ast.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,EAA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">=0.1.0",
5
5
  "namespace": "K8s",
6
6
  "intrinsics": [],
@@ -6,7 +6,7 @@
6
6
  * helpers walk the object-literal first argument so a rule can read a nested
7
7
  * property by path without re-implementing the traversal each time.
8
8
  */
9
- import * as ts from "typescript";
9
+ import { ts } from "@intentius/chant/lint/typescript";
10
10
 
11
11
  /**
12
12
  * Find the object-literal first argument of every `new <Kind>(...)` expression
@@ -7,7 +7,7 @@ import {
7
7
  hasAnnotation,
8
8
  lineCol,
9
9
  } from "./argo-ast";
10
- import * as ts from "typescript";
10
+ import { ts } from "@intentius/chant/lint/typescript";
11
11
 
12
12
  /**
13
13
  * ARGO001: Production Application must not enable automated prune
@@ -1,6 +1,6 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
2
  import { findResourceLiterals, getNestedObject, getNestedString, getProp, lineCol } from "./argo-ast";
3
- import * as ts from "typescript";
3
+ import { ts } from "@intentius/chant/lint/typescript";
4
4
 
5
5
  /**
6
6
  * FLUX001: GitRepository must pin spec.ref
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8001: Hardcoded Namespace
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8002: Latest Image Tag
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8003: Missing Resource Limits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-k8s",
3
- "version": "0.124.11",
3
+ "version": "0.124.13",
4
4
  "description": "Kubernetes lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -78,7 +78,7 @@
78
78
  "@types/js-yaml": "^4.0.9"
79
79
  },
80
80
  "optionalDependencies": {
81
- "@intentius/chant-k8s-client": "^0.124.11"
81
+ "@intentius/chant-k8s-client": "^0.124.13"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@intentius/chant": "*",
@@ -86,7 +86,6 @@
86
86
  },
87
87
  "peerDependencies": {
88
88
  "zod": "^4.3.6",
89
- "@intentius/chant": "^0.124.11",
90
- "typescript": "^5.9.3"
89
+ "@intentius/chant": "^0.124.13"
91
90
  }
92
91
  }
@@ -6,7 +6,7 @@
6
6
  * helpers walk the object-literal first argument so a rule can read a nested
7
7
  * property by path without re-implementing the traversal each time.
8
8
  */
9
- import * as ts from "typescript";
9
+ import { ts } from "@intentius/chant/lint/typescript";
10
10
 
11
11
  /**
12
12
  * Find the object-literal first argument of every `new <Kind>(...)` expression
@@ -7,7 +7,7 @@ import {
7
7
  hasAnnotation,
8
8
  lineCol,
9
9
  } from "./argo-ast";
10
- import * as ts from "typescript";
10
+ import { ts } from "@intentius/chant/lint/typescript";
11
11
 
12
12
  /**
13
13
  * ARGO001: Production Application must not enable automated prune
@@ -1,6 +1,6 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
2
  import { findResourceLiterals, getNestedObject, getNestedString, getProp, lineCol } from "./argo-ast";
3
- import * as ts from "typescript";
3
+ import { ts } from "@intentius/chant/lint/typescript";
4
4
 
5
5
  /**
6
6
  * FLUX001: GitRepository must pin spec.ref
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8001: Hardcoded Namespace
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8002: Latest Image Tag
@@ -1,5 +1,5 @@
1
1
  import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
- import * as ts from "typescript";
2
+ import { ts } from "@intentius/chant/lint/typescript";
3
3
 
4
4
  /**
5
5
  * WK8003: Missing Resource Limits