From 13209ed2ecea2c98a70e4002232de7345c300f52 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 15 Dec 2021 16:34:07 +0100 Subject: [PATCH] build: update release config to reflect latest ng-dev config changes The ng-dev release config changed its release configuration in order to support experimental packages. This commit updates the FW release config to work with the new config signature of ng-dev. All of our peackages are non-experimental, so we do not specify an explicit `experimental` property. --- .ng-dev/release.ts | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.ng-dev/release.ts b/.ng-dev/release.ts index 62c915c133a9d5..50ef24ecf33c02 100644 --- a/.ng-dev/release.ts +++ b/.ng-dev/release.ts @@ -4,23 +4,24 @@ import {join} from 'path'; /** Configuration for the `ng-dev release` command. */ export const release: ReleaseConfig = { publishRegistry: 'https://wombat-dressing-room.appspot.com', + representativeNpmPackage: '@angular/core', npmPackages: [ - '@angular/animations', - '@angular/bazel', - '@angular/common', - '@angular/compiler', - '@angular/compiler-cli', - '@angular/core', - '@angular/elements', - '@angular/forms', - '@angular/language-service', - '@angular/localize', - '@angular/platform-browser', - '@angular/platform-browser-dynamic', - '@angular/platform-server', - '@angular/router', - '@angular/service-worker', - '@angular/upgrade', + {name: '@angular/animations'}, + {name: '@angular/bazel'}, + {name: '@angular/common'}, + {name: '@angular/compiler'}, + {name: '@angular/compiler-cli'}, + {name: '@angular/core'}, + {name: '@angular/elements'}, + {name: '@angular/forms'}, + {name: '@angular/language-service'}, + {name: '@angular/localize'}, + {name: '@angular/platform-browser'}, + {name: '@angular/platform-browser-dynamic'}, + {name: '@angular/platform-server'}, + {name: '@angular/router'}, + {name: '@angular/service-worker'}, + {name: '@angular/upgrade'}, ], buildPackages: async () => { // The buildTargetPackages function is loaded at runtime as the loading the script causes an