|
@@ -4,6 +4,7 @@ import chalk from 'chalk';
|
|
|
import { startTask } from './tasks/core.start';
|
|
import { startTask } from './tasks/core.start';
|
|
|
import { buildTask } from './tasks/grafanaui.build';
|
|
import { buildTask } from './tasks/grafanaui.build';
|
|
|
import { releaseTask } from './tasks/grafanaui.release';
|
|
import { releaseTask } from './tasks/grafanaui.release';
|
|
|
|
|
+import { changelogTask } from './tasks/changelog';
|
|
|
|
|
|
|
|
program.option('-d, --depreciate <scripts>', 'Inform about npm script deprecation', v => v.split(','));
|
|
program.option('-d, --depreciate <scripts>', 'Inform about npm script deprecation', v => v.split(','));
|
|
|
|
|
|
|
@@ -38,6 +39,13 @@ program
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+program
|
|
|
|
|
+ .command('core:changelog')
|
|
|
|
|
+ .description('Builds changelog markdown')
|
|
|
|
|
+ .action(async cmd => {
|
|
|
|
|
+ await execTask(changelogTask)({});
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
program.parse(process.argv);
|
|
program.parse(process.argv);
|
|
|
|
|
|
|
|
if (program.depreciate && program.depreciate.length === 2) {
|
|
if (program.depreciate && program.depreciate.length === 2) {
|