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)`);
|
||||
}
|
||||
|
|
|
|||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
|
|
@ -78,8 +78,8 @@ importers:
|
|||
specifier: workspace:*
|
||||
version: link:../types
|
||||
ansis:
|
||||
specifier: 2.0.2
|
||||
version: 2.0.2
|
||||
specifier: 2.0.3
|
||||
version: 2.0.3
|
||||
cosmiconfig:
|
||||
specifier: 8.3.6
|
||||
version: 8.3.6(typescript@5.2.2)
|
||||
|
|
@ -2251,8 +2251,8 @@ packages:
|
|||
engines: {node: '>=12'}
|
||||
dev: false
|
||||
|
||||
/ansis@2.0.2:
|
||||
resolution: {integrity: sha512-D64onic45SdssSfEKNJOybZhDSE9BFryY6LX1CvRzuChBC7SJGJ+VZzgiWrXTEiOK3f/MA7wyFbu34/PvhVDsQ==}
|
||||
/ansis@2.0.3:
|
||||
resolution: {integrity: sha512-tcSGX0mhuDFHsgRrT56xnZ9v2X+TOeKhJ75YopI5OBgyT7tGaG5m6BmeC+6KHjiucfBvUHehQMecHbULIAkFPA==}
|
||||
engines: {node: '>=12.13'}
|
||||
dev: false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue