Removing js-api external dep as it has been moved into ADF repo (#9255)

* Removing js-api external dep

* Fixed targeting

* Fixed targeting with local js-api

* [affected:*] Fixed targeting with local js-api

* Fixed bundle for CI
This commit is contained in:
Vito Albano
2024-03-27 23:29:38 +01:00
committed by Aleksander Sklorz
parent 807a500c3e
commit ea308b4abe
12 changed files with 49 additions and 28 deletions
+30 -1
View File
@@ -253,6 +253,35 @@
},
"defaultConfiguration": "production"
},
"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",
"options": {
@@ -964,7 +993,7 @@
"options": {
"commands": [
{
"command": "rm -rf ./node_modules/@alfresco/adf-testing/ && mkdir -p ./node_modules/@alfresco/adf-testing/ && cp -R ./dist/libs/testing/* ./node_modules/@alfresco/adf-testing/"
"command": "rm -rf ./node_modules/@alfresco/adf-testing/ && mkdir -p ./node_modules/@alfresco/adf-testing/ && cp -R ./dist/libs/testing/* ./node_modules/@alfresco/adf-testing/"
}
]
},