-
Notifications
You must be signed in to change notification settings - Fork 2
Should we keep having a single package.json for the Aragon app + the web app? #1
Comments
Adding another con, all 'first-party' Aragon apps use separate packages for the contracts and the webapp. I think we should make the default developer experience as similar as possible to what we consider the best way of building Aragon apps is. |
I like logically separating things as much as possible, to avoid confusion. I've even been thinking about making the contracts go into a different subdirectory, so that it might look something like:
And maybe lerna at the root to make it easier to install all in one go? |
I wouldn't call the subdir EVM though, imagine that in the future Aragon apps run on WASM |
Some ideas of variable correctness: I was also thinking about |
I guess I like |
What about repos that already use lerna to manage multiple apps like aragon/aragon-apps or TPT? Would the idea be that each app uses lerna to manage the two packages or are they all managed by the monorepo top-level lerna? Just worried than adding more packages could make dealing with app monorepos even more painful than it is right now. |
Yeah, don't disagree with that. I was thinking each app would also use lerna to manage the two packages... but that's probably overkill. |
We could also do “lerna without lerna”, only to avoid introducing another tool:
|
With the above, we should also place generic assets, e.g. icons, images, etc. into The |
Pros:
Cons:
@izqui @sohkai thoughts?
The text was updated successfully, but these errors were encountered: