The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
This adds support for bun package manager.
Previously forcing bun by bunx --bun create-payload-app somehow corrupted project.
Now it should use proper command when given flag --use-bun.
My changes only use existing flow. But there is still room for additional detection methods for all package managers like checking user agent.
[x] I have read and understand the CONTRIBUTING.md document in this repository.
Type of change
[x] Chore (non-breaking change which does not add functionality)
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation
I didnt run tests. And didnt test manually. If you suggest how I can do it, I will run manual test.
Although it should not break anything existing, it might not work for new changes.
Description
This adds support for bun package manager. Previously forcing bun by
bunx --bun create-payload-app
somehow corrupted project. Now it should use proper command when given flag--use-bun
.My changes only use existing flow. But there is still room for additional detection methods for all package managers like checking user agent.
Type of change
Checklist:
I didnt run tests. And didnt test manually. If you suggest how I can do it, I will run manual test. Although it should not break anything existing, it might not work for new changes.