Closed Nightsphere closed 3 years ago
The first commit has been merged with the first, basic draft of the script. It currently takes the tarball file from the app-dev
's dist
folder and installs it as a dependency in the node_modules
folder. Right now it is a quick and dirty way to automate the installation, and might need to be more robust in the future. However, GitHub packages might take care of that.
For now, the app-dev
's create-common-package.sh
script will need to be run first to build the library and pack it up into the tarball. Then this repository's npm-install-owf-common.sh
script uninstalls the current version of @owf/common
and installs the new tarball in its place.
The npm-install-owf-common.sh
script has been updated and will uninstall, then install the tarball library file in the library workspace's dist/
folder as a dependency in the InfoMapper's package.json
. Closing this issue.
Instead of manually using multiple commands each time the InfoMapper needs to install the owf-common library, create a script that will handle things automatically.