webstone-plugins icon indicating copy to clipboard operation
webstone-plugins copied to clipboard

Add logic to turn Sveltekit-App into Webstone App

Open Cahllagerfeld opened this issue 2 years ago • 2 comments

Cahllagerfeld avatar Jul 28 '22 18:07 Cahllagerfeld

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]

Cahllagerfeld avatar Sep 25 '22 08:09 Cahllagerfeld

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?

Cahllagerfeld avatar Sep 25 '22 08:09 Cahllagerfeld