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) 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.shouldUseLegacyVersioning = shouldUseLegacyVersioning; // TODO(v22): remove this function and entire concept of legacy versioning in v22 function shouldUseLegacyVersioning(releaseConfig) { return process.env.NX_INTERNAL_USE_LEGACY_VERSIONING === 'true' ? true : releaseConfig?.version?.useLegacyVersioning ?? false; }