Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Dec 17, 2025

It seems some changes where missed in Deno 2 update

This PR tries to bring feature parity for dev version regarding Deno 2

Ports commit 6bd58f4 from Bash script to Windows.

Adds QUARTO_FORCE_VERSION environment variable support to both dev
and bundled modes, allowing version output override for snapshot testing.

Original commit: 6bd58f4 "dev: respond to QUARTO_FORCE_VERSION to facilitate snapshot testing"
Ports commit 8b3db87 from Bash script to Windows.

Changes behavior to exit with code 1 after running configure.cmd due to
Deno version mismatch, instead of continuing execution. This prevents
running with wrong Deno version.

Original commit: 8b3db87 "automatic reconfigure (for linux & mac)"
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Dec 17, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv force-pushed the windows/quarto-dev-script-update branch from 33b7a97 to e09fb8e Compare December 17, 2025 17:29
Ports commit b44cb08 from Bash script to Windows.

Enables --cached-only flag in dev mode to prevent network fetches during
development, matching Bash behavior. Also sets DENO_DIR to point to the
vendored deno_cache directory so dependencies are found when using
--cached-only.

Original commit: b44cb08 "turn on cached-only for dev as well, add puppeteer deps to cache"
@cderv cderv force-pushed the windows/quarto-dev-script-update branch from e09fb8e to 3ca8315 Compare December 17, 2025 17:46
Ports DENO_DIR configuration from configure.sh (line 79) to configure.cmd.
Without this, configure.cmd uses Deno's default cache location instead of
the vendored deno_cache directory, causing --cached-only failures.

Matches Bash behavior: uses QUARTO_DENO_DIR if set, otherwise defaults to
$QUARTO_BIN_PATH/deno_cache.
@cderv cderv marked this pull request as draft December 17, 2025 19:32
Fix DENO_DIR misconfiguration causing tests to miss populated cache,
resulting in redundant dependency downloads.

Tests now use cache populated by vendor.sh and vendor.cmd
@cderv cderv marked this pull request as ready for review December 19, 2025 15:15
@cderv cderv merged commit a6e37ac into main Dec 19, 2025
51 checks passed
@cderv cderv deleted the windows/quarto-dev-script-update branch December 19, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants