fix(devkit): change name schema order in project.json (#13409)

This commit is contained in:
Richard Roozenboom 2022-11-25 19:42:08 +01:00 committed by GitHub
parent 0f6b4e7267
commit f0fc7863f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,8 +375,8 @@ function addProjectToWorkspaceJson(
// update the project.json file
writeJson(tree, projectConfigFile, {
...jsonSchema,
name: mode === 'create' ? projectName : project.name ?? projectName,
...jsonSchema,
...project,
root: undefined,
});