From 735d957c6906e896e3e496158b9afd35da4688d4 Mon Sep 17 00:00:00 2001 From: alvarius Date: Tue, 12 Dec 2023 18:17:22 +0000 Subject: [PATCH] fix(store-indexer): add postgres-decoded-indexer binary (#2062) --- .changeset/sour-rivers-grow.md | 5 +++++ packages/store-indexer/package.json | 3 ++- packages/store-indexer/tsup.config.ts | 8 +++++++- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .changeset/sour-rivers-grow.md diff --git a/.changeset/sour-rivers-grow.md b/.changeset/sour-rivers-grow.md new file mode 100644 index 0000000000..811507bc2c --- /dev/null +++ b/.changeset/sour-rivers-grow.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/store-indexer": patch +--- + +Added a binary for the `postgres-decoded` indexer. diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index 2bc8baf102..69f00d8c3a 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -14,6 +14,7 @@ }, "types": "src/index.ts", "bin": { + "postgres-decoded-indexer": "./dist/bin/postgres-decoded-indexer.js", "postgres-frontend": "./dist/bin/postgres-frontend.js", "postgres-indexer": "./dist/bin/postgres-indexer.js", "sqlite-indexer": "./dist/bin/sqlite-indexer.js" @@ -82,4 +83,4 @@ "access": "public" }, "gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f" -} \ No newline at end of file +} diff --git a/packages/store-indexer/tsup.config.ts b/packages/store-indexer/tsup.config.ts index 97c8390fcb..7ae6c030dd 100644 --- a/packages/store-indexer/tsup.config.ts +++ b/packages/store-indexer/tsup.config.ts @@ -1,7 +1,13 @@ import { defineConfig } from "tsup"; export default defineConfig({ - entry: ["src/index.ts", "bin/postgres-frontend.ts", "bin/postgres-indexer.ts", "bin/sqlite-indexer.ts"], + entry: [ + "src/index.ts", + "bin/postgres-frontend.ts", + "bin/postgres-indexer.ts", + "bin/postgres-decoded-indexer.ts", + "bin/sqlite-indexer.ts", + ], target: "esnext", format: ["esm"], dts: false,