UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

15 lines (14 loc) 602 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertCompatibleStorybookVersion = assertCompatibleStorybookVersion; const semver_1 = require("semver"); function assertCompatibleStorybookVersion() { let storybookVersion; try { storybookVersion = require(require.resolve('@storybook/angular/package.json')).version; } catch { } if (storybookVersion && (0, semver_1.lt)(storybookVersion, '6.4.0-rc.1')) { throw new Error('Incompatible Storybook Version: Please use a version of @storybook/angular higher than 6.4.0-rc.1'); } }