open-pioneer / trails-build-tools

Build tools for the Open Pioneer Trails web client framework.
Apache License 2.0
2 stars 0 forks source link

Idea: check if pioneer-package dependency is peer-dependency in build tool #58

Open antoniave opened 1 year ago

antoniave commented 1 year ago

A pioneer-package should always be added as a peer dependency, not as a "normal" dependency. Especially when publishing packages.

In the build-pioneer-cli tool we already check if all necessary dependencies are declared in the package.json.

The idea is to additionally check if all pioneer-package dependencies are declared as peer dependecies and not as "normal" dependencies.