From 54493b60298998b2f0310a1a83194ff2c107ea01 Mon Sep 17 00:00:00 2001 From: Christophe Trefois Date: Wed, 10 Jul 2024 11:54:00 +0200 Subject: [PATCH] Added Docusaurus --- nx.json | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/nx.json b/nx.json index 5adb8983b..e15719829 100644 --- a/nx.json +++ b/nx.json @@ -16,12 +16,20 @@ "$schema": "./node_modules/nx/schemas/nx-schema.json", "targetDefaults": { "build": { - "dependsOn": ["^build"], - "inputs": ["production", "^production"], + "dependsOn": [ + "^build" + ], + "inputs": [ + "production", + "^production" + ], "cache": true }, "e2e": { - "inputs": ["default", "^production"], + "inputs": [ + "default", + "^production" + ], "cache": true }, "build-storybook": { @@ -38,7 +46,11 @@ "cache": true }, "@nx/jest:jest": { - "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], + "inputs": [ + "default", + "^production", + "{workspaceRoot}/jest.preset.js" + ], "cache": true, "options": { "passWithNoTests": true @@ -52,7 +64,10 @@ } }, "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals" + ], "sharedGlobals": [ "{workspaceRoot}/angular.json", "{workspaceRoot}/tsconfig.base.json", @@ -71,5 +86,8 @@ }, "nxCloudAccessToken": "Mjg0ZGQ2YjAtNGI4NS00NmYwLThhOWEtMWZmNmQzODM4YzU4fHJlYWQ=", "parallel": 1, - "defaultBase": "origin/main" + "defaultBase": "origin/main", + "plugins": [ + "nx/plugins/package-json" + ] }