UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

10 lines (9 loc) 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.shouldUseLegacyVersioning = shouldUseLegacyVersioning; function shouldUseLegacyVersioning(releaseConfig) { return process.env.NX_INTERNAL_USE_LEGACY_VERSIONING === 'false' ? false : // TODO(v21): switch this to false by default in Nx v21 and remove this function in v22 releaseConfig?.version?.useLegacyVersioning ?? true; }