workspace-tools
Version:
A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:
11 lines • 418 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.listOfWorkspacePackageNames = void 0;
/**
* @deprecated Just write `workspaces.map(w => w.name)` directly
*/
function listOfWorkspacePackageNames(workspaces) {
return workspaces.map(({ name }) => name);
}
exports.listOfWorkspacePackageNames = listOfWorkspacePackageNames;
//# sourceMappingURL=listOfWorkspacePackageNames.js.map