Documentation
¶
Overview ¶
Command modlock-npm assembles the npm packages of a Modlock release, in the layout esbuild uses: one package per system holding that system's command line, and the modlock package, which holds the TypeScript library and its declarations and a launcher that runs the command line npm installed for the system it runs on:
modlock-npm -version v0.2.0 -dist dist -library js/built -out dist/npm
-dist holds the release's command lines, named modlock-<os>-<arch>, and -library the built library. Each package goes in its own directory under -out, named after the package without its scope, ready for npm publish; publish the system packages before modlock, which depends on them.
Click to show internal directories.
Click to hide internal directories.