diff --git a/projects/icons-fontawesome/project.json b/projects/icons-fontawesome/project.json index ed7715e5a64c..7caf2c02bc60 100644 --- a/projects/icons-fontawesome/project.json +++ b/projects/icons-fontawesome/project.json @@ -6,14 +6,6 @@ "prefix": "tui", "implicitDependencies": ["!testing"], "targets": { - "build": { - "executor": "@angular-devkit/build-angular:ng-packagr", - "outputs": ["{workspaceRoot}/dist/{projectName}"], - "options": { - "tsConfig": "tsconfig.build.json", - "project": "{projectRoot}/ng-package.json" - } - }, "prebuild": { "executor": "nx:run-commands", "options": { @@ -24,11 +16,26 @@ ] } }, + "build": { + "executor": "@angular-devkit/build-angular:ng-packagr", + "outputs": ["{workspaceRoot}/dist/{projectName}"], + "options": { + "tsConfig": "tsconfig.build.json", + "project": "{projectRoot}/ng-package.json" + } + }, "publish": { "executor": "nx:run-commands", "options": { "command": "ts-node ./scripts/publish.ts --path ./dist/{projectName} --dry-run {args.dry-run} --customVersion {args.customVersion} --customTag {args.customTag}" - } + }, + "dependsOn": [ + { + "target": "build", + "params": "ignore", + "dependencies": false + } + ] } } } diff --git a/projects/icons-material/project.json b/projects/icons-material/project.json index a906c01589a3..9ae31296861a 100644 --- a/projects/icons-material/project.json +++ b/projects/icons-material/project.json @@ -6,14 +6,6 @@ "prefix": "tui", "implicitDependencies": ["!testing"], "targets": { - "build": { - "executor": "@angular-devkit/build-angular:ng-packagr", - "outputs": ["{workspaceRoot}/dist/{projectName}"], - "options": { - "tsConfig": "tsconfig.build.json", - "project": "{projectRoot}/ng-package.json" - } - }, "prebuild": { "executor": "nx:run-commands", "options": { @@ -24,11 +16,26 @@ ] } }, + "build": { + "executor": "@angular-devkit/build-angular:ng-packagr", + "outputs": ["{workspaceRoot}/dist/{projectName}"], + "options": { + "tsConfig": "tsconfig.build.json", + "project": "{projectRoot}/ng-package.json" + } + }, "publish": { "executor": "nx:run-commands", "options": { "command": "ts-node ./scripts/publish.ts --path ./dist/{projectName} --dry-run {args.dry-run} --customVersion {args.customVersion} --customTag {args.customTag}" - } + }, + "dependsOn": [ + { + "target": "build", + "params": "ignore", + "dependencies": false + } + ] } } } diff --git a/projects/icons/project.json b/projects/icons/project.json index 663208311238..2141a89ba061 100644 --- a/projects/icons/project.json +++ b/projects/icons/project.json @@ -6,14 +6,6 @@ "prefix": "tui", "implicitDependencies": ["!testing"], "targets": { - "build": { - "executor": "@angular-devkit/build-angular:ng-packagr", - "outputs": ["{workspaceRoot}/dist/{projectName}"], - "options": { - "tsConfig": "tsconfig.build.json", - "project": "{projectRoot}/ng-package.json" - } - }, "prebuild": { "executor": "nx:run-commands", "options": { @@ -24,6 +16,14 @@ ] } }, + "build": { + "executor": "@angular-devkit/build-angular:ng-packagr", + "outputs": ["{workspaceRoot}/dist/{projectName}"], + "options": { + "tsConfig": "tsconfig.build.json", + "project": "{projectRoot}/ng-package.json" + } + }, "test": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectName}"], @@ -37,7 +37,14 @@ "executor": "nx:run-commands", "options": { "command": "ts-node ./scripts/publish.ts --path ./dist/{projectName} --dry-run {args.dry-run} --customVersion {args.customVersion} --customTag {args.customTag}" - } + }, + "dependsOn": [ + { + "target": "build", + "params": "ignore", + "dependencies": false + } + ] } } }