Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: follow exact SEA baking procedure for Mac #116

Merged

Conversation

getlarge
Copy link

Followed the process described in Node.js docs to produce valid binaries for your beloved MacOS fan-base :D.

I tested this locally by patching pkg in one of my repository.
Once my Webpack configuration was adapted to bundle the node_modules into the build output, and after running npx pkg main.js --output main -t node20-macos-arm64 --sea --debug, the application was running 🎉.

Maybe you can guide me, and tell me where should the tests be written?

@getlarge getlarge marked this pull request as ready for review October 27, 2024 06:05
@robertsLando
Copy link
Member

Thanks for this @getlarge! 💪

About tests check DEVELOPMENT.md for more informations anyway you could simply uncomment the lines that run the sea binary in test-00-sea/main.js as it wasn't working and should be enough to cover this :)

@getlarge
Copy link
Author

Thanks for this @getlarge! 💪

About tests check DEVELOPMENT.md for more informations anyway you could simply uncomment the lines that run the sea binary in test-00-sea/main.js as it wasn't working and should be enough to cover this :)

Done and passed locally. You can trigger the workflows now!

@robertsLando robertsLando merged commit d818a04 into yao-pkg:main Oct 28, 2024
24 checks passed
@getlarge getlarge deleted the fix-correct-sea-processing-for-mac branch October 28, 2024 13:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants