Skip to content

Commit

Permalink
fix(devkit): change name schema order in project.json (#13409)
Browse files Browse the repository at this point in the history
(cherry picked from commit f0fc786)
  • Loading branch information
Roozenboom authored and FrozenPandaz committed Nov 28, 2022
1 parent a31aa3b commit dd5b967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/generators/utils/project-configuration.ts
Expand Up @@ -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,
});
Expand Down

0 comments on commit dd5b967

Please sign in to comment.