Skip to content

fix(cli): report the package version and publish only build output - #66

Merged
YagoBorba merged 1 commit into
developfrom
fix/npm-packaging
Nov 27, 2026
Merged

YagoBorba merged 1 commit into
developfrom
fix/npm-packaging

Conversation

@YagoBorba

Copy link
Copy Markdown
Owner
  • stc --version printed a hard-coded 1.0.3; it now reads package.json.
  • @stackcode/cli, core, i18n and github-auth publish only dist and declare public access.
  • @stackcode/github-auth is a runtime dependency of the CLI and was never published; it now has the fields needed to publish it.

Checked by packing the four packages, installing the tarballs in an empty project and running stc --version, stc validate and stc generate readme.

stc --version printed a hard-coded 1.0.3; it now reads the version from package.json. The npm packages ship only dist, declare public access, and @stackcode/github-auth, a runtime dependency of the CLI, can be published with them.
@YagoBorba
YagoBorba merged commit d9cf7fc into develop Nov 27, 2026
5 checks passed
@YagoBorba
YagoBorba deleted the fix/npm-packaging branch November 27, 2026 15:40
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