FeatureFuel
33

Migrate from pnpm to Bun Package Manager in Directus for Enhanced Performance and Efficiency

Source: directus/directus#19643 · opened by @vamsii777
Summary Bun is a modern, fast, and efficient package manager designed to be production-ready. It offers advantages in speed, disk usage, and memory footprint compared to pnpm, the current package manager used in Directus. The proposal aims to migrate Directus from pnpm to Bun to leverage these performance and efficiency gains, thereby enhancing the overall development and deployment experience. Performance Metrics Based on the Bun v1.0, Bun shows significant improvements in various performance metrics: ![Performance Graph]( > Note: Bun runs a "hello world" TypeScript file 5x faster than esbuild with Node.js. By migrating to Bun, Directus can expect: • Faster Install Times: Speed up your development and deployment cycles. • Reduced Disk Usage: Less disk space required for your dependencies. • Lower Memory Footprint: Reduced memory usage for running commands. Why Migrate to Bun? 1. Speed: Bun is designed for speed, making it idea…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests