Socket
Socket
Sign inDemoInstall

@studyportals/bestfit-shared

Package Overview
Dependencies
0
Maintainers
19
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @studyportals/bestfit-shared

Code that is shared between the BestFit FE microservices.


Version published
Maintainers
19
Install size
107 kB
Created

Readme

Source

BestFit-Shared

BestFit-Shared is part of the BestFit codebase

Current services (in use)

Front-end

API

Shared code for individual parts of the bigger tool that considers several categories to see if a study fits well.

NPM package

As of January 2019 BestFit-Shared was switched from a submodule to an NPM package. All the good practices for packages in general must be followed for BestFit-Shared as well.

General workflow

Depending on the changes that you want to implement, you might want to work with only BestFit-Shared, or maybe AdmissionChance-Answer and BestFit-Shared. Or perhaps you're including all the BestFit-related FE repositories at the same time.

When you work on any of the FE microservices along with BestFit-Shared, it's useful that BestFit-Shared is on the right version not only for your local deployment, but for the end-to-end tests that run inside pull requests as well.

Therefore, when you first open up a pull request in any of the FE microservice repositories, make sure to install BestFit-Shared on the branch that you have open, like this:

npm install git+ssh://github.com/studyportals/bestfit-shared.git#ua-my-branch --save

This way you can update the package with the latest changes without bumping it to a newer version. Travis won't be able to run the end-to-end tests though, because it does not have access to pull the changes directly from GitHub. For developing and making your new changes working, this way of installing the most recent changes works nicely though.

Then, when your version of BestFit-Shared works as it should and you're all done to wrap things up and merge to develop all your changes in the repositories you're working on, you can bump the BestFit-Shared version and merge your changes for this package. Inside the FE microservices you can replace the BestFit-Shared branch version with the new latest version, and that's it.

Keywords

FAQs

Last updated on 14 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc