chore(deps): upgrade ansis package
This commit is contained in:
parent
3a8b06b3b1
commit
beb6cf7719
3 changed files with 9 additions and 9 deletions
|
|
@ -45,7 +45,7 @@
|
|||
"dependencies": {
|
||||
"@emigrate/plugin-tools": "workspace:*",
|
||||
"@emigrate/types": "workspace:*",
|
||||
"ansis": "2.0.2",
|
||||
"ansis": "2.0.3",
|
||||
"cosmiconfig": "8.3.6",
|
||||
"elegant-spinner": "3.0.0",
|
||||
"figures": "6.0.1",
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@ const formatDuration = (duration: number): string => {
|
|||
};
|
||||
|
||||
const getTitle = ({ command, version, dry, cwd }: ReporterInitParameters) => {
|
||||
return `${black.bgBlueBright(' Emigrate ').trim()} ${blueBright.bold(command)} ${blueBright(`v${version}`)} ${gray(
|
||||
cwd,
|
||||
)}${dry ? yellow` (dry run)` : ''}`;
|
||||
return `${black.bgBlueBright` Emigrate `.trim()} ${blueBright.bold(command)} ${blueBright`v${version}`} ${gray(cwd)}${
|
||||
dry ? yellow` (dry run)` : ''
|
||||
}`;
|
||||
};
|
||||
|
||||
const getMigrationStatus = (
|
||||
|
|
@ -100,7 +100,7 @@ const getMigrationText = (
|
|||
parts.push(`${dim(pathWithoutName)}${getName(nameWithoutExtension, status)}${dim(migration.extension)}`);
|
||||
|
||||
if ('status' in migration) {
|
||||
parts.push(gray(`(${migration.status})`));
|
||||
parts.push(gray`(${migration.status})`);
|
||||
} else if (migration.name === activeMigration?.name) {
|
||||
parts.push(gray`(running)`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue