You can write a PackageExt1Ext2 that is loaded when both are loaded and put the common part is loaded.
See line 38 how to specify that (the name upfront should maybe reflect that better than here)
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
HybridArrays = "1baab800-613f-4b0a-84e4-9cd3431bfbb9"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[extensions]
ManifoldsBoundaryValueDiffEqExt = "BoundaryValueDiffEq"
ManifoldsDistributionsExt = ["Distributions", "RecursiveArrayTools"]
ManifoldsHybridArraysExt = "HybridArrays"
ManifoldsNLsolveExt = "NLsolve"
ManifoldsOrdinaryDiffEqDiffEqCallbacksExt = ["DiffEqCallbacks", "OrdinaryDiffEq", "RecursiveArrayTools"]
ManifoldsOrdinaryDiffEqExt = "OrdinaryDiffEq"
ManifoldsRecipesBaseExt = ["Colors", "RecipesBase"]
ManifoldsRecursiveArrayToolsExt = "RecursiveArrayTools"
ManifoldsTestExt = "Test"
[compat]
BoundaryValueDiffEq = "4, 5.6.1"
1 Like