chore: bump prettier v3 and format all code (#12111)
* chore: bump prettier v3 and format all code * chore: mjs config * chore: revert * chore: revert * chore: update lock
This commit is contained in:
@@ -66,7 +66,7 @@ async function preCompileDir(dir: string) {
|
||||
return compileSfc(filePath);
|
||||
}
|
||||
return Promise.resolve();
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ async function compileDir(dir: string, format: Format) {
|
||||
return isDir(filePath)
|
||||
? compileDir(filePath, format)
|
||||
: compileFile(filePath, format);
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ export async function changelog(): Promise<void> {
|
||||
headerPartial,
|
||||
commitPartial,
|
||||
transform,
|
||||
}
|
||||
},
|
||||
)
|
||||
.pipe(createWriteStream(DIST_FILE))
|
||||
.on('close', () => {
|
||||
|
||||
@@ -11,7 +11,7 @@ type RunCommandMessages = {
|
||||
function runCommand(
|
||||
cmd: string,
|
||||
options: string[],
|
||||
messages: RunCommandMessages
|
||||
messages: RunCommandMessages,
|
||||
) {
|
||||
const spinner = createSpinner(messages.start).start();
|
||||
|
||||
@@ -40,7 +40,7 @@ function eslint() {
|
||||
start: 'Running eslint...',
|
||||
succeed: 'ESLint Passed.',
|
||||
failed: 'ESLint failed!',
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user