2020-09-09 08:37:38 -04:00
|
|
|
import {join} from 'path';
|
|
|
|
import {ReleaseConfig} from '../dev-infra/release/config';
|
|
|
|
|
|
|
|
/** Configuration for the `ng-dev release` command. */
|
|
|
|
export const release: ReleaseConfig = {
|
2021-01-19 11:30:33 -05:00
|
|
|
publishRegistry: 'https://wombat-dressing-room.appspot.com',
|
2020-09-09 08:37:38 -04:00
|
|
|
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',
|
|
|
|
],
|
2020-11-12 14:01:01 -05:00
|
|
|
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'));
|
2020-12-11 15:51:29 -05:00
|
|
|
return buildTargetPackages('dist/release-output', false, 'Release', true);
|
2020-11-12 14:01:01 -05:00
|
|
|
},
|
2021-04-30 14:13:25 -04:00
|
|
|
releaseNotes: {
|
|
|
|
hiddenScopes: ['aio', 'dev-infra', 'docs-infra', 'zone.js'],
|
2020-09-09 08:37:38 -04:00
|
|
|
},
|
2021-01-19 15:32:46 -05:00
|
|
|
releasePrLabels: ['comp: build & ci', 'action: merge', 'PullApprove: disable'],
|
2020-09-09 08:37:38 -04:00
|
|
|
};
|