Skip to content

Feature request: attw --from-npm <pkg-name> use $(npm config get registry) as its default registry #215

Open
@zanminkian

Description

@zanminkian

Currently, for me, my npm registy is https://registry.npmmirror.com, not https://registry.npmjs.org. But running attw --from-npm <pkg-name> still fetch from the default npm registry. IMO, there are 2 solutions:

  • allow --registry option for attw cmd.
  • if not pass --registry option to attw cmd, use the result of $(npm config get registry) by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions