fix(core): Ensure when converting to monorepo standalone libs have a readable name (#18887)
This commit is contained in:
parent
b5380d0847
commit
c48f3aa319
@ -35,7 +35,9 @@ export async function monorepoGenerator(tree: Tree, options: {}) {
|
|||||||
await moveGenerator(tree, {
|
await moveGenerator(tree, {
|
||||||
projectName: project.name,
|
projectName: project.name,
|
||||||
newProjectName:
|
newProjectName:
|
||||||
project.projectType === 'application' ? project.name : project.root,
|
project.projectType === 'application' || project.root === '.'
|
||||||
|
? project.name
|
||||||
|
: project.root,
|
||||||
destination:
|
destination:
|
||||||
project.projectType === 'application'
|
project.projectType === 'application'
|
||||||
? joinPathFragments(appsDir, project.name)
|
? joinPathFragments(appsDir, project.name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user