@intentius/chant-lexicon-aws 0.124.101 → 0.124.103
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/generate-lexicon.d.ts +2 -0
- package/dist/codegen/generate-lexicon.js +7 -0
- package/dist/generated/lexicon-aws.json +6860 -5
- package/dist/index-import.d.ts +4 -0
- package/dist/index-import.js +24 -1
- package/dist/integrity.json +3 -3
- package/dist/manifest.json +1 -1
- package/dist/member-report.d.ts +13 -0
- package/dist/member-report.js +17 -0
- package/dist/meta.json +6860 -5
- package/dist/plugin.js +2 -1
- package/dist/reference-catalog.js +2 -0
- package/dist/workspace-member.d.ts +1 -7
- package/dist/workspace-member.js +1 -12
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -27,7 +27,7 @@ import { canDescribe, describeOwnProperties, stampRegion } from "./properties.js
|
|
|
27
27
|
import { stampProviderDefaults } from "./defaults.js";
|
|
28
28
|
import { resolveTemplateAttrs } from "./live-attrs.js";
|
|
29
29
|
import { CFParser } from "./import/parser.js";
|
|
30
|
-
import { lastMemberReport,
|
|
30
|
+
import { lastMemberReport, setLastMemberReport } from "./member-report.js";
|
|
31
31
|
import { CFGenerator } from "./import/generator.js";
|
|
32
32
|
import { parseStackTemplate } from "./import/live-export.js";
|
|
33
33
|
import { awsCompletions } from "./lsp/completions.js";
|
|
@@ -61,6 +61,7 @@ export const awsPlugin = {
|
|
|
61
61
|
const member = ctx.config.aws?.member;
|
|
62
62
|
if (!member)
|
|
63
63
|
return { entities: new Map() };
|
|
64
|
+
const { readCloudFormationMember } = await import("./workspace-member.js");
|
|
64
65
|
const read = readCloudFormationMember({ member });
|
|
65
66
|
setLastMemberReport(read.report);
|
|
66
67
|
return { entities: read.entities, warnings: read.warnings };
|
|
@@ -42,6 +42,8 @@ export const awsReferenceCatalog = {
|
|
|
42
42
|
// workload's env var carries (behold#166, ../../k8s/src/reference-catalog.ts).
|
|
43
43
|
{ kind: "AWS::Route53::RecordSet", ids: ["Name"] },
|
|
44
44
|
{ kind: "AWS::S3::Bucket", ids: ["BucketName"] },
|
|
45
|
+
// #5245: a secret by its name, which is what an ExternalSecret's key carries (../../k8s/src/reference-catalog.ts).
|
|
46
|
+
{ kind: "AWS::SecretsManager::Secret", ids: ["Name"] },
|
|
45
47
|
],
|
|
46
48
|
refs: [
|
|
47
49
|
// ── containment (→ boundary boxes, #779) ──
|
|
@@ -24,10 +24,4 @@ export declare function readCloudFormationMember(opts: {
|
|
|
24
24
|
warnings: string[];
|
|
25
25
|
report: AwsMemberReport;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
* The report of the read in this process. `graphMeta` receives only the
|
|
29
|
-
* entities, so the hook that read the member leaves its report here for the
|
|
30
|
-
* hook that publishes it; `chant graph` runs the two in order in one process.
|
|
31
|
-
*/
|
|
32
|
-
export declare function setLastMemberReport(report: AwsMemberReport | undefined): void;
|
|
33
|
-
export declare function lastMemberReport(): AwsMemberReport | undefined;
|
|
27
|
+
export { lastMemberReport, setLastMemberReport } from "./member-report.js";
|
package/dist/workspace-member.js
CHANGED
|
@@ -165,15 +165,4 @@ export function readCloudFormationMember(opts) {
|
|
|
165
165
|
report: { templates: templates.map((t) => t.file), objects: entities.size, ...(member.kind === "cdk" ? { synthesized: true } : {}) },
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* The report of the read in this process. `graphMeta` receives only the
|
|
171
|
-
* entities, so the hook that read the member leaves its report here for the
|
|
172
|
-
* hook that publishes it; `chant graph` runs the two in order in one process.
|
|
173
|
-
*/
|
|
174
|
-
export function setLastMemberReport(report) {
|
|
175
|
-
lastReport = report;
|
|
176
|
-
}
|
|
177
|
-
export function lastMemberReport() {
|
|
178
|
-
return lastReport;
|
|
179
|
-
}
|
|
168
|
+
export { lastMemberReport, setLastMemberReport } from "./member-report.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-aws",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.103",
|
|
4
4
|
"description": "AWS CloudFormation lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -82,6 +82,6 @@
|
|
|
82
82
|
"typescript": "^5.9.3"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@intentius/chant": "^0.124.
|
|
85
|
+
"@intentius/chant": "^0.124.104"
|
|
86
86
|
}
|
|
87
87
|
}
|