feat: Add puro support
Description
Would love to use Puro with Jaspr: https://puro.dev
Currently it's not working and I have to downgrade my global Flutter (because I use older Flutter & Dart on my Jaspr project).
Please provide more details.
So, I have Puro installed on my machine.
It gives me functionality that I can run puro use 3.35.5 in my project root and it will use this Flutter version for the specific project.
It helps me a lot since I work on some legacy projects and need to use an older Flutter version for them.
In my Jaspr project, I need to use Flutter 3.27.3.
Using puro use 3.27.3 in the project root works well, Puro settings get saved properly but then when doing a 'Run -> Without debugging' in VSCode, it still uses my global Flutter version (which is the latest stable) and the build fails.
When I downgrade my global Flutter version (the one which is installed on my machine, not this Puro project specific one) and run the Jaspr project, it works well.
So yeah, Puro works good with Flutter projects, but it seems like when running a Jaspr project, it runs by using global Flutter & Dart always.
If it helps in any way, when I enable Puro in some project, this is stored in my project .vscode/settings.json
{
"dart.flutterSdkPath": "/Users/jokilic/.puro/envs/stable/flutter",
"dart.sdkPath": "/Users/jokilic/.puro/envs/stable/flutter/bin/cache/dart-sdk"
}
So I guess that Flutter projects build from these paths if they exist and Jaspr projects always build from global Flutter & Dart. Hope all this makes sense...
Thanks, i will take a look