Skip to content

Commit

Permalink
chore(sdk): exclude @sentio/chain from sdk-bundle (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnons authored Feb 14, 2025
1 parent 580268f commit fe253d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
if: steps.semantic.outputs.new_release_published == 'true'
run: |
pnpm build:bundle
pnpm json -I -f package.json -e "this.dependencies=Object.fromEntries(Object.entries(this.dependencies).filter((entry) => ['@sentio/runtime'].includes(entry['0'])))"
pnpm json -I -f package.json -e "this.dependencies=Object.fromEntries(Object.entries(this.dependencies).filter((entry) => ['@sentio/chain', '@sentio/runtime'].includes(entry['0'])))"
pnpm json -I -f package.json -e 'this.name="@sentio/sdk-bundle"; this.scripts={}; this.peerDependencies={}; this.devDependencies={}; this.files = ["{lib,assets}"]'
working-directory: packages/sdk
- name: sdk-bundle NPM Publish
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/bundle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export default defineConfig({
// dts: true,
format: 'esm',
keepNames: true,
external: [...external, /^@sentio\/(runtime).*$/]
external: [...external, /^@sentio\/(chain|runtime).*$/]
})

0 comments on commit fe253d2

Please sign in to comment.