Skip to content

fix(bin): use package exports for portable cli imports#70

Merged
uladkasach merged 3 commits into
mainfrom
vlad/fix-bin
Jun 18, 2026
Merged

fix(bin): use package exports for portable cli imports#70
uladkasach merged 3 commits into
mainfrom
vlad/fix-bin

Conversation

@ehm-seaturtle

Copy link
Copy Markdown
Contributor

fix(bin): use package exports for portable cli imports

  • bin/run now uses require("sql-schema-control/cli") instead of relative path
  • added exports field for ./cli and . (sdk) entry points
  • added self-link devDependency for blackbox acceptance testing
  • acceptance tests run via node_modules to prove published package works
  • added howto brief for cli/sdk blackbox testing pattern

🐢🌊 surfed in by seaturtle[bot]

ehm-seaturtle and others added 3 commits June 17, 2026 22:06
- bin/run now uses require("sql-schema-control/cli") instead of relative path
- added exports field for ./cli and . (sdk) entry points
- added self-link devDependency for blackbox acceptance testing
- acceptance tests run via node_modules to prove published package works
- added howto brief for cli/sdk blackbox testing pattern

Co-authored-by: ulad kasach <uladkasach@gmail.com>
- format cli.acceptance.test.ts imports (multi-line, type keyword)
- add sql-schema-control to depcheck ignores (self-link for acceptance tests)

Co-authored-by: ulad kasach <uladkasach@gmail.com>
- useBeforeAll expects async function returning Promise
- sync callbacks caused type error in CI

Co-authored-by: ulad kasach <uladkasach@gmail.com>
@uladkasach uladkasach merged commit ce8a376 into main Jun 18, 2026
16 checks passed
@uladkasach uladkasach deleted the vlad/fix-bin branch June 18, 2026 03:14
@rhelease rhelease Bot mentioned this pull request Jun 18, 2026
@rhelease

rhelease Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

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.

2 participants