summaryrefslogtreecommitdiff
path: root/tests/npm-binary.scm
diff options
context:
space:
mode:
authorDaniel Khodabakhsh <d.khodabakhsh@gmail.com>2025-02-18 00:43:53 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-13 14:19:43 +0200
commit3e9e164154af6245389af5a1781473b36263ad20 (patch)
tree792a3389b93cebc455edaa3acfbcb642c3e3ad62 /tests/npm-binary.scm
parent86caf257e728ce9dd43273a50323e3b93a5769e0 (diff)
build-system/node: New API for modifying json.
Introduce (modify-json), (delete-fields), and (replace-fields) to node-build-system This change introduces helper procedures (modify-json) which takes in lambdas which modify the target json #:file which defaults to package.json This change also includes (delete-fields) and (replace-fields) to help deleting and replacing the value of fields in a package.json file. * guix/build/node-build-system.scm (modify-json, modify-json-fields, delete-fields, replace-fields, delete-dev-dependencies): New API exported procedures. (with-atomic-json-file-replacement, delete-dependencies): Change procedures to adapt to the new API. * gnu/packages/node.scm (node-ms-bootstrap, node-binary-search-bootstrap, node-debug-boostrap, node-llparse-builder-bootstrap, node-llparse-frontend-boostrap, node-llparse-bootstrap): Use new API procedures. * gnu/packages/node-xyz.scm (node-acorn, node-addon-api, node-buffer-crc32, node-crx3, node-debug, node-file-uri-to-path, node-ieee754, node-inherits, node-irc, node-irc-colors, node-minimist, node-ms, node-nan, node-normalize-path, node-once, node-path-key, node-pbf, node-protocol-buffers-schema, node-readable-stream, node-resolve-protobuf-schema, node-safe-buffer, node-safe-stable-stringify, node-semver, node-serialport, node-serialport-bindings, node-serialport-stream, node-sqlite3, node-string-decoder, node-tiddlywiki, node-wrappy, node-yazl): Use new API procedures. Change-Id: I957f7ca814078d2136d5261985174820235f1369 Signed-off-by: Jelle Licht <jlicht@fsfe.org>
Diffstat (limited to 'tests/npm-binary.scm')
0 files changed, 0 insertions, 0 deletions