Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
On GitHub, how do you refactor pieces of your code from multiple repos? Do you create a library repo? Would it make sense to instead switch to a monorepo? Merging repost from different apps into a single one and then extract the lib.
4 replies
0 recast
4 reactions

‍‍ pfp
‍‍
@git
Monorepo is ok. Depending on the language/runtime. If for example you're using deno then you can import github files directly. If using node then you can install github repositories as if they were npm packages. Go uses github repositories for packages Using git submodules is the worst option ime
1 reply
0 recast
0 reaction

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
Right - both routes are doable. Monorepos can require a bit more work on the CI, deployiment side. Split repos can add more overhead in managing versions and moving things around. I think my approach will be, start with monorepo and then move parts out into separate repo if it makes sense. I'm too used to monorepos.
2 replies
0 recast
0 reaction

‍‍ pfp
‍‍
@git
Monorepo deployment:
1 reply
0 recast
1 reaction

Joe Petrich 🟪 pfp
Joe Petrich 🟪
@jpetrich
Monorepo is my choice
1 reply
0 recast
0 reaction