Home > @microsoft/rush-lib > NodeVersionGranularity
NodeVersionGranularity type
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The granularity at which the Node.js version is included in the build cache hash.
"major"— includes only the major version (e.g.18) -"minor"— includes the major and minor version (e.g.18.17) -"patch"— includes the full version (e.g.18.17.1)
Signature:
export type NodeVersionGranularity = 'major' | 'minor' | 'patch';