Skip to content

Commit

Permalink
fix(orchestration): Resolve module import issues (#10149)
Browse files Browse the repository at this point in the history
refs: #10086

## Description

- add types.js indirection layer to fix ERR_MODULE_NOT_FOUND error.
- maintains public API shape for intra-monorepo and npm installs.

### Security Considerations
n/a

### Scaling Considerations
n/a

### Documentation Considerations
n/a

### Testing Considerations
Includes a test in `packages/builders` that ensures `@agoric/orchestration` exports are reachable from a js file.

### Upgrade Considerations
Library code for NPM Orch release
  • Loading branch information
mergify[bot] authored Sep 25, 2024
2 parents 7d15388 + 5952bbd commit 4a1e4c3
Show file tree
Hide file tree
Showing 6 changed files with 542 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/builders/test/orchestration-imports.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { test } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import * as orch from '@agoric/orchestration';

test('@agoric/orchestration exports', t => {
t.snapshot(orch);
});
Loading

0 comments on commit 4a1e4c3

Please sign in to comment.