guix_mirror_bot pushed a commit to branch javascript-team
in repository guix.

commit 84f3fa3491c8f991d3ee1116b30f17538b2e9222
Author: Jelle Licht <[email protected]>
AuthorDate: Tue Jul 28 16:43:22 2026 +0200

    gnu: node-minipass: Generate valid package.json files.
    
    * gnu/packages/node-xyz.scm (node-minipass)[arguments]<#:phases>: Generate
    valid package.json files in 'build' phase.
    
    Change-Id: Ifd6b00f9eb8d4905666448035bd759d5ab426670
---
 gnu/packages/node-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 839e6637b63..bdcb54f48ae 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2373,7 +2373,7 @@ This is not a through or through2 stream. It doesn't 
transform the data, it just
                             (string-append "--outdir=" target-output))
                     (call-with-output-file (string-append target-output
                                                           "/package.json")
-                      (cut format <> "{type: ~s}" type)))))
+                      (cut format <> "{\"type\": ~s}" type)))))
                (list
                 (list "cjs" "commonjs" "commonjs")
                 (list "esm" "esm" "module")))

Reply via email to