Skip to content

Commit

Permalink
docs(nx-plugin): made code example for extending project graph match …
Browse files Browse the repository at this point in the history
…the current api (#19398)
  • Loading branch information
beaussan authored Oct 1, 2023
1 parent e29e9f9 commit 718c6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/shared/recipes/plugins/project-graph-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ A simplified version of Nx's built-in `project.json` plugin is shown below, whic

```typescript {% fileName="/my-plugin/index.ts" %}
export const createNodes: CreateNodes = [
'project.json',
'**/project.json',
(projectConfigurationFile: string, context: CreateNodesContext) => {
const projectConfiguration = readJson(projectConfigurationFile);
const projectRoot = dirname(projectConfigurationFile);
Expand Down

1 comment on commit 718c6e8

@vercel
Copy link

@vercel vercel bot commented on 718c6e8 Oct 1, 2023

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-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.