Skip to content

Commit 34909f9

Browse files
committed
fix: add task deps to cp targets
1 parent 7e722f0 commit 34909f9

File tree

10 files changed

+30
-10
lines changed

10 files changed

+30
-10
lines changed

packages/core/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/core/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/create-cli/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/create-cli/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/nx-plugin/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"projectType": "library",
66
"implicitDependencies": ["cli"],
77
"targets": {
8-
"code-pushup": {},
8+
"code-pushup": {
9+
"dependsOn": ["unit-test", "int-test"]
10+
},
911
"build": {
1012
"executor": "@nx/js:tsc",
1113
"outputs": ["{options.outputPath}"],

packages/plugin-coverage/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/plugin-coverage/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/plugin-eslint/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/plugin-eslint/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/plugin-js-packages/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/plugin-js-packages/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/plugin-jsdocs/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"projectType": "library",
66
"tags": ["scope:plugin", "type:feature", "publishable"],
77
"targets": {
8-
"code-pushup": {},
8+
"code-pushup": {
9+
"dependsOn": ["unit-test", "int-test"]
10+
},
911
"build": {
1012
"executor": "@nx/js:tsc",
1113
"outputs": ["{options.outputPath}"],

packages/plugin-lighthouse/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/plugin-lighthouse/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/plugin-typescript/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/plugin-typescript/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

packages/utils/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"sourceRoot": "packages/utils/src",
55
"projectType": "library",
66
"targets": {
7-
"code-pushup": {},
7+
"code-pushup": {
8+
"dependsOn": ["unit-test", "int-test"]
9+
},
810
"build": {
911
"executor": "@nx/js:tsc",
1012
"outputs": ["{options.outputPath}"],

0 commit comments

Comments
 (0)