-
Notifications
You must be signed in to change notification settings - Fork 351
Feature/deno 2 deps #12600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/deno 2 deps #12600
Conversation
π Snyk checks have passed. No issues have been found so far.β security/snyk check is complete. No issues have been found. (View Details) β license/snyk check is complete. No issues have been found. (View Details) |
So the problem on Windows with the build is the following. PS D:\a\quarto-cli\quarto-cli\src\webui\quarto-preview> ..\..\..\package\dist\bin\tools\x86_64\deno.exe task build
Task build tsc --noEmit && vite build
'deno' is not recognized as an internal or external command,
operable program or batch file. Something calling The quick fix here is to add This is done only for Windows as it seems to be the problem. (I should probably have added a not in comment). I did not find where running
|
Ok so I really wanted to understand the problem and could really pinpoint the exact issue. However it seems to me that having However, it also means that using I don't know why we need to use Deno for
Anyhow, to solve this we need to have our bundle deno in PATH.
|
I added a script. It runs ok locally - I am not sure how to test locally to be 100% sure that we do not need to add some windows specificity. Right now, it does the exact same as |
I agree. I believe this was an old attempt by JJ back when Deno first announced "npm support", but it's not particularly important. We either move everything about that build step to Deno, or everything to node. It doesn't look like Deno's support is robust enough. |
Ok, I'm going to merge this and then build (but not release) installers. I expect these won't work, but we can then debug. |
A followup PR to feature/deno-2 with changes to how we handle dependencies, vendoring, etc.
Before we merge:
package/scripts/vendoring/vendor.sh
, because with Deno 2 we're using that at every call to configure, including when we (eventually) build installers