Ordered builds for js-api to avoid racing condition on dist folder (#10088)

* Ordered builds for js-api to avoid racing condition on dist folder

* Reverted changes to tmp
This commit is contained in:
Vito Albano
2024-08-13 16:08:24 +01:00
committed by GitHub
parent 234ca01856
commit e949b75da8
2 changed files with 18 additions and 27 deletions

View File

@@ -26,9 +26,7 @@
}
]
},
"dependsOn": [
"copyToNodeModules"
]
"dependsOn": ["copyToNodeModules"]
},
"copyToNodeModules": {
"executor": "nx:run-commands",
@@ -39,9 +37,7 @@
}
]
},
"dependsOn": [
"installDeps", "build"
]
"dependsOn": ["installDeps", "build"]
},
"installDeps": {
"executor": "nx:run-commands",
@@ -52,24 +48,17 @@
}
]
},
"dependsOn": [
"build"
]
"dependsOn": ["build"]
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"lib/cli/**/*.ts",
"lib/cli/**/*.html"
]
"lintFilePatterns": ["lib/cli/**/*.ts", "lib/cli/**/*.html"]
}
},
"npm-publish": {
"executor": "nx:run-commands",
"dependsOn": [
"build"
],
"dependsOn": ["build"],
"options": {
"cwd": "dist/libs/cli",
"commands": [