fix: never wrap lines in the lockfile

This commit is contained in:
Zoltan Kochan
2024-02-08 22:37:56 +01:00
parent 5dff47f940
commit 738d443d29
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/lockfile-file": patch
---
Never wrap lines in the lockfile.

View File

@@ -26,7 +26,7 @@ async function writeFileAtomic (filename: string, data: string) {
const LOCKFILE_YAML_FORMAT = {
blankLines: true,
lineWidth: 1000,
lineWidth: -1, // This is setting line width to never wrap
noCompatMode: true,
noRefs: true,
sortKeys: false,