@intentius/chant-lexicon-k8s 0.124.84 → 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/kube/project.d.ts.map +1 -1
- package/dist/kube/project.js +3 -3
- package/dist/manifest.json +1 -1
- package/package.json +5 -5
- package/src/kube/project.ts +3 -3
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "b52a0eabaa143dc6711fc7ec70dc75263fd07968bb1322d75da3a982e48cdbfc",
|
|
5
5
|
"meta.json": "e187074ca194ceaf969a3e2f9a85a0be42e7935de316817f309f6c9bee4eb952",
|
|
6
6
|
"types/index.d.ts": "35f6ca4fa77c28ecad363920b444f27ab72f0fe49e82eb20e42824c312ac689b",
|
|
7
7
|
"rules/argo-appset-single-project.ts": "afa9f310753aa2d475f35012b13135b2dfaebed2a35d44edbe185ebc07673674",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"skills/chant-k8s-argo.md": "24c9a85b78a2fc5c6657424baac9cc6d6caff6f47605b8146b2c0082133181cf",
|
|
79
79
|
"skills/chant-k8s-flux.md": "9670efc2e9854bd14686b5adeb707396b9030a4dcaee6529b30abf56efe2c50c"
|
|
80
80
|
},
|
|
81
|
-
"composite": "
|
|
81
|
+
"composite": "93c460944de3883676c6642c237dd3b2e77587e2f7748c26fca07b52f69151d3"
|
|
82
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/kube/project.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/kube/project.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAqC,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAiB,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACnC;AAED;;;;;;;;;GASG;AACH,wBAAsB,sBAAsB,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAkBjH;AAMD,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CAC5C;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACjC,GAAG,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1E,aAAa,GAAG,SAAS,CAY3B;AAED,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,kBAAkB,EAAE,MAAM,EAAE,UAAU,GAAG,gBAAgB,GAAG,SAAS,CAM5G"}
|
package/dist/kube/project.js
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* objects the client already read), and matching is pure once given a live
|
|
18
18
|
* object's coordinates.
|
|
19
19
|
*/
|
|
20
|
-
import {
|
|
20
|
+
import { relative, isAbsolute } from "node:path";
|
|
21
21
|
import { build } from "@intentius/chant/build";
|
|
22
|
-
import { loadChantConfig } from "@intentius/chant/config";
|
|
22
|
+
import { loadChantConfig, resolveSourceDir } from "@intentius/chant/config";
|
|
23
23
|
import { getProvenance } from "@intentius/chant/provenance";
|
|
24
24
|
import { k8sSerializer } from "../serializer.js";
|
|
25
25
|
import { operationFor } from "../api/operation-surface.js";
|
|
@@ -45,7 +45,7 @@ export async function loadKubeProjectContext(cwd = process.cwd()) {
|
|
|
45
45
|
// detect, not paper over.
|
|
46
46
|
if (!configPath)
|
|
47
47
|
return undefined;
|
|
48
|
-
const root =
|
|
48
|
+
const root = resolveSourceDir(cwd, config); // #4794: the one source-dir rule
|
|
49
49
|
const result = await build(root, [k8sSerializer]);
|
|
50
50
|
if (result.errors.length > 0)
|
|
51
51
|
return undefined;
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-k8s",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.86",
|
|
4
4
|
"description": "Kubernetes lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"build": "../../scripts/tsc7.sh -p tsconfig.build.json --sourceMap false && tsc-alias -p tsconfig.build.json && cp src/generated/index.d.ts dist/generated/index.d.d.ts"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@intentius/chant-lexicon-otel": "^0.124.
|
|
78
|
-
"@intentius/chant-lexicon-prometheus": "^0.124.
|
|
77
|
+
"@intentius/chant-lexicon-otel": "^0.124.86",
|
|
78
|
+
"@intentius/chant-lexicon-prometheus": "^0.124.86",
|
|
79
79
|
"js-yaml": "^4.3.1",
|
|
80
80
|
"@types/js-yaml": "^4.0.9"
|
|
81
81
|
},
|
|
82
82
|
"optionalDependencies": {
|
|
83
|
-
"@intentius/chant-k8s-client": "^0.124.
|
|
83
|
+
"@intentius/chant-k8s-client": "^0.124.86"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@intentius/chant": "*",
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"zod": "^4.3.6",
|
|
91
|
-
"@intentius/chant": "^0.124.
|
|
91
|
+
"@intentius/chant": "^0.124.86"
|
|
92
92
|
}
|
|
93
93
|
}
|
package/src/kube/project.ts
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* object's coordinates.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
-
import {
|
|
21
|
+
import { relative, isAbsolute } from "node:path";
|
|
22
22
|
import { build } from "@intentius/chant/build";
|
|
23
|
-
import { loadChantConfig, type ChantConfig } from "@intentius/chant/config";
|
|
23
|
+
import { loadChantConfig, resolveSourceDir, type ChantConfig } from "@intentius/chant/config";
|
|
24
24
|
import { getProvenance, type EntityProvenance } from "@intentius/chant/provenance";
|
|
25
25
|
import type { Declarable } from "@intentius/chant/declarable";
|
|
26
26
|
import { k8sSerializer } from "../serializer";
|
|
@@ -53,7 +53,7 @@ export async function loadKubeProjectContext(cwd: string = process.cwd()): Promi
|
|
|
53
53
|
// exactly the "outside a chant project" case this function exists to
|
|
54
54
|
// detect, not paper over.
|
|
55
55
|
if (!configPath) return undefined;
|
|
56
|
-
const root =
|
|
56
|
+
const root = resolveSourceDir(cwd, config); // #4794: the one source-dir rule
|
|
57
57
|
const result = await build(root, [k8sSerializer]);
|
|
58
58
|
if (result.errors.length > 0) return undefined;
|
|
59
59
|
return { cwd, config, entities: result.entities };
|