Skip to content

Commit f0559fb

Browse files
committed
fix(pgsql-test): add index re-exports for module resolution
Add index.js and index.d.ts files to re-export the built dist bundle, ensuring TypeScript and Jest can correctly resolve pgsql-test imports in graphile-test tests. Fixes CI failures where graphile-test tests could not find pgsql-test module during TypeScript compilation.
1 parent e184bdd commit f0559fb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/pgsql-test/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist';

packages/pgsql-test/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./dist');

0 commit comments

Comments
 (0)