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;