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

Steve pfp
Steve
@stevedylandev.eth
I'm on the pnpm hype train now Just migrated the Pinata SDK to a pnpm workspace and added three different example repos and OOF I love it lol Is this my path to monorepo hell? If so @gregfromstl help me
6 replies
1 recast
22 reactions

Justin Hunter pfp
Justin Hunter
@polluterofminds
Wait tell me what’s better
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
If you check our our SDK repo there's an example folder with vite+react. hono, and next.js. Instead of importing a dist folder with a relative path or messing with npm link, I can setup a simple pnpm-workspace.yaml file and then import the SDK with workspace. Then whenever I run the build in the main sdk repo all of our examples will use the lastest build dist. It's the same effect of importing a dist folder but way less messy. I ended up going down the rabbit hole because next.js wouldn't let me do it that way (of course)
0 reply
0 recast
1 reaction