[MIGRATION] - Launched nx repair

This commit is contained in:
VitoAlbano 2024-08-07 13:12:33 +01:00
parent 809808d23a
commit 1e877dd0c9
2 changed files with 26 additions and 7 deletions

View File

@ -5,7 +5,6 @@
"projectType": "library", "projectType": "library",
"prefix": "adf", "prefix": "adf",
"targets": { "targets": {
"build": { "build": {
"executor": "@angular-devkit/build-angular:ng-packagr", "executor": "@angular-devkit/build-angular:ng-packagr",
"options": { "options": {

32
nx.json
View File

@ -7,25 +7,45 @@
"$schema": "./node_modules/nx/schemas/nx-schema.json", "$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": { "targetDefaults": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": [
"inputs": ["production", "^production"] "^build"
],
"inputs": [
"production",
"^production"
]
}, },
"build-storybook": { "build-storybook": {
"inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"] "inputs": [
"default",
"^production",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
]
} }
}, },
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"runner": "nx/tasks-runners/default", "runner": "nx/tasks-runners/default",
"options": { "options": {
"cacheableOperations": ["build", "lint", "test", "stylelint"], "cacheableOperations": [
"build",
"lint",
"test",
"stylelint"
],
"cacheDirectory": "nxcache", "cacheDirectory": "nxcache",
"runtimeCacheInputs": ["node -v"] "runtimeCacheInputs": [
"node -v"
]
} }
} }
}, },
"namedInputs": { "namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"], "default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [ "sharedGlobals": [
"{workspaceRoot}/angular.json", "{workspaceRoot}/angular.json",
"{workspaceRoot}/demo-shell/src/index.html", "{workspaceRoot}/demo-shell/src/index.html",