Skip to content

fix: publish npm package with prebuilt binaries#237

Merged
VladimirMakaev merged 1 commit intomainfrom
fix/npm-prebuilds
Feb 20, 2026
Merged

fix: publish npm package with prebuilt binaries#237
VladimirMakaev merged 1 commit intomainfrom
fix/npm-prebuilds

Conversation

@VladimirMakaev
Copy link
Copy Markdown
Collaborator

Use the reusable workflow from tree-sitter/workflows to build native binaries for all major platforms (linux-x64, linux-arm64, macos-x64, macos-arm64, windows-x64, windows-arm64) and WASM before publishing to npm.

This means users no longer need a C compiler or node-gyp to install tree-sitter-kotlin — prebuilt binaries are bundled in the npm package, matching how official tree-sitter parsers ship.

Fixes #143
Fixes #167

Use the reusable workflow from tree-sitter/workflows to build
native binaries for all major platforms (linux-x64, linux-arm64,
macos-x64, macos-arm64, windows-x64, windows-arm64) and WASM
before publishing to npm.

This means users no longer need a C compiler or node-gyp to
install tree-sitter-kotlin — prebuilt binaries are bundled in
the npm package, matching how official tree-sitter parsers ship.

Fixes #143
Fixes #167
@github-actions github-actions bot added the ci-cd CI/CD-related label Feb 20, 2026
@VladimirMakaev VladimirMakaev merged commit 87f81d4 into main Feb 20, 2026
2 checks passed
@VladimirMakaev VladimirMakaev deleted the fix/npm-prebuilds branch February 27, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd CI/CD-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error invalid ELF header on AWS Lambda Publish to npm with prebuilds (prebuildify)

1 participant