UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

13 lines (12 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeHostName = normalizeHostName; const internal_1 = require("@nx/devkit/internal"); async function normalizeHostName(tree, directory, name) { const { projectName } = await (0, internal_1.determineProjectNameAndRootOptions)(tree, { name, directory, projectType: 'application', }); return projectName; }