diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29bb..000000000 diff --git a/.travis.yml b/.travis.yml index f12546c4c..7ffba1420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,12 +130,6 @@ jobs: name: Update Rancher script: ./scripts/travis/deploy/deploy.sh - - stage: Release Libraries - name: Release Libraries - script: - - npm run build.extensions || exit 1; - - ./scripts/travis/release/release-npm.sh || exit 1; - - stage: Release Tag script: ./scripts/travis/release/git-tag.sh diff --git a/package.json b/package.json index aeab1e0e8..b8c37f027 100644 --- a/package.json +++ b/package.json @@ -8,17 +8,12 @@ "ng": "ng", "start": "npm run validate-config && ng serve --open", "start:prod": "npm run validate-config && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng serve --prod --open", - "build:aos-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext --prod && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets", - "build.shared": "ng build aca-shared --prod", - "build.aos": "npm run build:aos-extension", - "build.extensions": "npm run build.shared && npm run build.aos", "build.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod", "build": "npm run validate-config && npm run build.app -- --prod", "build.e2e": "npm run build.app -- --prod --configuration=e2e", "test": "ng test app --code-coverage", - "unit": "ng test --browsers=Chrome --watch", "lite-serve": "./scripts/run lite-serve", - "test:ci": "npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false", + "test:ci": "ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false", "lint": "ng lint && npm run spellcheck && npm run e2e.typecheck", "update-webdriver": "./scripts/update-webdriver.sh", "e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json", diff --git a/scripts/travis/release/release-npm.sh b/scripts/travis/release/release-npm.sh deleted file mode 100755 index ea1ed0b13..000000000 --- a/scripts/travis/release/release-npm.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -ROOT=${DIR}/../../.. -DIST=${ROOT}/dist/@alfresco - -if [[ $TRAVIS_PULL_REQUEST == "false" ]]; -then - TAG_NPM=latest - if [[ $TRAVIS_BRANCH == "develop" ]]; - then - TAG_NPM=alpha - if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; - then - TAG_NPM=beta - fi - fi -fi; - -cd $DIST/aca-shared - -set -e -touch .npmrc -echo 'strict-ssl=false' >> .npmrc -echo 'registry=http://${NPM_REGISTRY_ADDRESS}' >> .npmrc -echo '//${NPM_REGISTRY_ADDRESS}/:_authToken="${NPM_REGISTRY_TOKEN}"' >> .npmrc - -npm publish - -cd $DIST/adf-office-services-ext - -set -e -touch .npmrc -echo 'strict-ssl=false' >> .npmrc -echo 'registry=http://${NPM_REGISTRY_ADDRESS}' >> .npmrc -echo '//${NPM_REGISTRY_ADDRESS}/:_authToken="${NPM_REGISTRY_TOKEN}"' >> .npmrc - -npm publish