Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 1x 1x 1x 1x 1x | import { runReleaseNotes } from '../services/release-notes-service.js';
import { createLogger } from '../utils/logger.js';
export type ReleaseNotesCommandOptions = {
version: string;
date: string;
repoRoot?: string;
dryRun?: boolean;
};
export async function releaseNotesCommand(options: ReleaseNotesCommandOptions): Promise<void> {
const result = await runReleaseNotes(options);
const logger = createLogger();
logger.info(`SLDSv1 release notes: ${result.version}`);
Iif (result.change) logger.info(result.change.added);
logger.info(
options.dryRun
? 'Dry run: no writes; compilation planned (not a byte-exact preview).'
: 'General notes authored; compiled notes regenerated.',
);
}
|