mirror of
https://github.com/angular/angular-cli.git
synced 2025-06-01 10:46:14 +08:00
The `ng-dev` tool is now strict ESM. Config loading needs to be updated to also emit `.mjs` with `ts-node` (this cannot happen dynamically as ESM Node loading cannot be patched by ts-node at runtime).
28 lines
809 B
TypeScript
28 lines
809 B
TypeScript
import '../lib/bootstrap-local.js';
|
|
|
|
import { ReleaseConfig } from '@angular/dev-infra-private/ng-dev';
|
|
import packages from '../lib/packages.js';
|
|
import buildPackages from '../scripts/build.js';
|
|
|
|
const npmPackages = Object.entries(packages.releasePackages).map(([name, { experimental }]) => ({
|
|
name,
|
|
experimental,
|
|
}));
|
|
|
|
/** Configuration for the `ng-dev release` command. */
|
|
export const release: ReleaseConfig = {
|
|
representativeNpmPackage: '@angular/cli',
|
|
npmPackages,
|
|
buildPackages: () => buildPackages.default(),
|
|
releaseNotes: {
|
|
groupOrder: [
|
|
'@angular/cli',
|
|
'@schematics/angular',
|
|
'@angular-devkit/architect-cli',
|
|
'@angular-devkit/schematics-cli',
|
|
],
|
|
},
|
|
publishRegistry: 'https://wombat-dressing-room.appspot.com',
|
|
releasePrLabels: ['action: merge'],
|
|
};
|