I'm trying to migrate my repo from Deno to Bun because Deno core members said they probably won't support clearing the import cache, while Bun has this feature.
However, my repo heavily relies on Deno's auto-install feature. It works perfectly fine in Deno when using "nodeModulesDir": "auto" + --allow-scripts, but after migrating to Bun, my whole project can't run.
What is the feature you are proposing to solve the problem?
I wish Bun could support auto-import for all packages via auto-import!
If there are any security concerns, I hope at least a switch can be added to allow this.
What is the problem this feature would solve?
I'm trying to migrate my repo from Deno to Bun because Deno core members said they probably won't support clearing the import cache, while Bun has this feature. However, my repo heavily relies on Deno's auto-install feature. It works perfectly fine in Deno when using
"nodeModulesDir": "auto"
+--allow-scripts
, but after migrating to Bun, my whole project can't run.What is the feature you are proposing to solve the problem?
I wish Bun could support auto-import for all packages via auto-import! If there are any security concerns, I hope at least a switch can be added to allow this.
What alternatives have you considered?
no idea.