Skip to content

Commit

Permalink
feat(semver): add all-libs project option
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgeier committed Jun 8, 2022
1 parent 47f06f0 commit e69eec4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/semver/src/generators/install/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ export function updateWorkspaceFromSchema(
tree: Tree,
options: SchemaOptions
): void {
return updateProjects(
tree,
options,
(projectName) => options.projects?.includes(projectName) as boolean,
return updateProjects(tree, options, (projectName) =>
options.projects?.includes(projectName) as boolean,
() => options.projects !== undefined && options.projects.includes('all-libs') as boolean,
);
}

0 comments on commit e69eec4

Please sign in to comment.