bring bundle back to fix e2e [ci:force]

This commit is contained in:
Wojciech Duda
2024-07-04 17:26:09 +02:00
parent eed1541768
commit 6a6151bcda
6 changed files with 62 additions and 14 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}"],