KA-Huis / space-management

The core application of the KA-Huis
https://ka-huis.github.io/space-management
Apache License 2.0
0 stars 0 forks source link

Add frontends repository as dependency in NPM #164

Closed cyrildewit closed 2 years ago

cyrildewit commented 2 years ago

Description

In orer to use the work form @Prupke and @joeyvonck, the space-managment-frontends repository needs to be added as a dependency. We can use this article for reference:

https://medium.com/@jonchurch/use-github-branch-as-dependency-in-package-json-5eb609c81f1a

Acceptance criteria

cyrildewit commented 2 years ago

Instead of installing the git repository, we will be using published versions of the package. Published packages are builded and that's what we need. This project isn't responsible for building the code from another's package. This resulted in errors.

The yarn package manager is trying to install it form the Yarn registry instead of the GitHub registry. Changing the .npmrc didn't work and adding a .yarnrc.yml also didn't work.

cyrildewit commented 2 years ago

Nice, I found a solution. I configured the .yarnrc.yml file wrong.