@blockml/fatblock-target 0.7.1 → 0.8.1

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.
Files changed (25) hide show
  1. package/blocks/org/blockml/bml/target/fatblock/Library.bml +5 -3
  2. package/blocks/org/blockml/bml/target/fatblock/README.bml +1 -1
  3. package/blocks/org/blockml/bml/target/fatblock/api/FatBlockRenderOutput.bml +1 -1
  4. package/blocks/org/blockml/bml/target/fatblock/capability/AssembleFatDocument.bml +5 -1
  5. package/blocks/org/blockml/bml/target/fatblock/capability/FatOutputBasename.bml +5 -5
  6. package/blocks/org/blockml/bml/target/fatblock/capability/Render.bml +1 -1
  7. package/blocks/org/blockml/bml/target/fatblock/documentation/ArchitectureOverview.bml +1 -1
  8. package/blocks/org/blockml/bml/target/fatblock/documentation/CandidateCollection.bml +1 -1
  9. package/blocks/org/blockml/bml/target/fatblock/documentation/DesignDecisions.bml +23 -4
  10. package/blocks/org/blockml/bml/target/fatblock/documentation/Diagnostics.bml +1 -1
  11. package/blocks/org/blockml/bml/target/fatblock/documentation/EmbedAssemblyRules.bml +1 -1
  12. package/blocks/org/blockml/bml/target/fatblock/documentation/Introduction.bml +5 -4
  13. package/blocks/org/blockml/bml/target/fatblock/documentation/LayerSeparation.bml +3 -2
  14. package/blocks/org/blockml/bml/target/fatblock/documentation/NamespaceMergeRules.bml +1 -1
  15. package/blocks/org/blockml/bml/target/fatblock/documentation/OutputLayout.bml +3 -3
  16. package/blocks/org/blockml/bml/target/fatblock/documentation/PackageOwnership.bml +4 -3
  17. package/blocks/org/blockml/bml/target/fatblock/documentation/PublicApi.bml +4 -4
  18. package/blocks/org/blockml/bml/target/fatblock/documentation/V1Scope.bml +3 -2
  19. package/dist/fat-output-path.d.ts +2 -1
  20. package/dist/fat-output-path.d.ts.map +1 -1
  21. package/dist/fat-output-path.js +6 -6
  22. package/dist/fat-output-path.js.map +1 -1
  23. package/dist/fatblock-target.js +1 -1
  24. package/dist/fatblock-target.js.map +1 -1
  25. package/package.json +7 -7
@@ -28,20 +28,22 @@
28
28
  <is>The FatBlock portable .bml render target library catalog</is>
29
29
 
30
30
  <documentation>
31
+ # The FatBlock portable .bml render target library catalog
32
+
31
33
  Canonical FatBlock specification for BlockML — registry name fatblock, folder-pool
32
- candidates, embed assembly, namespace merge, Host.fat.bml (FB1–FB20). TypeScript in
34
+ candidates, embed assembly, namespace merge, {hostFqn}.fat.bml (FB1–FB20). TypeScript in
33
35
  packages/fatblock-target/src/ implements this library. Membership is defined
34
36
  exclusively by this blocks list.
35
37
  </documentation>
36
38
 
37
- <version>0.7.1</version>
39
+ <version>0.8.1</version>
38
40
 
39
41
  <language>
40
42
  <English />
41
43
  </language>
42
44
 
43
45
  <properties>
44
- <description>
46
+ <description override="true">
45
47
  <value>FatBlock render target library</value>
46
48
  </description>
47
49
  </properties>
@@ -36,7 +36,7 @@
36
36
  Start reading at org.blockml.bml.target.fatblock.documentation.Introduction (ReadNext chain).
37
37
 
38
38
  V1: folder-bundle document target — host .bml plus peer roots under --src into one
39
- Host.fat.bml with flat embeddedBlocks. Transitive closure is planned for v2.
39
+ {hostFqn}.fat.bml with flat embeddedBlocks. Transitive closure is planned for v2.
40
40
 
41
41
  Layer separation:
42
42
  • org.blockml.bml.bom.* — embeddedBlocks meta-model
@@ -27,7 +27,7 @@
27
27
  <baseType>fatblock:FatblockType</baseType>
28
28
  <is>Single-file fat .bml RenderOutput with diagnostics</is>
29
29
 
30
- <documentation>files[] typically one Host.fat.bml entry. diagnostics optional; info severity stripped on success path.</documentation>
30
+ <documentation>files[] typically one {hostFqn}.fat.bml entry. diagnostics optional; info severity stripped on success path.</documentation>
31
31
  <properties>
32
32
  <files type="type:Text"><documentation>Array of { path, content }. (required)</documentation></files>
33
33
  <diagnostics type="type:Text"><documentation>Diagnostic list from assemble and serialize. (optional)</documentation></diagnostics>
@@ -27,7 +27,11 @@
27
27
  <baseType>core:Capability</baseType>
28
28
  <is>Build fat BomDocument from host plus peer embeds</is>
29
29
 
30
- <documentation>FB12: require srcDir. FB13: host not found to BML_FATBLOCK_HOST_NOT_FOUND. FB14: host embeddedBlocks non-empty to BML_FATBLOCK_HOST_HAS_EMBEDDED_BLOCKS. FB15: duplicate candidate FQN to BML_DUPLICATE_EMBEDDED_BLOCK. FB16: embed not root / missing to BML_FATBLOCK_EMBED_NOT_FOUND; embed already has embeds to BML_FATBLOCK_EMBED_HAS_EMBEDDED_BLOCKS. FB17: clone embed, clear nested embeds, preserve subBlocks; sorted embed order; merge NS; abort if any error.</documentation>
30
+ <documentation>
31
+ # Build fat BomDocument from host plus peer embeds
32
+
33
+ FB12: require srcDir. FB13: host not found to BML_FATBLOCK_HOST_NOT_FOUND. FB14: host embeddedBlocks non-empty to BML_FATBLOCK_HOST_HAS_EMBEDDED_BLOCKS. FB15: duplicate candidate FQN to BML_DUPLICATE_EMBEDDED_BLOCK. FB16: embed not root / missing to BML_FATBLOCK_EMBED_NOT_FOUND; embed already has embeds to BML_FATBLOCK_EMBED_HAS_EMBEDDED_BLOCKS. FB17: clone embed, clear nested embeds, preserve subBlocks; sorted embed order; merge NS; abort if any error.
34
+ </documentation>
31
35
 
32
36
  <references>
33
37
  <see type="fbdocumentation:EmbedAssemblyRules" relation="SeeAlso" />
@@ -25,18 +25,18 @@
25
25
  <name>FatOutputBasename</name>
26
26
  <type>fbcap:FatOutputBasename</type>
27
27
  <baseType>core:Capability</baseType>
28
- <is>Derive output filename from host path</is>
28
+ <is>Derive output filename from host FQN</is>
29
29
 
30
- <documentation>FB18: if basename ends with .bml, replace with .fat.bml; else append .fat.bml. Example Host.bml to Host.fat.bml.</documentation>
30
+ <documentation>FB18: output basename is host FQN plus .fat.bml. Example org.blockml.bml.workspace.Library to org.blockml.bml.workspace.Library.fat.bml. Empty FQN yields unnamed.fat.bml.</documentation>
31
31
 
32
32
  <references>
33
33
  <see type="fbdocumentation:OutputLayout" relation="SeeAlso" />
34
34
  </references>
35
35
 
36
36
  <properties>
37
- <hostFilePath type="type:Text">
38
- <documentation>Host file path. (required)</documentation>
39
- </hostFilePath>
37
+ <hostFqn type="type:Text">
38
+ <documentation>Host block type FQN. (required)</documentation>
39
+ </hostFqn>
40
40
  <result type="type:Text">
41
41
  <documentation>Output basename. (required)</documentation>
42
42
  </result>
@@ -25,7 +25,7 @@
25
25
  <name>Render</name>
26
26
  <type>fbcap:Render</type>
27
27
  <baseType>core:Capability</baseType>
28
- <is>Public RenderTarget entry: host document to Host.fat.bml</is>
28
+ <is>Public RenderTarget entry: host document to {hostFqn}.fat.bml</is>
29
29
 
30
30
  <documentation>FB2: name fatblock; accepts document only. FB4: assemble errors or serialize errors yield empty files. Strip info diagnostics from returned list. Orchestrates ResolveOptions, AssembleFatDocument, SerializeFatDocument, FatOutputBasename.</documentation>
31
31
 
@@ -47,7 +47,7 @@
47
47
  • fat-output-path.ts → FatOutputBasename
48
48
  • fatblock-target.ts → Render, ValidateRequest</documentation>
49
49
  <references>
50
- <see type="fbdocumentation:V1Scope" relation="ReadNext"></see>
50
+ <see type="fbdocumentation:V1Scope" relation="ReadNext" />
51
51
  </references>
52
52
 
53
53
  </block>
@@ -39,7 +39,7 @@
39
39
 
40
40
  V1 semantics = folder pool, not dependency graph walk.</documentation>
41
41
  <references>
42
- <see type="fbdocumentation:EmbedAssemblyRules" relation="ReadNext"></see>
42
+ <see type="fbdocumentation:EmbedAssemblyRules" relation="ReadNext" />
43
43
  </references>
44
44
 
45
45
  </block>
@@ -28,24 +28,43 @@
28
28
  <baseType>core:Documentation</baseType>
29
29
  <is>Normative FatBlock decisions FB1–FB20</is>
30
30
 
31
- <documentation>FB1 ResolveOptions default embeddedBlocksStrategy=error.
31
+ <documentation>
32
+ # Normative FatBlock decisions FB1–FB20
33
+
34
+ FB1 ResolveOptions default embeddedBlocksStrategy=error.
35
+
32
36
  FB2 accepts document only; registry name fatblock.
37
+
33
38
  FB3 ValidateRequest requires srcDir.
39
+
34
40
  FB4 render empty files on assemble/serialize errors; strip info diags.
41
+
35
42
  FB5 RootFqnsByFilePath excludes Sub-Block FQNs.
43
+
36
44
  FB6 CollectCandidateFqns path-under-src; exclude host; sort.
45
+
37
46
  FB7 include exact or prefix*; OR; empty=all.
47
+
38
48
  FB8 CloneBlockDefinition via structuredClone.
49
+
39
50
  FB9 Merge host then embeds.
51
+
40
52
  FB10 prefix collision diagnostic; no rewrite.
53
+
41
54
  FB11 default empty-prefix xmlns.
55
+
42
56
  FB12–FB16 assemble host/embed empty-embeds and not-found rules.
57
+
43
58
  FB17 preserve subBlocks; clear nested embeds on clone; serialize indent 2.
44
- FB18 Host.fat.bml basename.
59
+
60
+ FB18 {hostFqn}.fat.bml basename.
61
+
45
62
  FB19 V1 = folder pool not transitive closure.
46
- FB20 embeddedBlocksStrategy reserved; assemble hardcodes empty-embeds check.</documentation>
63
+
64
+ FB20 embeddedBlocksStrategy reserved; assemble hardcodes empty-embeds check.
65
+ </documentation>
47
66
  <references>
48
- <see type="fbdocumentation:PackageOwnership" relation="ReadNext"></see>
67
+ <see type="fbdocumentation:PackageOwnership" relation="ReadNext" />
49
68
  </references>
50
69
 
51
70
  </block>
@@ -42,7 +42,7 @@
42
42
 
43
43
  Severity: all FatBlock codes are error. CLI exit: config → 2; assemble → 1.</documentation>
44
44
  <references>
45
- <see type="fbdocumentation:DesignDecisions" relation="ReadNext"></see>
45
+ <see type="fbdocumentation:DesignDecisions" relation="ReadNext" />
46
46
  </references>
47
47
 
48
48
  </block>
@@ -40,7 +40,7 @@
40
40
  Meta-model (BOM): embeds are flat under root; Sub-Blocks forbid embeds — validator owns
41
41
  BML_EMBEDDED_BLOCKS_ON_SUBBLOCK / BML_NESTED_EMBEDDED_BLOCKS.</documentation>
42
42
  <references>
43
- <see type="fbdocumentation:NamespaceMergeRules" relation="ReadNext"></see>
43
+ <see type="fbdocumentation:NamespaceMergeRules" relation="ReadNext" />
44
44
  </references>
45
45
 
46
46
  </block>
@@ -36,14 +36,15 @@
36
36
  packages/fatblock-target/src/ implements it. Tests in packages/fatblock-target/test/
37
37
  encode behavioral contracts.
38
38
 
39
- V1 is a folder-bundle target: document scope, required srcDir (--src) peer pool,
39
+ V1 is a folder-bundle target: document scope, srcDir (--src) peer pool
40
+ (CLI defaults host and srcDir from package.json blockml.library),
40
41
  optional include FQN filters. Not transitive dependency closure (that is v2).
41
42
 
42
- Pipeline: ResolveOptions → AssembleFatDocument → SerializeFatDocument → Host.fat.bml.
43
+ Pipeline: ResolveOptions → AssembleFatDocument → SerializeFatDocument → {hostFqn}.fat.bml.
43
44
  Host CLI wiring (flags, exit codes) lives in org.blockml.bml.cli.*</documentation>
44
45
  <references>
45
- <see type="fbdocumentation:LayerSeparation" relation="ReadNext"></see>
46
- <see type="fbcap:Render" relation="SeeAlso"></see>
46
+ <see type="fbdocumentation:LayerSeparation" relation="ReadNext" />
47
+ <see type="fbcap:Render" relation="SeeAlso" />
47
48
  </references>
48
49
 
49
50
  </block>
@@ -40,11 +40,12 @@
40
40
 
41
41
  @blockml/compiler — RenderTarget contract, compileToOutput, document scope.
42
42
 
43
- org.blockml.bml.cli.* — --src / --include / --out, host file required, write Host.fat.bml.
43
+ org.blockml.bml.cli.* — --src / --include / --out / --per-package, default host
44
+ from package.json blockml.library, write {hostFqn}.fat.bml at the invocation directory.
44
45
 
45
46
  Sibling targets (blockdoc, xsd) and domain SCAD are out of scope.</documentation>
46
47
  <references>
47
- <see type="fbdocumentation:ArchitectureOverview" relation="ReadNext"></see>
48
+ <see type="fbdocumentation:ArchitectureOverview" relation="ReadNext" />
48
49
  </references>
49
50
 
50
51
  </block>
@@ -36,7 +36,7 @@
36
36
  Aligns with docs/19 Definition / bml:xml D2 consumer rules. Serializer may still emit
37
37
  BML_NAMESPACE_UNBOUND if a QName lacks a binding after merge.</documentation>
38
38
  <references>
39
- <see type="fbdocumentation:OutputLayout" relation="ReadNext"></see>
39
+ <see type="fbdocumentation:OutputLayout" relation="ReadNext" />
40
40
  </references>
41
41
 
42
42
  </block>
@@ -28,13 +28,13 @@
28
28
  <baseType>core:Documentation</baseType>
29
29
  <is>Output file naming and host write path</is>
30
30
 
31
- <documentation>FB18 FatOutputBasename: Host.bmlHost.fat.bml (strip .bml, append .fat.bml).
32
- Target returns relative path only; CLI writes beside host or under --out.
31
+ <documentation>FB18 FatOutputBasename: host FQN {fqn}.fat.bml.
32
+ Target returns relative path only; CLI writes to the invocation directory or --out.
33
33
 
34
34
  Single file per render. Content is canonical BML XML from SerializeFatDocument
35
35
  (indent 2, no XML declaration by serializer defaults).</documentation>
36
36
  <references>
37
- <see type="fbdocumentation:Diagnostics" relation="ReadNext"></see>
37
+ <see type="fbdocumentation:Diagnostics" relation="ReadNext" />
38
38
  </references>
39
39
 
40
40
  </block>
@@ -31,8 +31,9 @@
31
31
  <documentation>@blockml/fatblock-target owns: this BML library; TypeScript assemble/filter/merge/emit;
32
32
  FatBlockOptions; BML_FATBLOCK_* diagnostics; output basename algorithm.
33
33
 
34
- @blockml/cli owns: --src / --include / --out; host file required; separate registry
35
- bootstrap for fatblock; writing Host.fat.bml; exit codes.
34
+ @blockml/cli owns: --src / --include / --out; default host from package.json
35
+ blockml.library; TypeRegistry from the package library graph plus core; writing
36
+ {hostFqn}.fat.bml at the invocation directory; exit codes.
36
37
  See org.blockml.bml.cli.documentation.CompileCommand.
37
38
 
38
39
  @blockml/bom owns: embeddedBlocks shape and language invariants.
@@ -41,7 +42,7 @@
41
42
 
42
43
  @blockml/compiler owns: RenderTarget contract and document compile scope.</documentation>
43
44
  <references>
44
- <see type="fbdocumentation:ScopeExclusions" relation="ReadNext"></see>
45
+ <see type="fbdocumentation:ScopeExclusions" relation="ReadNext" />
45
46
  </references>
46
47
 
47
48
  </block>
@@ -39,10 +39,10 @@
39
39
 
40
40
  BML: fbcap:Render, ValidateRequest, AssembleFatDocument, api/FatBlockOptions.</documentation>
41
41
  <references>
42
- <see type="fbdocumentation:CandidateCollection" relation="ReadNext"></see>
43
- <see type="fbcap:Render" relation="Defines"></see>
44
- <see type="fbapi:FatBlockOptions" relation="Defines"></see>
45
- <see type="fbcap:AssembleFatDocument" relation="Defines"></see>
42
+ <see type="fbdocumentation:CandidateCollection" relation="ReadNext" />
43
+ <see type="fbcap:Render" relation="Defines" />
44
+ <see type="fbapi:FatBlockOptions" relation="Defines" />
45
+ <see type="fbcap:AssembleFatDocument" relation="Defines" />
46
46
  </references>
47
47
 
48
48
  </block>
@@ -31,11 +31,12 @@
31
31
  <documentation>V1 implemented:
32
32
  • Registry name fatblock; accepts document only
33
33
  • Required srcDir peer pool of root blocks under that directory
34
+ (CLI may default host and srcDir from package.json blockml.library)
34
35
  • Optional include exact / prefix* filters
35
36
  • Reject host or embed that already declares embeddedBlocks
36
37
  • Flat root embeddedBlocks; preserve embed subBlocks[]
37
38
  • Namespace binding union with collision errors
38
- • Serialize via @blockml/serializer indent 2 → Host.fat.bml
39
+ • Serialize via @blockml/serializer indent 2 → {hostFqn}.fat.bml
39
40
 
40
41
  Not V1 (see ScopeExclusions):
41
42
  • Transitive registry-closure candidate set (v2)
@@ -43,7 +44,7 @@
43
44
  • Inventing or rewriting xmlns prefixes
44
45
  • Nested / pre-fatted host merge</documentation>
45
46
  <references>
46
- <see type="fbdocumentation:PublicApi" relation="ReadNext"></see>
47
+ <see type="fbdocumentation:PublicApi" relation="ReadNext" />
47
48
  </references>
48
49
 
49
50
  </block>
@@ -1,2 +1,3 @@
1
- export declare function fatOutputBasename(hostFilePath: string): string;
1
+ /** Output basename: host FQN + ".fat.bml". */
2
+ export declare function fatOutputBasename(hostFqn: string): string;
2
3
  //# sourceMappingURL=fat-output-path.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fat-output-path.d.ts","sourceRoot":"","sources":["../src/fat-output-path.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAM9D"}
1
+ {"version":3,"file":"fat-output-path.d.ts","sourceRoot":"","sources":["../src/fat-output-path.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMzD"}
@@ -1,9 +1,9 @@
1
- import { basename } from "node:path";
2
- export function fatOutputBasename(hostFilePath) {
3
- const base = basename(hostFilePath);
4
- if (base.endsWith(".bml")) {
5
- return `${base.slice(0, -4)}.fat.bml`;
1
+ /** Output basename: host FQN + ".fat.bml". */
2
+ export function fatOutputBasename(hostFqn) {
3
+ const fqn = hostFqn.trim();
4
+ if (!fqn) {
5
+ return "unnamed.fat.bml";
6
6
  }
7
- return `${base}.fat.bml`;
7
+ return `${fqn}.fat.bml`;
8
8
  }
9
9
  //# sourceMappingURL=fat-output-path.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fat-output-path.js","sourceRoot":"","sources":["../src/fat-output-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,UAAU,iBAAiB,CAAC,YAAoB;IACpD,MAAM,IAAI,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;IACpC,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;IACxC,CAAC;IACD,OAAO,GAAG,IAAI,UAAU,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"fat-output-path.js","sourceRoot":"","sources":["../src/fat-output-path.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,MAAM,UAAU,iBAAiB,CAAC,OAAe;IAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC3B,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IACD,OAAO,GAAG,GAAG,UAAU,CAAC;AAC1B,CAAC"}
@@ -37,7 +37,7 @@ export class FatBlockTarget {
37
37
  return {
38
38
  files: [
39
39
  {
40
- path: fatOutputBasename(hostFilePath),
40
+ path: fatOutputBasename(document.block.type),
41
41
  content: serialized.text,
42
42
  },
43
43
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"fatblock-target.js","sourceRoot":"","sources":["../src/fatblock-target.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAOtD,MAAM,OAAO,cAAc;IAChB,IAAI,GAAG,UAAU,CAAC;IAClB,OAAO,GAAsB,CAAC,UAAU,CAAC,CAAC;IAEnD,eAAe,CAAC,OAAuB;QACrC,MAAM,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC9D,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;YACpB,OAAO;gBACL;oBACE,QAAQ,EAAE,OAAO;oBACjB,IAAI,EAAE,2BAA2B;oBACjC,OAAO,EAAE,qDAAqD;oBAC9D,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;iBACjD;aACF,CAAC;QACJ,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,CAAC,OAAuB,EAAE,GAAkB;QAChD,MAAM,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC9D,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QACjD,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC;QAEhD,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CACnD,GAAG,CAAC,OAAO,CAAC,YAAY,EACxB,YAAY,EACZ,OAAO,EACP,OAAO,CACR,CA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gBACT,WAAW,EAAE,CAAC,GAAG,WAAW,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC;aACzD,CAAC;QACJ,CAAC;QAED,OAAO;YACL,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,iBAAiB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;oBAC5C,OAAO,EAAE,UAAU,CAAC,IAAI;iBACzB;aACF;YACD,WAAW,EAAE,CAAC,GAAG,WAAW,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC,MAAM,CAC7D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAC7B;SACF,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockml/fatblock-target",
3
- "version": "0.7.1",
3
+ "version": "0.8.1",
4
4
  "description": "BlockML FatBlock render target — portable .bml folder bundles",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,12 +32,12 @@
32
32
  "test": "vitest run packages/fatblock-target/test"
33
33
  },
34
34
  "dependencies": {
35
- "@blockml/bom": "^0.7.1",
36
- "@blockml/compiler": "^0.7.1",
37
- "@blockml/core": "^1.0.5",
38
- "@blockml/framework": "^0.7.1",
39
- "@blockml/parser": "^0.7.1",
40
- "@blockml/serializer": "^0.7.1"
35
+ "@blockml/bom": "^0.8.1",
36
+ "@blockml/compiler": "^0.8.1",
37
+ "@blockml/core": "^1.0.6",
38
+ "@blockml/framework": "^0.8.1",
39
+ "@blockml/parser": "^0.8.1",
40
+ "@blockml/serializer": "^0.8.1"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=20"