From 5caa92b52c3ca3368ee76121561f262bccf165b6 Mon Sep 17 00:00:00 2001 From: Jakub Swierczek Date: Tue, 16 Jan 2024 08:30:30 +0100 Subject: [PATCH] Add 'graph' script and ignore NX files 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. --- .gitignore | 5 ++++- package.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 406f91c2f8..51f5a12991 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,7 @@ artifacts *.tsbuildinfo # geneated GraphQL types -/**/types/graphql/*.ts \ No newline at end of file +/**/types/graphql/*.ts + +# nx files +.nx \ No newline at end of file diff --git a/package.json b/package.json index a8af2a91a9..e0983b35d3 100644 --- a/package.json +++ b/package.json @@ -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",