Closed ottodevs closed 5 years ago
Sorry, forget about this, I was using the wrong @aragon/core library
While it'll stay possible in aragonOS 4, we'll eventually move the truffle config onto its own package so there are less packages depending on aragonOS solely for the truffle config (see #318).
Previously, extending truffle-config from @aragon/os, seemed to become somehow common and useful practice , as seen on most aragon core apps
But this seems not possible anymore unless
truffle-hdwallet-provider
andethereumjs-testrpc
that are required from that truffle-config, get bundled into the module or moved fromdevDependencies
todependencies
orpeerDependencies
since these devDeps are not installed automatically when runningnpm i
' on apps that inherit this handy truffle-configAny idea or recommendation to do from now? does it make sense to continue providing the truffle-config as external convenient default?
The usefulness of this feature gets increased if we think that even from the local config is possible to extend the inherited one by reassigning the needed variables.
I think it would be nice for the whole dev community to reuse as much code as we can, and truffle-config seems like a good candidate for me, as a dev I liked the previous approach and saved me tons of time :)
EDIT: Thinking about that, it seems like a reasonable solution to put these requires behind environment conditions, if that makes sense... I currently dunno if this actually possible