Skip to content

💡 Suggesting using yarn as package manager with TS SDK #7851

Closed

Description

@TomChv

As the TS runtime is using yarn as package manager to download SDK & user's dependency, it's best to use yarn as package manager until we ship a way to configure the package manager inside the TS SDK runtime.

We could also benefit from this system to allow configure the node runtime.

What we could do is setting a field in the same way we can configure the runtime:

{
  "dagger": {
    "packageManager": "npm@xxx | yarn@xxx | pnpm@xxx",
    "runtime": "bun@xxx | node@xxx", // Right now it's only `node | bun`, by support pinning a version we allow customizing the runtime version
  }
}

Activity

  1. self-assigned this
    on Jul 9, 2024
  2. TomChv commented on Jul 15, 2024

    @TomChv
    MemberAuthor

    Should be closed by #7864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions