@intentius/chant-lexicon-fly 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 +3 -1
- package/package.json +2 -2
- package/src/codegen/package.ts +10 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../src/codegen/package.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../src/codegen/package.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;;GAsBpF"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "0ae3ae63e694aa28883690f87787ac5923bb16f30298d83564a2e57a9b81c261",
|
|
5
5
|
"meta.json": "e46e65ba7544fafc6dbb3fd48b841904b5ae6f7cb4d517a940ed68b01626c097",
|
|
6
6
|
"types/index.d.ts": "07f5d04d0d3831cae053b1f0f5dd661c58e9708f45067a0fc85dd94079ac144b"
|
|
7
7
|
},
|
|
8
|
-
"composite": "
|
|
8
|
+
"composite": "0c3bf7b5eb05e75464345ee94d551a87d9a52ed1adfcc36f33cf399e16f0847b"
|
|
9
9
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-fly",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"src/",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typescript": "^5.9.3"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@intentius/chant": "^0.
|
|
60
|
+
"@intentius/chant": "^0.20.0",
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
63
|
"description": "Google Cloud lexicon for chant — declarative IaC in TypeScript",
|
package/src/codegen/package.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { packagePipeline } from "@intentius/chant/codegen/package";
|
|
2
2
|
import type { PackagePipelineConfig } from "@intentius/chant/codegen/package";
|
|
3
3
|
import { generate } from "./generate";
|
|
4
|
-
import {
|
|
4
|
+
import { readFileSync } from "fs";
|
|
5
|
+
import { dirname, join } from "path";
|
|
5
6
|
import { fileURLToPath } from "url";
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -9,12 +10,19 @@ import { fileURLToPath } from "url";
|
|
|
9
10
|
*/
|
|
10
11
|
export async function packageLexicon(options?: { verbose?: boolean; force?: boolean }) {
|
|
11
12
|
const srcDir = dirname(fileURLToPath(import.meta.url));
|
|
13
|
+
const pkgJson = JSON.parse(readFileSync(join(srcDir, "..", "..", "package.json"), "utf-8"));
|
|
12
14
|
|
|
13
15
|
const { spec, stats } = await packagePipeline({
|
|
14
16
|
generate: (opts) => generate({ verbose: opts?.verbose, force: opts?.force }),
|
|
17
|
+
// chant #1067 — chantVersion/namespace/version were never populated here
|
|
18
|
+
// (a hardcoded "0.0.1", never the real package version), so
|
|
19
|
+
// `dist/manifest.json` shipped without a chantVersion at all. Matches
|
|
20
|
+
// the shape every other lexicon's codegen/package.ts already uses.
|
|
15
21
|
buildManifest: (genResult) => ({
|
|
16
22
|
name: "fly",
|
|
17
|
-
version: "0.0.
|
|
23
|
+
version: pkgJson.version ?? "0.0.0",
|
|
24
|
+
chantVersion: ">=0.1.0",
|
|
25
|
+
namespace: "Fly",
|
|
18
26
|
}),
|
|
19
27
|
srcDir,
|
|
20
28
|
collectSkills: () => new Map(),
|