•  
      request #29637 Link packages through `workspace:` protocol
    Infos
    #29637
    Joris MASSON (jmasson)
    2022-11-30 14:11
    2022-11-29 15:27
    31222
    Details
    Link packages through `workspace:` protocol

    As of today, the standard way to add a dependency to a Tuleap npm package is to use link: protocol. pnpm does it by default when you use pnpm add with a relative path. It works well. The only exception is that filtering with dependencies (pnpm --filter ...foo test) only selects the foo package in our case. For this to work, we should use the workspace protocol. After trying it out, it does not seem to break the turbo cache: the cache is hit or invalidated correctly.

    Since it seems to be transparent enough, we should switch to workspace: protocol to enable filtering with dependencies.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2022-11-30
    Attachments
    Empty
    References

    Follow-ups