mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
831ede8bf4
Updates the Bazel setup to the latest shared dev-infra package. Also the rules_nodejs version is updated to v4.2.0. We have landed various changes that prepare us for the APF v13 implementation. e.g. * Ability to control the linker mappings for the `ng_package` rule. This will become important for using a transition that could accidentally cause linker mappings that would otheriwse conflict. * Use of latest version of rollup & terser in the Bazel rules the dev-infra package exposes. This is necessary for ES2020 support. PR Close #43431
36 lines
1.2 KiB
TypeScript
36 lines
1.2 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',
|
|
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',
|
|
],
|
|
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'],
|
|
};
|