Skip to content

Commit

Permalink
fix(store-indexer): add postgres-decoded-indexer binary (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Dec 12, 2023
1 parent b00550c commit 735d957
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sour-rivers-grow.md
@@ -0,0 +1,5 @@
---
"@latticexyz/store-indexer": patch
---

Added a binary for the `postgres-decoded` indexer.
3 changes: 2 additions & 1 deletion packages/store-indexer/package.json
Expand Up @@ -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"
Expand Down Expand Up @@ -82,4 +83,4 @@
"access": "public"
},
"gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f"
}
}
8 changes: 7 additions & 1 deletion 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,
Expand Down

0 comments on commit 735d957

Please sign in to comment.