1.2.1 • Published 5 years ago

yarn-retry v1.2.1

Weekly downloads
636
License
-
Repository
github
Last release
5 years ago

Build Status

Command line utility that retries yarn command when it fails with unexpected end of file error.

This happens quite often for private NPM modules, see https://github.com/yarnpkg/yarn/issues/7521, https://github.com/yarnpkg/yarn/issues/2738

Installation

yarn global add yarn-retry

Usage

From command-line:

yarn-retry --wait 500 --attempts 10 -- --frozen-lockfile

It has two options: wait (defaults to 500) and attempts (default to 10). Everything after -- goes directly to yarn, so you can retry e.g. yarn add:

yarn-retry -- add --dev @myorg/my-package --ignore-engines

Other

Based on battle-tested npm-install-retry utility by José F. Romaniello.

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago