2.0.0 • Published 3 years ago

yarn-install-lock-only v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Yarn install --lock-only

Look like npm install --package-lock-only

Yarn doesn't support the feature official(issue 5738).

This is a simple implement.

NOTICE: It doesn't do anything for resolutions or flat

CLI

yarn global add yarn-install-lock-only
yarn-install-lock-only <module> [range]

Usage

import installLockOnly from "yarn-install-lock-only";

installLockOnly(
  YARN_LOCK_PATH,
  PACKAGE_JSON_PATH,
  OUTPUT_YARN_LOCK_PATH,
  OUTPUT_PACKAGE_JSON_PATH
)("color", "latest");
2.0.0

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago