In my angular project, we have 5 custom libraries tailored to our needs. Using the com.github.eirslett
maven plugin in our spring boot application, we build these libraries through the pom.xml
file and then copy them to the dist/
folder. However, we also need to package these libraries as tarball (.tgz) files for use in another application.
Currently, I have to manually navigate into each of the 5 folders within dist/
and run npm pack
in the command line to generate the library_name.tgz
files. Is there a way to automate this process like we do with building the libraries?
The widely-used maven plugin mentioned earlier does not support the npm pack
command.