Skip to content

Feature request: Postinstall yo-doctor disabling way #714

@paztis

Description

@paztis

Type of issue

I use yeoman over a private network without internet access.
I point to a private repository (not npm) that contains all the needed modules. Environment is fully controlled.

Postinstall of yo-doctor Tris to reach internet to check the versions.

In my case it is useless and it is not possible to access to internet.

I would like a way to disable the Postinstall process to avoid these useless checks
An env var like YO_DOCTOR_DISABLE might control it.

I don't want to disable all the postinstall as other modules need it. But for yeoman it is not mandatory, just informative.

Because of it, all my Jenkins installs, docker install take more time and I try to limit it.

Is it possible to do it ?

Moreover what are the internet calls that are done ? Perhaps they can be done by launching subprocess with npm info command to correctly support alternative repositories instead of checking by yourself ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions