Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a script to install the owf-common library #368

Closed
Nightsphere opened this issue Mar 4, 2021 · 2 comments
Closed

Add a script to install the owf-common library #368

Nightsphere opened this issue Mar 4, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request XS Size: 2 hours or less

Comments

@Nightsphere
Copy link
Collaborator

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.

@Nightsphere Nightsphere added enhancement New feature or request XS Size: 2 hours or less labels Mar 4, 2021
@Nightsphere Nightsphere self-assigned this Mar 4, 2021
@Nightsphere
Copy link
Collaborator Author

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.

@Nightsphere
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XS Size: 2 hours or less
Projects
None yet
Development

No branches or pull requests

1 participant