Skip to content

fix: declare consola runtime dependency - #268

Open
beyondskyway wants to merge 1 commit into
sourcey:mainfrom
beyondskyway:fix/consola-runtime-dependency
Open

beyondskyway wants to merge 1 commit into
sourcey:mainfrom
beyondskyway:fix/consola-runtime-dependency

Conversation

@beyondskyway

Copy link
Copy Markdown

Summary

  • declare consola as a runtime dependency
  • ensure the published CLI can load init.js in a clean consumer install

Reproduction

A clean install of sourcey 3.6.5 followed by sourcey build fails before command dispatch with ERR_MODULE_NOT_FOUND because dist/init.js imports consola but the package does not declare it.

Verification

  • npm test: 29 files passed, 2 skipped; 211 tests passed
  • packed the branch with npm pack
  • installed the tarball into a fresh consumer project without adding consola directly
  • generated static HTML from an OpenAPI 3.1 fixture and verified dist/index.html exists

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