@intentius/chant-lexicon-otel 0.121.1 → 0.123.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "6dd29019d8beca147df98db2b99f97a93ab49d61ceab40f22bcc69959558a302",
4
+ "manifest.json": "5cc9671435848062476cf851b9519a4c72d5d2e5facb920390d9c613bc4c3dbb",
5
5
  "meta.json": "884042882639c4dd91a8a97b9826869de90553ec4420fd1e6a0b08bb16fc5181",
6
6
  "types/index.d.ts": "a1070fd1cb3e8d8a9002fc5a75a80b3bdda02965be351e8aed2dbc2f63d36e3c",
7
7
  "rules/component-id-syntax.ts": "95f507614d2626159140d906bce9d086e8ecba18ede22f5ddfbda13ac1c08169",
@@ -37,5 +37,5 @@
37
37
  "skills/chant-otel-custom-components.md": "82e53bb482281f79b428e66fb80a1c194ead74a1a34a88bbebb11c6ad5493258",
38
38
  "skills/chant-otel-platforms.md": "c90836952dc5c88d668b890152a5063bdb656bce73fc7fa3233a3ea58ad85686"
39
39
  },
40
- "composite": "46e0625d676b922b705bcf92de96ea5733b4399fd9da1cd5a34597ac8bd86a75"
40
+ "composite": "12b46c68010b1d866343f511924485d9eaa673b5daf58e2d4a038a666d6745b0"
41
41
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otel",
3
- "version": "0.121.1",
3
+ "version": "0.123.0",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "OTel",
6
6
  "intrinsics": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-otel",
3
- "version": "0.121.1",
3
+ "version": "0.123.0",
4
4
  "description": "OpenTelemetry Collector lexicon for chant — typed receivers, processors, exporters, connectors, extensions and pipelines, serialized to collector YAML",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -79,7 +79,7 @@
79
79
  "typescript": "^5.9.3"
80
80
  },
81
81
  "peerDependencies": {
82
- "@intentius/chant": "^0.121.1",
82
+ "@intentius/chant": "^0.123.0",
83
83
  "typescript": "^5.9.3"
84
84
  }
85
85
  }
@@ -97,7 +97,8 @@ async function importAndBuild(yaml: string): Promise<Imported> {
97
97
  const srcDir = join(dir, "src");
98
98
  for (const file of files) writeFileSync(join(srcDir, file.path), file.content);
99
99
  const result = await build(srcDir, [otelSerializer]);
100
- const lint = await lintCommand({ path: srcDir, format: "stylish" });
100
+ // Source-rule cleanliness of the generated TypeScript only; the generated source's post-synth findings belong to the build (#3750).
101
+ const lint = await lintCommand({ path: srcDir, format: "stylish", postSynth: false });
101
102
  return {
102
103
  source: files.map((f) => `// ${f.path}\n${f.content}`).join("\n"),
103
104
  warnings: ir.warnings ?? [],
@@ -451,7 +452,8 @@ describe("chant import collector.yaml", () => {
451
452
  const built = await build(output, [otelSerializer]);
452
453
  expect(built.errors).toEqual([]);
453
454
  expect(normalize(primary(built.outputs.get("otel")))).toEqual(normalize(read("gateway.yaml")));
454
- const lint = await lintCommand({ path: output, format: "stylish" });
455
+ // Source-rule cleanliness of the imported TypeScript only; its post-synth findings belong to the build (#3750).
456
+ const lint = await lintCommand({ path: output, format: "stylish", postSynth: false });
455
457
  expect(lint.errorCount + lint.warningCount, lint.output).toBe(0);
456
458
  } finally {
457
459
  rmSync(dir, { recursive: true, force: true });