What problem will this feature address?
Currently, the project runs on Node.js and uses npm for package management. While this stack is standard, it presents a few limitations regarding performance and developer experience:
npm can be slow when resolving and installing dependencies, which increases setup time for contributors and build times in CI/CD pipelines.
Node.js, while mature, generally has slower startup times and higher memory overhead compared to newer runtimes.
Node.js often requires a significant number of external dependencies to handle tasks like bundling, transpiling, and testing. This adds complexity to the project configuration.
Describe the solution you'd like
I propose migrating the project runtime and package manager to Bun.
Bun is a drop-in replacement for Node.js that is significantly faster.
bun install is orders of magnitude faster than npm, which would speed up deployment builds and local development setup. Bun has a built-in bundler, test runner, and native TypeScript support. This would allow us to remove external dependencies and simplify the codebase/configuration files. Bun offers faster startup times and lower memory usage, which is ideal for a self-hosted PaaS solution like Dokploy where resource efficiency is key.
Describe alternatives you've considered
no alternatives
Additional context
No response
Will you send a PR to implement it?
Maybe, need help
What problem will this feature address?
Currently, the project runs on Node.js and uses npm for package management. While this stack is standard, it presents a few limitations regarding performance and developer experience:
npm can be slow when resolving and installing dependencies, which increases setup time for contributors and build times in CI/CD pipelines.
Node.js, while mature, generally has slower startup times and higher memory overhead compared to newer runtimes.
Node.js often requires a significant number of external dependencies to handle tasks like bundling, transpiling, and testing. This adds complexity to the project configuration.
Describe the solution you'd like
I propose migrating the project runtime and package manager to Bun.
Bun is a drop-in replacement for Node.js that is significantly faster.
bun install is orders of magnitude faster than npm, which would speed up deployment builds and local development setup. Bun has a built-in bundler, test runner, and native TypeScript support. This would allow us to remove external dependencies and simplify the codebase/configuration files. Bun offers faster startup times and lower memory usage, which is ideal for a self-hosted PaaS solution like Dokploy where resource efficiency is key.
Describe alternatives you've considered
no alternatives
Additional context
No response
Will you send a PR to implement it?
Maybe, need help