A LuciadRIA distribution comes as a set of ES6 modules, packaged as npm packages. Developers can install it using npm install.

Because LuciadRIA is not published in a public npm registry, you need to publish it to a private npm registry first to make it available:

cd packages/es6 # The NPM packages are located under packages/es6

# Publish each of the packages.
# geometry and symbology are optional packages that are only available when purchased
npm --registry http://my-private-registry:8073/ publish ria
npm --registry http://my-private-registry:8073/ publish geometry
npm --registry http://my-private-registry:8073/ publish symbology

If you don’t have an npm registry available, you can:

  • Run one on your own machine. You can use verdaccio for that, for example.

  • Use a tool like lerna to manage the LuciadRIA dependency.

    For example the samples included in the LuciadRIA release use lerna to manage their dependencies on shared sample code and on LuciadRIA itself. See Explore and edit the sample code for more details.