Skip to content

Release to NPM#414

Merged
Melkeydev merged 5 commits intoMelkeydev:mainfrom
abelpenton:feature/npm-distribution-workflow
Jul 17, 2025
Merged

Release to NPM#414
Melkeydev merged 5 commits intoMelkeydev:mainfrom
abelpenton:feature/npm-distribution-workflow

Conversation

@abelpenton
Copy link
Contributor

@abelpenton abelpenton commented Jul 17, 2025

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Problem/Feature

This is a collaborative PR with @NachoVazquez that address the Issue-405. The goal is to provide NPM distribution for the Go-Blueprint library. We are using optionalDependencies to handle cross-platform compatibility by deploying separate packages for each OS-architecture combination of the library binaries.

Examples can be found here.

Description of Changes:

  • New workflow for NPM publishing: Automated publishing process that runs after GoReleaser completion.
  • Build script: Bash script that generates the platform-specific NPM packages and the main Go-Blueprint installation package.
  • Documentation update: Updated README with NPM installation instructions.

PS: NPM token secret (NPM_TOKEN) must be added to the repository with publishing permissions.

Checklist

@abelpenton abelpenton changed the title Feature/NPM distribution Release to NPM Jul 17, 2025
Copy link
Owner

@Melkeydev Melkeydev left a comment

Choose a reason for hiding this comment

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

LGTM

@Melkeydev Melkeydev merged commit d16fa29 into Melkeydev:main Jul 17, 2025
195 of 237 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.

2 participants