Vít Ondruch <vondruch@xxxxxxxxxx> writes: > I don't think that `/var` is the right place for RPM installed content. I double-checked hier(7) and file-hierarchy(7), and `/var/lib` is indeed reserved for library state files, not a private "lib" namespace. Oops, thanks! > If the original directory is `/usr/lib/node_modules`, then why not use > something like `/usr/lib/node_modules_shared`? I would like to avoid confusion as much as possible. Looking at that, I would naively assume that the `node_modules_shared` is in the npm import search path, which it is not. The same reasoning applies to why I just do not turn the unversioned `node_modules` to a proper directory instead of symlink. Given the above, now I'm thinking about something like `/usr/lib/nodejs` with possible suffix/subdir ({`-shared`/`-private`/`-22`/…}). It does not suggest being a part of the npm search path, looks flexible enough and should be compliant with FHS. -- Jan Staněk Software Engineer, Red Hat jstanek@xxxxxxxxxx irc: jstanek
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue