bring bundle back to fix e2e [ci:force]

This commit is contained in:
Wojciech Duda
2024-07-04 17:26:09 +02:00
committed by VitoAlbano
parent 9a6ab678f9
commit f2e916c940
5 changed files with 42 additions and 13 deletions

View File

@@ -41,6 +41,35 @@
"lintFilePatterns": ["lib/js-api/**/*.ts"]
}
},
"bundle": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "echo cli bundle created"
}
]
},
"dependsOn": [
"copyToNodeModules"
]
},
"copyToNodeModules": {
"executor": "nx:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ./node_modules/@alfresco/js-api/ && mkdir -p ./node_modules/@alfresco/js-api/ && cp -R ./dist/libs/js-api/* ./node_modules/@alfresco/js-api/"
}
]
},
"dependsOn": [
{
"projects": "self",
"target": "build"
}
]
},
"test": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],