Skip to content

Add @hawk.so/core to npm publish #185

Merged
Reversean merged 1 commit into
masterfrom
ci/core-publish
May 13, 2026
Merged

Add @hawk.so/core to npm publish #185
Reversean merged 1 commit into
masterfrom
ci/core-publish

Conversation

@Reversean
Copy link
Copy Markdown
Member

Extends the CI publish workflow to publish @hawk.so/core to npm alongside @hawk.so/javascript.

Also bumps actions/checkout from v2 to v4 in both workflow jobs.

Also moves @hawk.so/core from a dev dependency to a runtime dependency in @hawk.so/javascript (see #180).

@neSpecc neSpecc requested a review from Copilot April 29, 2026 14:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends the npm publish GitHub Actions workflow to publish @hawk.so/core alongside @hawk.so/javascript, and updates @hawk.so/javascript to depend on @hawk.so/core at runtime (reverting the temporary approach from #180).

Changes:

  • Move @hawk.so/core from devDependencies to dependencies in packages/javascript.
  • Publish @hawk.so/core to npm in .github/workflows/npm-publish.yml before publishing @hawk.so/javascript.
  • Bump actions/checkout from v2 to v4 in the publish + notify jobs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/javascript/package.json Makes @hawk.so/core a runtime dependency of @hawk.so/javascript.
.github/workflows/npm-publish.yml Publishes @hawk.so/core in CI and updates checkout action version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/npm-publish.yml
Comment thread .github/workflows/bump-package.yml Outdated
@Reversean Reversean force-pushed the docs/core-readme branch 2 times, most recently from 2f4dd05 to 6681ee8 Compare May 13, 2026 15:25
Added CI jobs to publish a new versions of @hawk.so/core.

Added CI workflows that check if versions of packages core and javascript should be bumped.

Bump level depends on commit message:
- major - '!' after type or body contains 'BREAKING CHANGES' string
- minor - commit of type 'feat'
- patch - otherwise
Base automatically changed from docs/core-readme to master May 13, 2026 19:18
@Reversean Reversean merged commit 268d54b into master May 13, 2026
5 checks passed
@Reversean Reversean deleted the ci/core-publish branch May 13, 2026 19:19
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.

3 participants