@fabricorg/gen-docs 0.2.9 → 0.2.10
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 +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d93521: Republish workspace dependents of `@fabricorg/platform` and `@fabricorg/platform-host`, including transitive and development dependencies, alongside the handler reconciliation contract (issue #70). Workspace ranges resolve to the released versions when packed; existing literal compatibility ranges remain unchanged. Runtime source is unchanged. Private example workspaces are not published.
|
|
8
|
+
- Updated dependencies [5d93521]
|
|
9
|
+
- @fabricorg/compiler@2.2.8
|
|
10
|
+
|
|
3
11
|
## 0.2.9
|
|
4
12
|
|
|
5
13
|
### 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.
|
|
26
|
+
var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.10", 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:
|
package/dist/index.cjs.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
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.10\", 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,UAAU,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.
|
|
2
|
+
var docsGenerator = { name: "@fabricorg/gen-docs", version: "0.2.10", 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
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import type { GeneratorTarget } from \"@fabricorg/compiler\";\nexport const docsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-docs\", version:\"0.2.10\", 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,UAAU,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.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Markdown contract generator for Fabric compiler IR.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fabricorg/compiler": "^2.2.
|
|
35
|
+
"@fabricorg/compiler": "^2.2.8"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^22.10.0",
|