@intentius/chant-lexicon-azure 0.19.1 → 0.20.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/package.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/package.ts +5 -1
- package/src/plugin.ts +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../src/codegen/package.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,kCAAkC,CAAC;AAG1C,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AAW9C;;GAEG;AACH,wBAAsB,cAAc,CAAC,IAAI,GAAE,cAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../src/codegen/package.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,kCAAkC,CAAC;AAG1C,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AAW9C;;GAEG;AACH,wBAAsB,cAAc,CAAC,IAAI,GAAE,cAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,CAiDtF"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "9c20268ecaed3d0f86a93507f2dc85fcec6d8dad8eda21d224250a55ae80d168",
|
|
5
5
|
"meta.json": "4b9c0be734f8b4a5fbba3136e14aaa1ea73ff0ee93f2aa480db83e476ce727b5",
|
|
6
6
|
"types/index.d.ts": "d62c0fd7947ddf04a9126cc8bf44a9f4437f21cf8647fc812c022398f2c00d57",
|
|
7
7
|
"rules/hardcoded-location.ts": "a9b1d1cec93f2ca9c5206641f53fc9621cefcfd2c00b3ab89c194b30a75fa949",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"skills/chant-azure-patterns.md": "1a3bacfac612826b77332d2692a59195638db9f1b5e8ea2eda7579621d25f603",
|
|
34
34
|
"skills/chant-azure-aks.md": "2d4e0098c1a22b54ffadd410564d9df0f3a04cb4eb7c6261f20ae33106e7aca8"
|
|
35
35
|
},
|
|
36
|
-
"composite": "
|
|
36
|
+
"composite": "ced906f09ebf963a407744e5dba3174ca0796595cdfac27bc521c66de66cedf4"
|
|
37
37
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-azure",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Azure lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^5.9.3"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@intentius/chant": "^0.
|
|
77
|
+
"@intentius/chant": "^0.20.0",
|
|
78
78
|
"typescript": "^5.9.3"
|
|
79
79
|
}
|
|
80
80
|
}
|
package/src/codegen/package.ts
CHANGED
|
@@ -39,12 +39,16 @@ export async function packageLexicon(opts: PackageOptions = {}): Promise<Package
|
|
|
39
39
|
|
|
40
40
|
buildManifest: (_genResult) => {
|
|
41
41
|
// Lazy-import to avoid circular dependency
|
|
42
|
+
// Trust the plugin's own `isTag` registration (chant #1067) instead
|
|
43
|
+
// of hardcoding `false` for every entry regardless of what
|
|
44
|
+
// ../plugin.ts declares — see aws's codegen/package.ts for the bug
|
|
45
|
+
// this pattern produced (#1039) when the two sources disagree.
|
|
42
46
|
const intrinsics: IntrinsicDef[] = (azurePlugin.intrinsics?.() ?? []).map(
|
|
43
47
|
(i: IntrinsicDef) => ({
|
|
44
48
|
name: i.name,
|
|
45
49
|
description: i.description,
|
|
46
50
|
outputKey: intrinsicOutputKey(i.name),
|
|
47
|
-
isTag:
|
|
51
|
+
isTag: i.isTag,
|
|
48
52
|
}),
|
|
49
53
|
);
|
|
50
54
|
|
package/src/plugin.ts
CHANGED
|
@@ -37,15 +37,15 @@ export const azurePlugin: LexiconPlugin = {
|
|
|
37
37
|
|
|
38
38
|
intrinsics(): IntrinsicDef[] {
|
|
39
39
|
return [
|
|
40
|
-
{ name: "ResourceId", description: "Generate a resource ID for an Azure resource" },
|
|
41
|
-
{ name: "Reference", description: "Get the runtime state of a deployed resource" },
|
|
42
|
-
{ name: "Concat", description: "Concatenate multiple string values" },
|
|
43
|
-
{ name: "ResourceGroup", description: "Get the current resource group object" },
|
|
44
|
-
{ name: "Subscription", description: "Get the current subscription object" },
|
|
45
|
-
{ name: "UniqueString", description: "Generate a deterministic hash string" },
|
|
46
|
-
{ name: "Format", description: "Format a string with arguments" },
|
|
47
|
-
{ name: "If", description: "Conditional expression" },
|
|
48
|
-
{ name: "ListKeys", description: "List access keys for a resource" },
|
|
40
|
+
{ name: "ResourceId", description: "Generate a resource ID for an Azure resource", isTag: false },
|
|
41
|
+
{ name: "Reference", description: "Get the runtime state of a deployed resource", isTag: false },
|
|
42
|
+
{ name: "Concat", description: "Concatenate multiple string values", isTag: false },
|
|
43
|
+
{ name: "ResourceGroup", description: "Get the current resource group object", isTag: false },
|
|
44
|
+
{ name: "Subscription", description: "Get the current subscription object", isTag: false },
|
|
45
|
+
{ name: "UniqueString", description: "Generate a deterministic hash string", isTag: false },
|
|
46
|
+
{ name: "Format", description: "Format a string with arguments", isTag: false },
|
|
47
|
+
{ name: "If", description: "Conditional expression", isTag: false },
|
|
48
|
+
{ name: "ListKeys", description: "List access keys for a resource", isTag: false },
|
|
49
49
|
];
|
|
50
50
|
},
|
|
51
51
|
|