guix_mirror_bot pushed a commit to branch javascript-team in repository guix.
commit 37d099f70a92f9334ba7322a4e3d878857108265 Author: Jelle Licht <[email protected]> AuthorDate: Thu Oct 15 13:07:37 2026 +0200 gnu: node-domelementtype: Fix build with TypeScript 6. * gnu/packages/node-xyz.scm (node-domelementtype)[arguments]<#:phases>: Add 'adjust-for-typescript-6. --- gnu/packages/node-xyz.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index d407135849d..92a47fb7e97 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -956,6 +956,10 @@ text differences, similar to Unix diff.") (lambda _ (modify-json "package.json" (delete-json-fields '("scripts.prepare"))))) + (add-after 'unpack 'adjust-for-typescript-6 + (lambda _ + (modify-json "tsconfig.json" + (add-json-fields '(("compilerOptions.rootDir" . "src")))))) (add-after 'patch-dependencies 'delete-dev-dependencies (lambda _ (modify-json "package.json"
