Skip to content

Commit

Permalink
Fix build, re-publish @mysten/kms (#20125)
Browse files Browse the repository at this point in the history
## Description 

Build will always treat `src` as the base for outputs when building.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
  • Loading branch information
manolisliolios authored Oct 31, 2024
1 parent 16f2683 commit 02c9e46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-students-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mysten/kms': patch
---

Fix exports on the bundled package
2 changes: 2 additions & 0 deletions sdk/build-scripts/src/utils/buildPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async function buildCJS(
entryPoints,
outdir: 'dist/cjs',
sourcemap: true,
outbase: 'src',
...buildOptions,
});
await buildTypes('tsconfig.json');
Expand Down Expand Up @@ -90,6 +91,7 @@ async function buildESM(
target: 'es2020',
entryPoints,
outdir: 'dist/esm',
outbase: 'src',
sourcemap: true,

...buildOptions,
Expand Down

0 comments on commit 02c9e46

Please sign in to comment.