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-07 09:50:37 +00:00
committed by GitHub
parent be45e9d4dc
commit 5dc82f03b4
12 changed files with 49 additions and 28 deletions

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/"
}
]
},