ADD-NODE-COMPONENT(1)

πŸ‘‘ ADD-NODE-COMPONENT πŸ‘‘

okay bestie, welcome to add-node-component πŸ’… it lives in User Commands and it's literally the tool that adds node modules as components to your debian watch setup. she's iconic, she's thorough, and she's about to make your packaging life so much easier, no cap.


✨ NAME ✨

add-node-component β€” yeah that's it, that's the name, the manpage is named add-node-component and the command is add-node-component. we keep it simple here πŸŽ€


🌸 SYNOPSIS 🌸

add-node-component <node-modules-to-add-as-component>

πŸ¦‹ DESCRIPTION πŸ¦‹

node-modules-to-add-as-component is the list of components you wanna add, bestie 🫢 and here's the tea: you can pin a version if you want. like, for example:

bson@1.0.0

so yes, versions are very much allowed and encouraged when you need them πŸ’–


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” prints this. the classic "help me pls" flag 🌈
  • -c, --checksum β€” installs the new component with "checksum" tacked onto the end of the debian/watch line. this one is the default, and if you want the full lore check uscan(1) πŸ“–
  • -g, --group β€” installs the new component with "group" at the end of the debian/watch line πŸ”₯
  • --ignore β€” installs the new component with "ignore" at the end of the debian/watch line πŸ™ˆ
  • --no-ctype β€” don't add "ctype=nodejs" in debian/watch. again, uscan(1) has the details. heads up though: right now this is enabled automatically unless you're using --checksum πŸ‘€
  • -d, --download β€” downloads the new sources β¬‡οΈβœ¨
  • -i, --install β€” imports the downloaded sources. and yes, it implies -d, because you can't import what you never downloaded, bestie 😭
  • -f, --remove-tag β€” removes the origin tag if it exists locally (this happens before the import) 🏷️
  • -u, --cme-update β€” fires off a "cme update dpkg-compyright" after the import so your debian/copyright gets updated. yes we're fancy πŸ’…
  • -r, --remove-component β€” removes the component instead of adding it. this is the default when del-node-component is used, iykyk πŸ—‘οΈ
  • -l, --list-components β€” prints the components list πŸ“‹
  • -m, --list-modules β€” prints the modules list 🧾
  • -p, --cmp-prefix β€” the component name prefix. default is empty, so like, nothing ✨
  • --force-npm-reg β€” forces the use of the npm registry πŸ“¦
  • --force-github-tags β€” forces the use of GitHub tags πŸ™
  • --uscan-option β€” option(s) to pass along to uscan. it's multi-valued, so you can stack 'em. Default: "-dd --download-version" ⭐
  • --cmp-tree β€” prints a digraph of the relation between components. feed it straight into graph-easy and watch the magic happen 🌈🌳

🌱 Environments variables 🌱

  • ANC_CPM_PREFIX β€” changes the default --cmp-prefix value πŸ’œ

Copyright Β© Yadd <yadd@debian.org>

Licensed under GPL-2+ (see /usr/share/common-licenses/GPL-2)


aaaand that's the whole page, bestie 🫢 this was add-node-component version 0.17.8, dated August 2026, and honestly? she ate. go add some components, you've got this πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from