verdaccio-migrate
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

verdaccio-migrate

Migrate all packages in a verdaccio to another npm registry with npm publish.

Install

npm i verdaccio-migrate

Usage

import verdaccioMigrate from "verdaccio-migrate";

const from = "https://registry.npmjs.org/"; // source registry url
const to = "http://localhost:4873/"; // target registry url

verdaccioMigrate(from, to).then(
  ({
    succeeded, // ['@my/pkg1@0.0.1', '@my/pkg1@0.0.2']
    failed,
    skipped,
  }) => {
    // migrated
  }
);

Cli Usage

npx verdaccio-migrate --from=https://registry.npmjs.org/ --to=http://localhost:4873/

Details

For more details, checkout npm-migrate-all.

Readme

Keywords

Package Sidebar

Install

npm i verdaccio-migrate

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

8.53 kB

Total Files

12

Last publish

Collaborators

  • banyudu