fix build

This commit is contained in:
Eugenio Romano
2020-07-18 00:04:33 +01:00
parent 59c2cb7df6
commit 746d9fa696
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
"outDir": "../dist/process-services-cloud/",
"baseUrl": "src",
"types": [],
"resolveJsonModule": true,
"paths": {
"@alfresco/adf-extensions": ["../../dist/extensions"],
"@alfresco/adf-extensions/*": ["../../dist/extensions/*"],

View File

@@ -17,7 +17,7 @@ then
fi
echo "Publishing on npm with tag $TAG_NPM"
npx @alfresco/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
else
echo "PR No need to release in NPM"
fi;