js-bson: unblock git dependency under npm 12

    • Type: Task
    • Resolution: Unresolved
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      npm 12 disables git-URL dependency fetching by default (error EALLOWGIT), which breaks js-bson's npm ci on its dbx-js-tools git devDependency.

      Options:

      • Set allow-git (e.g. in .npmrc) so the git dep is fetched, weighing whether allowing git fetches is acceptable long-term.
      • Vendor or republish dbx-js-tools so no git dependency is needed.

      Dev/CI-only impact (devDependency, not published).

      Acceptance Criteria:

      • npm ci and the build succeed under npm 12.
      • CI runs on npm 12 and all builds succeed.

            Assignee:
            Sergey Zelenov
            Reporter:
            Sergey Zelenov
            Pavel Safronov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: