import { UtilsProjects__NS__sortGroupOfProject } from 'tnp-core/lib-prod';
//namespace DevModeUtils
export const DevModeUtils__NS__dependenciesTreeForBuild = (allProjects, onlyAffectedByProject) => {
    allProjects = UtilsProjects__NS__sortGroupOfProject({
        projects: allProjects,
        resoveDepsArray: proj => proj.devModeDependenciesNames,
        projNameToCompare: proj => proj.nameForNpmPackage,
        projUniqueKeyToCompare: proj => proj.uniqueKey,
        onlyAffectedByProject,
    });
    return allProjects;
};
//end of namespace DevModeUtils
//# sourceMappingURL=dev-mode.utils.js.map