diff --git a/.travis.yml b/.travis.yml index ea416c8042..66296070f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -110,6 +110,7 @@ jobs: script: - ./scripts/travis/build/bumpversion.sh || travis_terminate 1 - nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell" + - nx affected $NX_CALCULATION_FLAGS --target=pretheme workspaces: create: diff --git a/angular.json b/angular.json index a427b130ce..af94583e50 100644 --- a/angular.json +++ b/angular.json @@ -300,7 +300,7 @@ "sourceRoot": "lib/core/src", "prefix": "adf", "architect": { - "build-lib": { + "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "lib/core/tsconfig.lib.json", diff --git a/lib/core/package.json b/lib/core/package.json index 0c95040d23..9d8016e56d 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -11,8 +11,6 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "scripts": { - "build": "npx nx run core:build-lib", - "postbuild": "npx nx run core:pretheme" }, "exports": { "./theming": {