@fabricorg/gen-sdui 0.5.5 → 0.5.6
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 +10 -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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- eac74a9: Republish packages that depend on `@fabricorg/platform` or `@fabricorg/platform-host` through workspace ranges, directly or through other republished packages, so their packed dependency minimums include the adapter circuit-breaker release. Runtime source is unchanged.
|
|
8
|
+
- e0f7ca7: Republish packages that depend on `@fabricorg/platform` or `@fabricorg/platform-host` through workspace ranges, directly or through other republished packages, so their packed dependency minimums include the evidence packet generator release. Runtime source is unchanged.
|
|
9
|
+
- Updated dependencies [eac74a9]
|
|
10
|
+
- Updated dependencies [e0f7ca7]
|
|
11
|
+
- @fabricorg/compiler@2.2.6
|
|
12
|
+
|
|
3
13
|
## 0.5.5
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var import_compiler = require("@fabricorg/compiler");
|
|
|
27
27
|
var import_experience_contracts = require("@fabricorg/experience-contracts");
|
|
28
28
|
var sduiGenerator = {
|
|
29
29
|
name: "@fabricorg/gen-sdui",
|
|
30
|
-
version: "0.5.
|
|
30
|
+
version: "0.5.6",
|
|
31
31
|
generate(ir) {
|
|
32
32
|
return ir.modules.map((module2) => {
|
|
33
33
|
const experience = (0, import_experience_contracts.readExperienceMetadata)(module2.capability);
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.6\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,sBAAsD;AACtD,kCAAuC;AAEhC,IAAM,gBAAiC;AAAA,EAC7C,MAAM;AAAA,EACN,SAAS;AAAA,EACT,SAAS,IAAI;AACZ,WAAO,GAAG,QAAQ,IAAI,CAACA,YAAW;AACjC,YAAM,iBAAa,oDAAuBA,QAAO,UAAU;AAC3D,aAAO;AAAA,QACN,MAAM,GAAGA,QAAO,SAAS;AAAA,QACzB,aAAS,iCAAgB;AAAA,UACxB,WAAW,EAAE,MAAM,cAAc,MAAM,SAAS,cAAc,QAAQ;AAAA,UACtE,gBAAgB,GAAG;AAAA,UACnB,OAAO,YAAY,SAAS,CAAC;AAAA,UAC7B,eAAe,YAAY,iBAAiB,CAAC;AAAA,UAC7C,OAAO,YAAY,SAAS,CAAC;AAAA,UAC7B,UAAUA,QAAO,MAAM,IAAI,CAAC,UAAU;AAAA,YACrC,KAAK,gBAAgB,KAAK,IAAI;AAAA,YAC9B,SAAS,KAAK;AAAA,YACd,OAAO,KAAK;AAAA,YACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;AAAA,YACxE,OAAO,KAAK;AAAA,YACZ,OAAO,KAAK;AAAA,UACb,EAAE;AAAA,QACH,CAAC;AAAA,MACF;AAAA,IACD,CAAC;AAAA,EACF;AACD;","names":["module"]}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { stableStringify } from "@fabricorg/compiler";
|
|
|
3
3
|
import { readExperienceMetadata } from "@fabricorg/experience-contracts";
|
|
4
4
|
var sduiGenerator = {
|
|
5
5
|
name: "@fabricorg/gen-sdui",
|
|
6
|
-
version: "0.5.
|
|
6
|
+
version: "0.5.6",
|
|
7
7
|
generate(ir) {
|
|
8
8
|
return ir.modules.map((module) => {
|
|
9
9
|
const experience = readExperienceMetadata(module.capability);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.6\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";AAKA,SAAS,uBAA6C;AACtD,SAAS,8BAA8B;AAEhC,IAAM,gBAAiC;AAAA,EAC7C,MAAM;AAAA,EACN,SAAS;AAAA,EACT,SAAS,IAAI;AACZ,WAAO,GAAG,QAAQ,IAAI,CAAC,WAAW;AACjC,YAAM,aAAa,uBAAuB,OAAO,UAAU;AAC3D,aAAO;AAAA,QACN,MAAM,GAAG,OAAO,SAAS;AAAA,QACzB,SAAS,gBAAgB;AAAA,UACxB,WAAW,EAAE,MAAM,cAAc,MAAM,SAAS,cAAc,QAAQ;AAAA,UACtE,gBAAgB,GAAG;AAAA,UACnB,OAAO,YAAY,SAAS,CAAC;AAAA,UAC7B,eAAe,YAAY,iBAAiB,CAAC;AAAA,UAC7C,OAAO,YAAY,SAAS,CAAC;AAAA,UAC7B,UAAU,OAAO,MAAM,IAAI,CAAC,UAAU;AAAA,YACrC,KAAK,gBAAgB,KAAK,IAAI;AAAA,YAC9B,SAAS,KAAK;AAAA,YACd,OAAO,KAAK;AAAA,YACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;AAAA,YACxE,OAAO,KAAK;AAAA,YACZ,OAAO,KAAK;AAAA,UACb,EAAE;AAAA,QACH,CAAC;AAAA,MACF;AAAA,IACD,CAAC;AAAA,EACF;AACD;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabricorg/gen-sdui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "SDUI data-shape binding generator for Fabric compiler IR.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fabricorg/
|
|
36
|
-
"@fabricorg/
|
|
35
|
+
"@fabricorg/compiler": "^2.2.6",
|
|
36
|
+
"@fabricorg/experience-contracts": "^1.0.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.10.0",
|
|
40
40
|
"tsup": "^8.5.0",
|
|
41
41
|
"typescript": "^5.7.3",
|
|
42
42
|
"vitest": "^4.1.5",
|
|
43
|
-
"@fabricorg/platform": "^1.
|
|
43
|
+
"@fabricorg/platform": "^1.8.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=20"
|