Skip to content

Exclude other NPM package versions while migrating a new NPM package version

Overview

The NPM metadata of a package stored in GitLab includes a consolidation of all versions of the package in the registry. We were pushing the entire list of versions over per package and this was causing the first version to make it over fine while all the subsequent versions failed to migrate, leading to an esoteric 500 error in GitLab.

This MR generates an NPM metadata file to only include the version currently being migrated in that specific metadata section instead of all version.

Tasks

  • Update docs if needed (workflow, runbooks, README, migration metrics, etc.)

Acceptance Criteria

  • Existing UTs pass locally

Closes #1070 (closed)

Edited by Michael Leopard

Merge request reports