fallback-studio icon indicating copy to clipboard operation
fallback-studio copied to clipboard

windows compatibility port

Open Huaoe opened this issue 5 years ago • 1 comments

basically what I did is :

  1. replacing the pwa-studio folder with a copy of the branch fix/windows_dev_experience*

  2. cd src/example-company/example-shop yarn add cross-env

  3. changing the root package scripts entry to :

     "watch:example-shop": "yarn workspace @fallback-studio/example-shop run watch"
    

thanks to command : yarn workspaces info

Questions : We should be abble to plug any version of pwa-studio folder. How can we do that ? maybe you should merge only : package.json src/example-company/example-shop/package.json

NB: I did not test this PR on a mac

Huaoe avatar Apr 10 '19 09:04 Huaoe

Interesting, i see you made changes inside pwa-studio folder. When you make changes inside this folder you basically disable the ability to upgrade to the latest version of pwa-studio. So thats something you really don't wanna do. Also to be windows compatible it suggest using docker. Right now we are making changes just so we can develop but in the production env we don't need all this code if we are gonna be running on a unix based system.

But thanks for the PR when i have time i'll dive deeper into it and see of this works on a mac

Jordaneisenburger avatar Apr 10 '19 09:04 Jordaneisenburger