mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
4765bf1c7a
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. PR Close #44490
37 lines
1.4 KiB
TypeScript
37 lines
1.4 KiB
TypeScript
import {ReleaseConfig} from '@angular/dev-infra-private/ng-dev/release/config';
|
|
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: [
|
|
{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
|
|
// invocation of bazel.
|
|
const {buildTargetPackages} = require(join(__dirname, '../scripts/build/package-builder'));
|
|
return buildTargetPackages('dist/release-output', false, 'Release', /* isRelease */ true);
|
|
},
|
|
releaseNotes: {
|
|
hiddenScopes: ['aio', 'dev-infra', 'docs-infra', 'zone.js'],
|
|
},
|
|
releasePrLabels: ['comp: build & ci', 'action: merge', 'PullApprove: disable'],
|
|
};
|