Move the cli bundle under dist/libs/cli (#7937)

This commit is contained in:
Maurizio Vitale
2022-11-01 16:23:51 +00:00
committed by GitHub
parent d946376361
commit c2cdd90d99
3 changed files with 9 additions and 22 deletions

View File

@@ -812,7 +812,7 @@
"projectType": "library",
"prefix": "adf",
"architect": {
"build-local": {
"build": {
"builder": "@nrwl/node:webpack",
"options": {
"projectRoot": "lib/testing",
@@ -871,7 +871,7 @@
"dependsOn": [
{
"projects": "self",
"target": "build-local"
"target": "build"
}
]
}
@@ -883,7 +883,7 @@
"projectType": "library",
"prefix": "adf",
"architect": {
"build-local": {
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
@@ -909,22 +909,6 @@
"copyToNodeModules"
]
},
"moveToDist": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "mkdir -p ./dist/libs/cli && cp -R ./lib/cli/dist/* dist/libs/cli/"
}
]
},
"dependsOn": [
{
"projects": "self",
"target": "build-local"
}
]
},
"copyToNodeModules": {
"executor": "nx:run-commands",
"options": {
@@ -935,7 +919,10 @@
]
},
"dependsOn": [
"moveToDist"
{
"projects": "self",
"target": "build"
}
]
},
"lint": {