这是indexloc提供的服务,不要输入任何密码
Skip to content

"Prune is not supported for Bun" message when trying to generate files for Docker  #9058

@MarArMar

Description

@MarArMar

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/vercel/turborepo/

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Linux

Which canary version will you have in your reproduction?

^2.0.14

Describe the Bug

Following guide : https://turbo.build/repo/docs/guides/tools/docker

Using latest bun stable (v1.1.26)

When I try to use

turbo prune app_name --docker

It raises

× Prune is not supported for Bun

Expected Behavior

It would not have this error

To Reproduce

  1. Install bun
  2. Follow this guide to create the reproduction repo : https://turbo.build/repo/docs/guides/tools/docker
  3. Use
turbo prune app_name --docker

Additional context

Alternatively, you could indicate how to do the same with bun, even if we need to copy files individually

I thought of :

  • Having fixed versions in package.json at all times
  • Upgrading them manually with ncu

To have the equivalent of a lockfile because all deps are locked by the package.json at all times

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions