@fabricorg/gen-docs 0.2.1 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @fabricorg/compiler@1.0.0
9
+
3
10
  ## 0.2.1
4
11
 
5
12
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -23,7 +23,7 @@ __export(index_exports, {
23
23
  docsGenerator: () => docsGenerator
24
24
  });
25
25
  module.exports = __toCommonJS(index_exports);
26
- var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.1", generate(ir) {
26
+ var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.2", generate(ir) {
27
27
  return ir.modules.map((module2) => ({ path: `${module2.namespace}/README.md`, content: [`# ${module2.displayName ?? module2.namespace}`, "", module2.description ?? "Generated Fabric module contract.", "", `Manifest digest: \`${ir.manifestDigest}\``, "", "## Object types", "", ...module2.objectTypes.map((item) => `- \`${item.type}\``), "", "## Actions", "", ...module2.actions.map((item) => `- \`${item.actionId}\` v${item.version}`), "", "## Views", "", ...module2.views.map((item) => `- \`${item.name}@${item.version}\``), ""].join("\n") }));
28
28
  } };
29
29
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.1\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/README.md`, content:[`# ${module.displayName??module.namespace}`,\"\",module.description??\"Generated Fabric module contract.\",\"\",`Manifest digest: \\`${ir.manifestDigest}\\``,\"\", \"## Object types\",\"\",...module.objectTypes.map((item)=>`- \\`${item.type}\\``),\"\", \"## Actions\",\"\",...module.actions.map((item)=>`- \\`${item.actionId}\\` v${item.version}`),\"\", \"## Views\",\"\",...module.views.map((item)=>`- \\`${item.name}@${item.version}\\``),\"\"].join(\"\\n\") })); } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,gBAAiC,EAAE,MAAK,uBAAuB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAY,EAAE,MAAK,GAAGA,QAAO,SAAS,cAAc,SAAQ,CAAC,KAAKA,QAAO,eAAaA,QAAO,SAAS,IAAG,IAAGA,QAAO,eAAa,qCAAoC,IAAG,sBAAsB,GAAG,cAAc,MAAK,IAAI,mBAAkB,IAAG,GAAGA,QAAO,YAAY,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,GAAE,IAAI,cAAa,IAAG,GAAGA,QAAO,QAAQ,IAAI,CAAC,SAAO,OAAO,KAAK,QAAQ,OAAO,KAAK,OAAO,EAAE,GAAE,IAAI,YAAW,IAAG,GAAGA,QAAO,MAAM,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,KAAK,OAAO,IAAI,GAAE,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE;AAAG,EAAE;","names":["module"]}
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.2\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/README.md`, content:[`# ${module.displayName??module.namespace}`,\"\",module.description??\"Generated Fabric module contract.\",\"\",`Manifest digest: \\`${ir.manifestDigest}\\``,\"\", \"## Object types\",\"\",...module.objectTypes.map((item)=>`- \\`${item.type}\\``),\"\", \"## Actions\",\"\",...module.actions.map((item)=>`- \\`${item.actionId}\\` v${item.version}`),\"\", \"## Views\",\"\",...module.views.map((item)=>`- \\`${item.name}@${item.version}\\``),\"\"].join(\"\\n\") })); } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,gBAAiC,EAAE,MAAK,uBAAuB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAY,EAAE,MAAK,GAAGA,QAAO,SAAS,cAAc,SAAQ,CAAC,KAAKA,QAAO,eAAaA,QAAO,SAAS,IAAG,IAAGA,QAAO,eAAa,qCAAoC,IAAG,sBAAsB,GAAG,cAAc,MAAK,IAAI,mBAAkB,IAAG,GAAGA,QAAO,YAAY,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,GAAE,IAAI,cAAa,IAAG,GAAGA,QAAO,QAAQ,IAAI,CAAC,SAAO,OAAO,KAAK,QAAQ,OAAO,KAAK,OAAO,EAAE,GAAE,IAAI,YAAW,IAAG,GAAGA,QAAO,MAAM,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,KAAK,OAAO,IAAI,GAAE,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE;AAAG,EAAE;","names":["module"]}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // index.ts
2
- var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.1", generate(ir) {
2
+ var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.2", generate(ir) {
3
3
  return ir.modules.map((module) => ({ path: `${module.namespace}/README.md`, content: [`# ${module.displayName ?? module.namespace}`, "", module.description ?? "Generated Fabric module contract.", "", `Manifest digest: \`${ir.manifestDigest}\``, "", "## Object types", "", ...module.objectTypes.map((item) => `- \`${item.type}\``), "", "## Actions", "", ...module.actions.map((item) => `- \`${item.actionId}\` v${item.version}`), "", "## Views", "", ...module.views.map((item) => `- \`${item.name}@${item.version}\``), ""].join("\n") }));
4
4
  } };
5
5
  export {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.1\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/README.md`, content:[`# ${module.displayName??module.namespace}`,\"\",module.description??\"Generated Fabric module contract.\",\"\",`Manifest digest: \\`${ir.manifestDigest}\\``,\"\", \"## Object types\",\"\",...module.objectTypes.map((item)=>`- \\`${item.type}\\``),\"\", \"## Actions\",\"\",...module.actions.map((item)=>`- \\`${item.actionId}\\` v${item.version}`),\"\", \"## Views\",\"\",...module.views.map((item)=>`- \\`${item.name}@${item.version}\\``),\"\"].join(\"\\n\") })); } };\n"],"mappings":";AACO,IAAM,gBAAiC,EAAE,MAAK,uBAAuB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAY,EAAE,MAAK,GAAG,OAAO,SAAS,cAAc,SAAQ,CAAC,KAAK,OAAO,eAAa,OAAO,SAAS,IAAG,IAAG,OAAO,eAAa,qCAAoC,IAAG,sBAAsB,GAAG,cAAc,MAAK,IAAI,mBAAkB,IAAG,GAAG,OAAO,YAAY,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,GAAE,IAAI,cAAa,IAAG,GAAG,OAAO,QAAQ,IAAI,CAAC,SAAO,OAAO,KAAK,QAAQ,OAAO,KAAK,OAAO,EAAE,GAAE,IAAI,YAAW,IAAG,GAAG,OAAO,MAAM,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,KAAK,OAAO,IAAI,GAAE,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE;AAAG,EAAE;","names":[]}
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.2\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/README.md`, content:[`# ${module.displayName??module.namespace}`,\"\",module.description??\"Generated Fabric module contract.\",\"\",`Manifest digest: \\`${ir.manifestDigest}\\``,\"\", \"## Object types\",\"\",...module.objectTypes.map((item)=>`- \\`${item.type}\\``),\"\", \"## Actions\",\"\",...module.actions.map((item)=>`- \\`${item.actionId}\\` v${item.version}`),\"\", \"## Views\",\"\",...module.views.map((item)=>`- \\`${item.name}@${item.version}\\``),\"\"].join(\"\\n\") })); } };\n"],"mappings":";AACO,IAAM,gBAAiC,EAAE,MAAK,uBAAuB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAY,EAAE,MAAK,GAAG,OAAO,SAAS,cAAc,SAAQ,CAAC,KAAK,OAAO,eAAa,OAAO,SAAS,IAAG,IAAG,OAAO,eAAa,qCAAoC,IAAG,sBAAsB,GAAG,cAAc,MAAK,IAAI,mBAAkB,IAAG,GAAG,OAAO,YAAY,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,GAAE,IAAI,cAAa,IAAG,GAAG,OAAO,QAAQ,IAAI,CAAC,SAAO,OAAO,KAAK,QAAQ,OAAO,KAAK,OAAO,EAAE,GAAE,IAAI,YAAW,IAAG,GAAG,OAAO,MAAM,IAAI,CAAC,SAAO,OAAO,KAAK,IAAI,IAAI,KAAK,OAAO,IAAI,GAAE,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE;AAAG,EAAE;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabricorg/gen-docs",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Markdown contract generator for Fabric compiler IR.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "CHANGELOG.md"
26
26
  ],
27
27
  "dependencies": {
28
- "@fabricorg/compiler": "^0.2.1"
28
+ "@fabricorg/compiler": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.10.0",