Skip to content

Dependants by Git URL #16

@denis-sokolov

Description

@denis-sokolov

I need to add a dependant by Git URL, because the tests in it are added to .npmignore (see #15).

I have tried adding a dependant by Git URL using git+ssh syntax from package.json (git+ssh://git@example.com:example.git#master), but it tried to install git+ssh instead:

testing dependents [ 'git+ssh:' ]
testing git+ssh:
  installing git+ssh:
npm returned 1
errors:

I have tried adding a dependant by Git URL (git@example.com:example.git), but it prepended github.com:

testing dependents [ 'git@example.com:example.git' ]
testing git@example.com:example.git
  installing git@example.com:example.git
npm returned 1
errors:
npm ERR! git clone git@github.com:example.com:example.git Cloning into bare repository '/home/<snip>'...

Is there any way to do it manually? Perhaps it should be considered to add one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions