From 1e877dd0c934172cda2d976637fdb5f403f38d30 Mon Sep 17 00:00:00 2001 From: VitoAlbano Date: Wed, 7 Aug 2024 13:12:33 +0100 Subject: [PATCH] [MIGRATION] - Launched nx repair --- lib/testing/project.json | 1 - nx.json | 32 ++++++++++++++++++++++++++------ 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/lib/testing/project.json b/lib/testing/project.json index d2ee016eff..60769ffa1f 100644 --- a/lib/testing/project.json +++ b/lib/testing/project.json @@ -5,7 +5,6 @@ "projectType": "library", "prefix": "adf", "targets": { - "build": { "executor": "@angular-devkit/build-angular:ng-packagr", "options": { diff --git a/nx.json b/nx.json index 99666ee72a..b69162f329 100644 --- a/nx.json +++ b/nx.json @@ -7,25 +7,45 @@ "$schema": "./node_modules/nx/schemas/nx-schema.json", "targetDefaults": { "build": { - "dependsOn": ["^build"], - "inputs": ["production", "^production"] + "dependsOn": [ + "^build" + ], + "inputs": [ + "production", + "^production" + ] }, "build-storybook": { - "inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"] + "inputs": [ + "default", + "^production", + "{projectRoot}/.storybook/**/*", + "{projectRoot}/tsconfig.storybook.json" + ] } }, "tasksRunnerOptions": { "default": { "runner": "nx/tasks-runners/default", "options": { - "cacheableOperations": ["build", "lint", "test", "stylelint"], + "cacheableOperations": [ + "build", + "lint", + "test", + "stylelint" + ], "cacheDirectory": "nxcache", - "runtimeCacheInputs": ["node -v"] + "runtimeCacheInputs": [ + "node -v" + ] } } }, "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals" + ], "sharedGlobals": [ "{workspaceRoot}/angular.json", "{workspaceRoot}/demo-shell/src/index.html",