From 8567b147be622f8ad855ef46726e02729efea25b Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Mon, 6 Mar 2023 16:54:49 +0100 Subject: [PATCH] Use as default prod (#8342) * Use as default prod * remove restricted --- .github/workflows/release.yml | 2 +- angular.json | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e49757d85f..51fd414256 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -199,7 +199,7 @@ jobs: node-version: 14 registry-url: 'https://npm.pkg.github.com' scope: '@alfresco' - - run: nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM -- --access restricted || exit 1 + - run: nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-node@v3 diff --git a/angular.json b/angular.json index 056cf71dd4..fc5b3476a7 100644 --- a/angular.json +++ b/angular.json @@ -464,7 +464,8 @@ "project": "lib/content-services/ng-package.json", "tsConfig": "lib/content-services/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -582,7 +583,8 @@ "project": "lib/process-services/ng-package.json", "tsConfig": "lib/process-services/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -666,7 +668,8 @@ "project": "lib/process-services-cloud/ng-package.json", "tsConfig": "lib/process-services-cloud/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -795,7 +798,8 @@ "project": "lib/insights/ng-package.json", "tsConfig": "lib/insights/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -868,7 +872,8 @@ "production": { "tsConfig": "lib/extensions/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -945,7 +950,8 @@ "generatePackageJson" : true, "tsConfig": "lib/testing/tsconfig.lib.prod.json" } - } + }, + "defaultConfiguration": "production" }, "lint": { "builder": "@nrwl/linter:eslint", @@ -1019,7 +1025,8 @@ "production": { "tsConfig": "lib/cli/tsconfig.json" } - } + }, + "defaultConfiguration": "production" }, "bundle": { "executor": "nx:run-commands",