365businessdev / alget

ALGet Package Manager
MIT License
2 stars 0 forks source link

[Idea]/[Discussion] Do not add dependencies of dependencies to app.sjon #6

Open pri-kise opened 3 hours ago

pri-kise commented 3 hours ago

Currently the Dependencies of a Dependency are automatically added to the app.json. I understand that this make things more explicit, but we currently don't want this always. e.g. we have a library app. Our businss app has a dependency on the library app. Normally the customer PTE apps only have a dependency on our business logic app, but almost never on our library app.

Now we want to switch to our library app v2. Then we we have to change the explicit dependency to our new library app in all our custom PTE apps although we don't really use this there.

This issue is more some kind of discussion, since I want to to understand the benefits of having the indirect dependencies explicit.

Personally I would prefer it, if the indirect dependencies aren't added in the app.json

TrippyZ commented 2 hours ago

I suggest making this an option with the default being No

sirhc101 commented 18 minutes ago

Good point! I will add an option to enable adding indirect dependencies to manifest dependencies.