"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DevModeUtils = void 0;
const lib_1 = require("tnp-core/lib");
var DevModeUtils;
(function (DevModeUtils) {
    DevModeUtils.dependenciesTreeForBuild = (allProjects, onlyAffectedByProject) => {
        allProjects = lib_1.UtilsProjects.sortGroupOfProject({
            projects: allProjects,
            resoveDepsArray: proj => proj.devModeDependenciesNames,
            projNameToCompare: proj => proj.nameForNpmPackage,
            projUniqueKeyToCompare: proj => proj.uniqueKey,
            onlyAffectedByProject,
        });
        return allProjects;
    };
})(DevModeUtils || (exports.DevModeUtils = DevModeUtils = {}));
//# sourceMappingURL=dev-mode.utils.js.map