# Modules naming and organization

**URL:** <https://forum.xwiki.org/t/modules-naming-and-organization/17984>\
**Category:** Development\
**Tags:** proposal\
**Created:** [November 27, 2025, 11:31am UTC](https://forum.xwiki.org/t/modules-naming-and-organization/17984 "2025-11-27T11:31:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [January 19, 2026, 3:21pm UTC](https://forum.xwiki.org/t/modules-naming-and-organization/17984/3 "2026-01-19T15:21:23Z")

</div>

I’d like to add a new type of module id **node**.  
This id would be used for webjar that are only here to bundle a packages that is otherwise defined in `xwiki-platform-node` for publication on npm registries.

I uncovered the need for this type of module when working on the extraction of Live Data to make it reusable (see [Extract Live Data to make it reusable outside XWiki](https://forum.xwiki.org/t/extract-live-data-to-make-it-reusable-outside-xwiki/18103)).  
During this refactoring, I need to introduce LD-specific packages. But I also need to distribute those packages as webjars in XWiki to make them reusable by other webjars without seeing the library code being duplicated in each webjar.

For instance `xwiki-platform-livedata-node-ui` is the webjar bundling `@xwiki/platform-livedata-ui` as a webjar, imported by `xwiki-platform-livedata-webjar` and `xwiki-platform-notifications-webjar`.

---

_[View the full topic](https://forum.xwiki.org/t/modules-naming-and-organization/17984)._
