Skip to content

Avoiding GitHub rate limits for npm library #13

@guybedford

Description

@guybedford

There are two approaches that can be taken here:

  1. Using direct release URLs that don't get ratelimited (and verifying that of course)
  2. Using the npm optional dependencies pattern to publish multiple packages with the release binaries and then using the engines package.json field to select on the correct dependency install through npm

We use (2) for Wizer, but both (1) and (2) can work for Weval.

We very much should solve this problem though as npm installs aren't reliable otherwise.

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