feat(cli): improve "up" command output and flow a lot

This commit is contained in:
Joakim Carlstein 2023-11-17 11:42:20 +01:00
parent e5eec7cdf1
commit 59ec16b87b
14 changed files with 533 additions and 62 deletions

View file

@ -121,9 +121,9 @@ export type MigrationMetadata = {
*/
cwd: string;
/**
* The extension of the migration file
* The extension of the migration file, with a leading period
*
* @example js
* @example .js
*/
extension: string;
};
@ -207,7 +207,7 @@ export type ReporterPlugin = Partial<{
*
* @param migration Information about the migration that was skipped.
*/
onMigrationSkip(migration: MigrationMetadata): Awaitable<void>;
onMigrationSkip(migration: MigrationMetadataFinished): Awaitable<void>;
/**
* Called when the migration process has finished.
*