fix: never wrap lines in the lockfile

This commit is contained in:
Zoltan Kochan committed 2024-02-08 22:37:56 +01:00
1 parent 3c7c0926f6
commit f67ad31f64
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@pnpm/lockfile-file": patch
---
Never wrap lines in the lockfile.
+1 -1
View File
@@ -25,7 +25,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,