Run prettier across the repo, exclude the lockfile from it
Prettier had never been run in --check mode here before, so this had drifted across most files (markdown tables, long option() chains, line wrapping). Purely formatting, no logic changes - needed so a CI format:check gate can actually pass. Adds .prettierignore for pnpm-lock.yaml specifically: prettier's YAML formatter rewrites every quoted key (single -> double quotes) producing an ~8700-line diff of pure noise on a file pnpm itself owns the formatting of. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,9 @@ export async function scriptsShowCommand(
|
||||
if (!script) {
|
||||
console.error(`No script '${scriptId}' configured.`);
|
||||
if (scripts.length > 0) {
|
||||
console.error(`Available scripts: ${scripts.map((s) => s.id).join(", ")}`);
|
||||
console.error(
|
||||
`Available scripts: ${scripts.map((s) => s.id).join(", ")}`,
|
||||
);
|
||||
}
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
@@ -60,7 +62,9 @@ export async function scriptsShowCommand(
|
||||
|
||||
console.log(script.name);
|
||||
if (script.description) console.log(script.description);
|
||||
console.log(`\ncommand: ${script.command} ${script.args.join(" ")}`.trimEnd());
|
||||
console.log(
|
||||
`\ncommand: ${script.command} ${script.args.join(" ")}`.trimEnd(),
|
||||
);
|
||||
|
||||
if (script.variables.length === 0) {
|
||||
console.log("\nThis script takes no parameters.");
|
||||
|
||||
Reference in New Issue
Block a user