patches/README.md
This directory contains patches that are applied to our node_modules
dependencies by patch-package.
The patches are applied automatically after every yarn install via the
postinstall script (see scripts/frontend/postinstall.js), which runs
patch-package.
Note: Do not delete this file.
postinstallaborts if it is missing, which catches cases where thepatches/directory was not copied (e.g. in Docker builds). Having no.patchfiles is valid and only logs a warning, so keep this README in place even when the directory has no patches.
Each patch is named after the package and version it applies to, for example:
package-name+1.2.3.patch patches package-name at version 1.2.3.@scope+package-name+1.2.3.patch patches the scoped package
@scope/package-name at version 1.2.3.package-name+1.2.3+001+description.patch adds a trailing sequence number and
description, used when a single package needs multiple patches.See our documentation.