e1c11a36c7
Introduces a new configuration for the `ng-dev release` command. This configuration will be the source of truth for all release packages and how they can be built. Additionally, in a temporary manner where each project has its own way of generating the changelog, the changelog generation can be configured. This will be removed in the future when there is canonical changelog generation in the dev-infra shared package. PR Close #38656
34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
import {join} from 'path';
|
|
import {exec} from 'shelljs';
|
|
import {ReleaseConfig} from '../dev-infra/release/config';
|
|
|
|
/** Configuration for the `ng-dev release` command. */
|
|
export const release: ReleaseConfig = {
|
|
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/platform-webworker',
|
|
'@angular/platform-webworker-dynamic',
|
|
'@angular/router',
|
|
'@angular/service-worker',
|
|
'@angular/upgrade',
|
|
],
|
|
// TODO: Implement release package building here.
|
|
buildPackages: async () => [],
|
|
// TODO: This can be removed once there is a org-wide tool for changelog generation.
|
|
generateReleaseNotesForHead: async () => {
|
|
exec('yarn -s gulp changelog', {cwd: join(__dirname, '../')});
|
|
},
|
|
};
|