mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 06:27:02 +02:00
feat(core): rework swizzle CLI (#6243)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
d43066f6f1
commit
39b66d82ef
78 changed files with 3633 additions and 585 deletions
|
@ -120,6 +120,10 @@ function success(msg: unknown, ...values: InterpolatableValue[]): void {
|
|||
);
|
||||
}
|
||||
|
||||
function newLine(): void {
|
||||
console.log();
|
||||
}
|
||||
|
||||
const logger = {
|
||||
red: chalk.red,
|
||||
yellow: chalk.yellow,
|
||||
|
@ -136,6 +140,7 @@ const logger = {
|
|||
warn,
|
||||
error,
|
||||
success,
|
||||
newLine,
|
||||
};
|
||||
|
||||
// TODO remove when migrating to ESM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue