#monorepo with sapphire
1 messages · Page 1 of 1 (latest)
Same as with any monorepo. Just mind that you cd into a subfolder before starting that particular bot.
Been trying with yarn and typescript but it ends up messing up entirely
Do you have any handy guide or anything of the kind
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
what about the tsconfig extending @sapphire/ts-config and @sapphire/ts-config/*
it becomes unable to find them
Similar to any monorepo. For example https://github.com/sapphiredev/plugins