Skip to content

test: the scaffold closure test ignores the contract packages - #147

Merged
zumbrunn merged 1 commit into
mainfrom
test/closure-ignores-contract-packages
Nov 10, 2026
Merged

zumbrunn merged 1 commit into
mainfrom
test/closure-ignores-contract-packages

Conversation

@zumbrunn

Copy link
Copy Markdown
Member

The scaffold's import-map closure test treats every import in core's deno.json as a runtime dependency, exempting only @std/assert. #118 and #119 add @dune/theme-api and @dune/plugin-api there for the compat tests under tests/contract/, which are not runtime dependencies, so the test fails on both (the only red check once the packages were published). This exempts the two the same way as @std/assert.

Once this is on main, #118 and #119 need main merged in and should go green.

🤖 Generated with Claude Code

core's deno.json imports @dune/plugin-api and @dune/theme-api for the compat
tests under tests/contract/ only; they are not runtime dependencies, like
@std/assert, so a scaffolded site's import map does not need them. Without
this the test fails as soon as either compat PR (#118, #119) adds its import.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn merged commit 0130a3c into main Nov 10, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant