Skip to content

Commit

Permalink
fix(orchestration): Resolve module import issues
Browse files Browse the repository at this point in the history
- add types.js indirection layer to fix ERR_MODULE_NOT_FOUND error.
- maintains public API shape for intra-monorepo and npm installs.
- refs #10086
  • Loading branch information
0xpatrickdev committed Sep 25, 2024
1 parent 7d15388 commit ac98e25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/orchestration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/// <reference types="@agoric/vats/src/core/types-ambient" />
/// <reference types="@agoric/zoe/exported" />

export * from './src/types.js';
// eslint-disable-next-line import/export
export * from './types.js'; // no named exports
export * from './src/exos/cosmos-interchain-service.js';
export * from './src/exos/chain-hub-admin.js';
export * from './src/typeGuards.js';
Expand Down
1 change: 1 addition & 0 deletions packages/orchestration/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/types.js';
1 change: 1 addition & 0 deletions packages/orchestration/types.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};

0 comments on commit ac98e25

Please sign in to comment.