webstone-plugins
webstone-plugins copied to clipboard
Add logic to turn Sveltekit-App into Webstone App
As we're moving away from a monorepo approach, this might get much easier, Logic idea:
graph TD;
1{Directory contains Sveltekit app?}
1-->|yes| 2{replace readme?}
1-->|no| 3[create-svelte-app]
2-->|yes| 4
2-->|no| 8[kepp existing readme]
8-->5
3-->4[replace readme]
4-->5[install webstone-cli]
5-->6[ready]
We maybe should also keep the following two things in mind:
- what if people aren't using playwright for tests, will we configure it with a codemod?
- what if people aren't using typescript, will we enforce typescript, or will we also add
js
support?