Skip to content

Proposal: Remove speed tests if registry is specified #5495

Open
@pd4d10

Description

@pd4d10

What problem does this feature solve?

vue-cli would do a speed test and choose the faster registry:

faster = await Promise.race([
ping(defaultRegistry),
ping(registries.taobao)
])

While registry is specified, this test seems useless because in most cases users would prefer the registry specified explicitly.

What does the proposed API look like?

Remove speed tests while registry is set in npmrc or yarnrc.

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