XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: NPM
    • Labels:
    • Environment:

      n/a

    • Location:
      External

      Description

      Yarn 2 & 3 don't usually store the full registry URL within lockfiles. This allows to easily swap the registry from one to the other without having to update all the URLs inside.

      However, this can only be done if the URLs follow a specific pattern:

       

      <registry root endpoint>/<@scope>/<name>/-/<name>-<version>.tgz

       

      Artifactory doesn't follow this pattern:

       

      http://artifactory.xxx.net/artifactory/api/npm/npm-remote/jest-resolve/-/jest-resolve-26.6.0.tgz

      Because of the extra npm-remote, the URL is non-standard and Yarn must encode it as-is within the lockfile, thus preventing it from being easy-switch.

      Artifactory should use a standard URL path (on top of the existing route, for compatibility purposes).

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            arcanis Maël
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-26430 -
                SYNCHRONIZED
                • Last Sync Date: