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
  • Loading branch information
Roozenboom committed Nov 25, 2022
1 parent 0f6b4e7 commit f0fc786
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

1 comment on commit f0fc786

@vercel
Copy link

@vercel vercel bot commented on f0fc786 Nov 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.