|
|
|
|
|
|
|
|
In ``dds``, library interdependencies are tracked separately from the packages |
|
|
In ``dds``, library interdependencies are tracked separately from the packages |
|
|
that contain them. A library must declare its intent to use another library |
|
|
that contain them. A library must declare its intent to use another library |
|
|
in the ``library.json5`` at its library root. The minimal content of a |
|
|
in the ``library.json5`` at its library root. The minimal content of a |
|
|
``library.json5`` is the ``Name`` key: |
|
|
|
|
|
|
|
|
``library.json5`` is the ``name`` key: |
|
|
|
|
|
|
|
|
.. code-block:: js |
|
|
.. code-block:: js |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
between them. |
|
|
between them. |
|
|
|
|
|
|
|
|
It is the responsibility of package authors to document the ``namespace`` and |
|
|
It is the responsibility of package authors to document the ``namespace`` and |
|
|
``Name`` of the packages and libraries that they distribute. |
|
|
|
|
|
|
|
|
``name`` of the packages and libraries that they distribute. |
|
|
|
|
|
|
|
|
.. note:: |
|
|
.. note:: |
|
|
The ``namespace`` of a package is completely arbitrary, and need not relate |
|
|
The ``namespace`` of a package is completely arbitrary, and need not relate |