Spec-Zone.ru › Yarn 3

yarn patch

Prepare a package for patching.

Usage

$> yarn patch <package>

Options

Definition
Description
--json Format the output as an NDJSON stream

Details

This command will cause a package to be extracted in a temporary directory intended to be editable at will.

Once you're done with your changes, run yarn patch-commit -s <path> (with <path> being the temporary directory you received) to generate a patchfile and register it into your top-level manifest via the patch: protocol. Run yarn patch-commit -h for more details.

© 2016–present Yarn Contributors
Licensed under the BSD License.
https://v3.yarnpkg.com/cli/patch

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API