Skip to content

Commit 7d2f2a0

Browse files
committed
chore: Add dependency between targets
1 parent 5341238 commit 7d2f2a0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

components/markdown-confluence-sync/project.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@
77
"type:node:lib"
88
],
99
"targets": {
10+
// Redefine the lint target to include the dependency of building sync-confluence to resolve imports
11+
"lint": {
12+
"cache": true,
13+
"inputs": [
14+
"default",
15+
{ "dependentTasksOutputFiles": "**/*", "transitive": true }
16+
],
17+
"dependsOn": [
18+
{
19+
"target": "eslint:config",
20+
"projects": ["eslint-config"]
21+
},
22+
{
23+
"target": "build",
24+
"projects": ["confluence-sync"]
25+
}
26+
]
27+
},
1028
// Redefine the build target to include the config directory as an output
1129
"build": {
1230
"cache": true,

0 commit comments

Comments
 (0)