Skip to content

[Package Management] Integrate ligo registry in CLI & Impl `ligo publish`, `ligo login` & `ligo add-users` in CLI

Melwyn Saldanha requested to merge ligo-package-registry-integration into dev

type:added

This MR implementent a basic client for new LIGO registry. We make use of the following libraries:

  1. "semver" (Validation of package version)
  2. "tls" (For HTTPS request)
  3. "decompress" (gzip the package)
  4. "tar" (tar archive the package files) "tar-unix"
  5. "lambda-term" (Prompt for Username & Password)

Changelog details:

Adds support for the new LIGO registry with the following commands

  1. ligo publish [--registry URL] [--ligorc-path PATH] [--project-root PATH] publish the LIGO package declared in package.json
  2. ligo add-user [--registry URL] [--ligorc-path PATH] create a new user for the LIGO package registry
  3. ligo login [--registry URL] [--ligorc-path PATH] login to the LIGO package registry
Edited by Melwyn Saldanha

Merge request reports