Hey, I should probably take the time to write something meaningful here. Not now tho.
This is a template project to kickstart the making of simple WordPress plugins with SvelteKit. I made it mostly for myself, but sharing is caring, so here we are.
Please raise an issue or discussion is you try to use this and fail... But maybe just try a litte bit more before?
Ohh, and, I use Arch btw (Manjaro ackchyually). Reminder, I built this for me. YMMV.
./client)./admin)my-plugin, my_plugin, My Plugin, ...sharedConfig.jspnpm install && cd ./client && pnpm install && cd ../admin && pnpm installpnpm dev (from root or client or admin)pnpm wrap:prod (will build automatically)Inside root : pn version patch && pn wrap:prod
Inside client : pn version patch
Inside admin : pn version patch
From root, pn dev will launch both projects in parallel.