@fabricorg/gen-events 0.2.4 → 0.2.5
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 +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1b81b20: Publish with real build provenance, and name the repository each attestation points at. `pnpm publish` accepts `--provenance` and drops it, so every release until now was unattested while the release document claimed otherwise. The pipeline now packs with pnpm and uploads the tarball with `npm publish --provenance`, and every package declares `repository`, `homepage`, and `bugs`.
|
|
8
|
+
- Updated dependencies [1b81b20]
|
|
9
|
+
- @fabricorg/compiler@2.2.2
|
|
10
|
+
|
|
3
11
|
## 0.2.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(index_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_compiler = require("@fabricorg/compiler");
|
|
27
|
-
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.
|
|
27
|
+
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.5", generate(ir) {
|
|
28
28
|
return ir.modules.map((module2) => ({ path: `${module2.namespace}/events.json`, content: (0, import_compiler.stableStringify)({ generator: { name: eventsGenerator.name, version: eventsGenerator.version }, manifestDigest: ir.manifestDigest, module: module2.namespace, events: module2.eventTypes }) }));
|
|
29
29
|
} };
|
|
30
30
|
// 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 { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.5\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/events.json`, content: stableStringify({ generator:{name:eventsGenerator.name,version:eventsGenerator.version}, manifestDigest:ir.manifestDigest, module:module.namespace, events:module.eventTypes }) })); } };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsD;AAC/C,IAAM,kBAAmC,EAAE,MAAK,yBAAyB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAY,EAAE,MAAK,GAAGA,QAAO,SAAS,gBAAgB,aAAS,iCAAgB,EAAE,WAAU,EAAC,MAAK,gBAAgB,MAAK,SAAQ,gBAAgB,QAAO,GAAG,gBAAe,GAAG,gBAAgB,QAAOA,QAAO,WAAW,QAAOA,QAAO,WAAW,CAAC,EAAE,EAAE;AAAG,EAAE;","names":["module"]}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// index.ts
|
|
2
2
|
import { stableStringify } from "@fabricorg/compiler";
|
|
3
|
-
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.
|
|
3
|
+
var eventsGenerator = { name: "@fabricorg/gen-events", version: "0.2.5", generate(ir) {
|
|
4
4
|
return ir.modules.map((module) => ({ path: `${module.namespace}/events.json`, content: stableStringify({ generator: { name: eventsGenerator.name, version: eventsGenerator.version }, manifestDigest: ir.manifestDigest, module: module.namespace, events: module.eventTypes }) }));
|
|
5
5
|
} };
|
|
6
6
|
export {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const eventsGenerator: GeneratorTarget = { name:\"@fabricorg/gen-events\", version:\"0.2.5\", generate(ir) { return ir.modules.map((module) => ({ path:`${module.namespace}/events.json`, content: stableStringify({ generator:{name:eventsGenerator.name,version:eventsGenerator.version}, manifestDigest:ir.manifestDigest, module:module.namespace, events:module.eventTypes }) })); } };\n"],"mappings":";AAAA,SAAS,uBAA6C;AAC/C,IAAM,kBAAmC,EAAE,MAAK,yBAAyB,SAAQ,SAAS,SAAS,IAAI;AAAE,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAY,EAAE,MAAK,GAAG,OAAO,SAAS,gBAAgB,SAAS,gBAAgB,EAAE,WAAU,EAAC,MAAK,gBAAgB,MAAK,SAAQ,gBAAgB,QAAO,GAAG,gBAAe,GAAG,gBAAgB,QAAO,OAAO,WAAW,QAAO,OAAO,WAAW,CAAC,EAAE,EAAE;AAAG,EAAE;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabricorg/gen-events",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Event registry contract generator for Fabric compiler IR.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Fabric-Pro/fabric-platform.git",
|
|
9
|
+
"directory": "packages/gen-events"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/Fabric-Pro/fabric-platform/tree/main/packages/gen-events#readme",
|
|
12
|
+
"bugs": "https://github.com/Fabric-Pro/fabric-platform/issues",
|
|
6
13
|
"type": "module",
|
|
7
14
|
"sideEffects": false,
|
|
8
15
|
"main": "./dist/index.cjs",
|
|
@@ -25,7 +32,7 @@
|
|
|
25
32
|
"CHANGELOG.md"
|
|
26
33
|
],
|
|
27
34
|
"dependencies": {
|
|
28
|
-
"@fabricorg/compiler": "^2.2.
|
|
35
|
+
"@fabricorg/compiler": "^2.2.2"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|
|
31
38
|
"@types/node": "^22.10.0",
|