From 746d9fa696227b114b71590365b19d2ccfe186ff Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Sat, 18 Jul 2020 00:04:33 +0100 Subject: [PATCH] fix build --- lib/process-services-cloud/tsconfig.lib.json | 1 + scripts/travis/release/release-npm.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/process-services-cloud/tsconfig.lib.json b/lib/process-services-cloud/tsconfig.lib.json index 04c9405142..ce6702bd12 100644 --- a/lib/process-services-cloud/tsconfig.lib.json +++ b/lib/process-services-cloud/tsconfig.lib.json @@ -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/*"], diff --git a/scripts/travis/release/release-npm.sh b/scripts/travis/release/release-npm.sh index 910ba5f82a..fa1f626dfa 100755 --- a/scripts/travis/release/release-npm.sh +++ b/scripts/travis/release/release-npm.sh @@ -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;