Skip to content

Commit

Permalink
Add 'graph' script and ignore NX files
Browse files Browse the repository at this point in the history
The commit includes an update to the package.json file, specifically a new script titled 'graph' which uses NX commands. Additionally, NX generated files are now ignored in the .gitignore file to prevent unnecessary tracking of these automatically generated files.
  • Loading branch information
jakubswierczek committed Jan 16, 2024
1 parent f7c275f commit 5caa92b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ artifacts
*.tsbuildinfo

# geneated GraphQL types
/**/types/graphql/*.ts
/**/types/graphql/*.ts

# nx files
.nx
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"graph": "pnpm dlx nx graph"
},
"devDependencies": {
"eslint": "^8.48.0",
Expand Down

0 comments on commit 5caa92b

Please sign in to comment.