@storm-software/workspace-tools
Version:
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
10 lines (7 loc) • 685 B
text/typescript
import { ProjectConfiguration } from '@nx/devkit';
import { PackageJson } from 'pkg-types';
declare const getProjectPlatform: (project: ProjectConfiguration, ignoreTags?: boolean) => "node" | "neutral" | "browser" | "worker";
declare const getProjectConfigFromProjectJsonPath: (projectJsonPath: string, packageJson: PackageJson) => ProjectConfiguration;
declare const getProjectConfigFromProjectRoot: (projectRoot: string, packageJson: PackageJson) => ProjectConfiguration;
declare const getProjectRoot: (configPath: string, workspaceRoot: string) => string | null;
export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot };