@intentius/chant-lexicon-aws 0.124.27 → 0.124.28

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @intentius/chant-lexicon-aws
2
2
 
3
- AWS CloudFormation lexicon for [chant](https://intentius.io/chant/) — declare infrastructure as typed TypeScript that serializes to CloudFormation JSON templates.
3
+ AWS CloudFormation lexicon for [chant](https://intentius.io/chant/) — declare infrastructure as TypeScript that serializes to CloudFormation JSON templates.
4
4
 
5
5
  This package provides generated constructors for all CloudFormation resource and property types, type-safe intrinsic functions (`Sub`, `Ref`, `Join`, etc.), pseudo-parameters (`AWS.Region`, `AWS.AccountId`, etc.), composites for grouping related resources, and AWS-specific lint rules. It also includes LSP and MCP server support for editor completions and hover.
6
6
 
@@ -4,10 +4,11 @@
4
4
  * Calls the core docsPipeline with AWS-specific config:
5
5
  * service grouping, resource type URLs, and overview content.
6
6
  *
7
- * Produces a standalone Starlight docs site at lexicons/aws/docs/.
7
+ * writeDocsSite puts the pages in the main docs site under
8
+ * docs/src/content/docs/lexicons/aws/ (chant #3993).
8
9
  */
9
10
  /**
10
- * Generate AWS lexicon documentation as a standalone Starlight site.
11
+ * Generate the AWS lexicon's documentation pages.
11
12
  */
12
13
  export declare function generateDocs(options?: {
13
14
  verbose?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA0EH;;GAEG;AACH,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA+CjF"}
1
+ {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA0EH;;GAEG;AACH,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA+CjF"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "1c800148742b7e40de68df8346e65bb722fa15873974200883d590a89f13cee5",
4
+ "manifest.json": "7749c3cf17dd825c7623851cfb31cc6fa230597ea5df4063af01b0105a170946",
5
5
  "meta.json": "435429f998bf94568544f01780e35c28b73e7d030520d59d4025867d272cdb75",
6
6
  "types/index.d.ts": "9e99bb26113f101eb7073759e1b02b8d06aac73379254a64a5e492d52506156c",
7
7
  "rules/hardcoded-region.ts": "957eadcaa9f39cc17d21437565d7a94607d9b082cf28918b178fa067f07498a9",
@@ -73,5 +73,5 @@
73
73
  "skills/chant-aws-eks.md": "8789255709ff004ad0a875fd5999edcdc66fc6e33d710db058d9f42703bcfdfe",
74
74
  "skills/chant-aws-carve-terraform.md": "8780b94ce60aded935938d5ef20ea667738354051da1bf9ca6d70d9886f65d21"
75
75
  },
76
- "composite": "9ffd14aeffb3f72233c09fac4333d3de71a9ce9b806c3c80e4f6294f61208719"
76
+ "composite": "29398f824bb1ae2848747e76d2429415d59f04e7ef9893f10dadca96d7fdc612"
77
77
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws",
3
- "version": "0.124.27",
3
+ "version": "0.124.28",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "AWS",
6
6
  "intrinsics": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-aws",
3
- "version": "0.124.27",
3
+ "version": "0.124.28",
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",
@@ -80,6 +80,6 @@
80
80
  "typescript": "^5.9.3"
81
81
  },
82
82
  "peerDependencies": {
83
- "@intentius/chant": "^0.124.27"
83
+ "@intentius/chant": "^0.124.28"
84
84
  }
85
85
  }
@@ -2,7 +2,8 @@ import { describe, test, expect } from "vitest";
2
2
  import { existsSync, readdirSync, readFileSync } from "fs";
3
3
  import { join, basename } from "path";
4
4
 
5
- const docsDir = join(import.meta.dirname, "..", "..", "docs", "src", "content", "docs");
5
+ // The pages scripts/build-docs.sh generates into the main docs site (chant #3993).
6
+ const docsDir = join(import.meta.dirname, "..", "..", "..", "..", "docs", "src", "content", "docs", "lexicons", "aws");
6
7
  const docsSource = join(import.meta.dirname, "docs.ts");
7
8
  const pagesDir = join(import.meta.dirname, "..", "..", "docs", "pages");
8
9
 
@@ -4,7 +4,8 @@
4
4
  * Calls the core docsPipeline with AWS-specific config:
5
5
  * service grouping, resource type URLs, and overview content.
6
6
  *
7
- * Produces a standalone Starlight docs site at lexicons/aws/docs/.
7
+ * writeDocsSite puts the pages in the main docs site under
8
+ * docs/src/content/docs/lexicons/aws/ (chant #3993).
8
9
  */
9
10
 
10
11
  import { dirname, join } from "path";
@@ -80,7 +81,7 @@ The output is compatible with:
80
81
  - Any tool that accepts CloudFormation JSON templates`;
81
82
 
82
83
  /**
83
- * Generate AWS lexicon documentation as a standalone Starlight site.
84
+ * Generate the AWS lexicon's documentation pages.
84
85
  */
85
86
  export async function generateDocs(options?: { verbose?: boolean }): Promise<void> {
86
87
  const log = options?.verbose
@@ -123,7 +124,7 @@ export async function generateDocs(options?: { verbose?: boolean }): Promise<voi
123
124
  log("Generating AWS documentation...");
124
125
  const result = docsPipeline(config);
125
126
 
126
- log(`Writing standalone docs site to ${outDir}`);
127
+ log(`Writing docs pages for ${outDir}`);
127
128
  writeDocsSite(config, result);
128
129
 
129
130
  console.error(