a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lex-cli): do not run prettier concurrently

Mary d75f712b b8b52563

+7 -4
+5
.changeset/sour-islands-pull.md
··· 1 + --- 2 + '@atcute/lex-cli': patch 3 + --- 4 + 5 + do not run prettier concurrently
+2 -4
packages/lexicons/lex-cli/src/formatter.ts
··· 1 1 import { spawn } from 'node:child_process'; 2 - import { availableParallelism } from 'node:os'; 3 2 4 3 import type { FormatterConfig } from './config.ts'; 5 4 ··· 81 80 const prettier = await import('prettier'); 82 81 const prettierConfig = await prettier.resolveConfig(root, { editorconfig: true }); 83 82 84 - // prettier is in-process and CPU-bound, so concurrency only helps 85 - // avoid buffering all files in memory at once 86 - concurrency = availableParallelism(); 83 + // prettier is in-process and CPU-bound, no benefit from concurrency 84 + concurrency = 1; 87 85 inner = { 88 86 async format(code, filepath) { 89 87 return prettier.format(code, { ...prettierConfig, parser: inferPrettierParser(filepath) });