desci-labs / nodes-web

UI to create and consume interoperable research objects
https://nodes.desci.com
GNU Affero General Public License v3.0
11 stars 3 forks source link

Builds & decoupling #192

Closed m0ar closed 1 year ago

m0ar commented 1 year ago

Here is the companion PR to https://github.com/desci-labs/nodes/pull/81

Running yarn [start|build] in this repo will make sure the project is in sync with nodes by using Make targets.

Additionally, the frontend can now be run against any nodes clone! This is great when debugging someone else's work or developing on parallel features. This is made possible by symlinking the contract artifacts and yarnk link-ing the desci-models npm package at build time.

EDIT: May need some adjustment so that both local and Vercel builds work, could use some help on this :pray:

m0ar commented 1 year ago

After a long fistfight with Vercel, we seem to be all good!