#monorepo with sapphire

1 messages · Page 1 of 1 (latest)

glacial kelp
#

how would you go about installing a yarn or npm monorepo with sapphire bots?

ocean patrolBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

hazy valve
#

Same as with any monorepo. Just mind that you cd into a subfolder before starting that particular bot.

glacial kelp
#

Do you have any handy guide or anything of the kind

hazy valve
#

We have the sapphire guide in general but that's not monorepo specific. To adjust it for monorepo just add a root package.json, create a folder called bots or apps or whatever then a directory per bot which follows a structure mostly similar to a regular repo. The only factor then is that you can deduplicate build tooling and checks to the root of the monorepo

glacial kelp
#

it becomes unable to find them

hazy valve