Skip to content

Commit 71bf433

Browse files
committed
merge
2 parents 9626fd3 + 9180b54 commit 71bf433

File tree

1,563 files changed

+12713
-249888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,563 files changed

+12713
-249888
lines changed

.air.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ indent-style = "space"
55
line-ending = "auto"
66
persistent-line-breaks = true
77
exclude = []
8-
default-exclude = true
8+
default-exclude = true

.github/workflows/actions/quarto-dev/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ runs:
88
uses: actions/cache@v4
99
with:
1010
path: ./src/resources/deno_std/cache
11-
key: ${{ runner.os }}-deno_std-1-${{ hashFiles('./src/resources/deno_std/deno_std.lock', './package/scripts/deno_std/deno_std.ts') }}
11+
key: ${{ runner.os }}-deno_std-2-${{ hashFiles('./src/resources/deno_std/deno_std.lock', './package/scripts/deno_std/deno_std.ts') }}
1212
restore-keys: |
13-
${{ runner.os }}-deno_std-1-
14-
${{ runner.os }}-deno_std-
13+
${{ runner.os }}-deno_std-2-
1514
1615
- name: Configure Quarto (.sh)
1716
if: runner.os != 'Windows'

.github/workflows/create-release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
with:
3636
fetch-depth: 0
3737

38+
# we _also_ need npm, specifically for webui/preview
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: 18
42+
3843
- name: Get previous version
3944
id: read-version
4045
run: |
@@ -193,10 +198,10 @@ jobs:
193198
194199
source ./configuration
195200
196-
echo Placing custom Deno ${DENO:1}. See available versions at https://anaconda.org/conda-forge/deno/files
197-
curl -L https://anaconda.org/conda-forge/deno/${DENO:1}/download/linux-64/deno-${DENO:1}-hcab8b69_0.conda --output deno.conda
201+
echo Placing custom Deno ${DENO:1}. See available versions at https://anaconda.org/conda-forge/deno/files hbf66b88_0
202+
curl -L https://anaconda.org/conda-forge/deno/${DENO:1}/download/linux-64/deno-${DENO:1}-hbf66b88_0.conda --output deno.conda
198203
unzip deno.conda
199-
tar --use-compress-program=unzstd -xvf pkg-deno-${DENO:1}-hcab8b69_0.tar.zst
204+
tar --use-compress-program=unzstd -xvf pkg-deno-${DENO:1}-hbf66b88_0.tar.zst
200205
cp bin/deno package/pkg-working/bin/tools/x86_64/deno
201206
202207
- name: Make Tarball

.ruff.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
extend-exclude = [
2+
"**/renv",
3+
"**/.venv",
4+
".github",
5+
".vscode",
6+
"**/node_modules",
7+
"**/__pycache__",
8+
"**/build",
9+
# file with cell magic not parsed by ruff
10+
"src/resources/jupyter/lang/python/cleanup.py",
11+
"src/resources/jupyter/lang/python/setup.py",
12+
]
13+
# don't format .ipynb files as quarto cell comment
14+
include = ["**/*.py"]

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"esbenp.prettier-vscode",
55
"sumneko.lua",
66
"nvarner.typst-lsp",
7-
"Posit.air-vscode"
7+
"Posit.air-vscode",
8+
"charliermarsh.ruff",
9+
"tamasfe.even-better-toml"
810
]
911
}

.vscode/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
"[typescript]": {
33
"editor.defaultFormatter": "denoland.vscode-deno"
44
},
5+
"notebook.formatOnSave.enabled": false,
6+
"notebook.codeActionsOnSave": {
7+
"notebook.source.organizeImports": "explicit"
8+
},
9+
"pylint.enabled": false,
10+
"[python]": {
11+
"editor.formatOnSave": true,
12+
"editor.defaultFormatter": "charliermarsh.ruff",
13+
"editor.codeActionsOnSave": {
14+
"source.organizeImports": "explicit"
15+
}
16+
},
517
"[r]": {
618
"editor.formatOnSave": true,
719
"editor.defaultFormatter": "Posit.air-vscode"
@@ -13,6 +25,10 @@
1325
"[html]": {
1426
"editor.formatOnSave": false
1527
},
28+
"[toml]": {
29+
"editor.formatOnSave": true,
30+
"editor.defaultFormatter": "tamasfe.even-better-toml"
31+
},
1632
"editor.defaultFormatter": "esbenp.prettier-vscode",
1733
"editor.formatOnSave": true,
1834
"editor.tabSize": 2,

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ authors:
2020
given-names: "Gordon"
2121
orcid: "https://orcid.org/0009-0005-1809-8936"
2222
title: "Quarto"
23-
version: 1.6
23+
version: 1.7
2424
doi: 10.5281/zenodo.5960048
25-
date-released: 2024-11-27
25+
date-released: 2025-04-28
2626
url: "https://github.com/quarto-dev/quarto-cli"

configuration

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
# in src/command/check/check.ts
1212

1313
# Binary dependencies
14-
export DENO=v1.46.3
14+
export DENO=v2.3.1
1515
# TODO figure out where 0.1.41 apple silicon libs are available
1616
export DENO_DOM=v0.1.41-alpha-artifacts
1717
export PANDOC=3.6.3
18-
export DARTSASS=1.85.1
19-
export ESBUILD=0.19.12
18+
export DARTSASS=1.87.0
19+
export ESBUILD=0.25.3
2020
export TYPST=0.13.0
2121

2222

@@ -61,7 +61,7 @@ export ALGOLIA_SEARCH_INSIGHTS_JS=2.0.3
6161

6262

6363
# Quarto Info Version
64-
export QUARTO_VERSION=1.7
64+
export QUARTO_VERSION=1.8
6565
export QUARTO_NAME=Quarto
6666

6767
# Folder names. These are not the same as paths (those variable names end in _PATH).

configure.cmd

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,30 +69,14 @@ echo Configuration done
6969

7070
POPD
7171

72-
if "%CI%" NEQ "true" (
73-
echo Revendoring quarto dependencies
74-
75-
@REM for /F "tokens=2" %%i in ('date /t') do set today=%%i
76-
@REM RENAME src\vendor src\vendor-%today%
77-
@REM pushd src
78-
@REM echo Vendor phase 1
79-
@REM %QUARTO_DENO% vendor quarto.ts %QUARTO_ROOT%\tests\test-deps.ts --importmap=import_map.json
80-
@REM if ERRORLEVEL NEQ 0 (
81-
@REM popd
82-
@REM echo deno vendor failed (likely because of a download error). Please run the configure script again.
83-
@REM RMDIR vendor
84-
@REM RENAME vendor-${today} vendor
85-
@REM exit 1
86-
@REM )
87-
@REM popd
88-
@REM %QUARTO_DENO% run --unstable --allow-all --importmap=src\import_map.json package\src\common\create-dev-import-map.ts
89-
)
72+
REM download typescript dependencies
73+
CALL package\scripts\vendoring\vendor.cmd
9074

9175
ECHO Downloading Deno Stdlib
9276
CALL !QUARTO_PACKAGE_PATH!\scripts\deno_std\download.bat
9377

94-
SET QUARTO_DENO_EXTRA_OPTIONS="--reload"
9578
IF EXIST !QUARTO_BIN_PATH!\quarto.cmd (
79+
SET QUARTO_DENO_EXTRA_OPTIONS=--reload
9680
CALL "!QUARTO_BIN_PATH!\quarto" --version
9781
)
9882

configure.sh

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,51 +29,58 @@ function download() {
2929

3030
QUARTO_VENDOR_BINARIES=${QUARTO_VENDOR_BINARIES=true}
3131

32-
DENO_BIN=${QUARTO_DENO=$QUARTO_BIN_PATH/tools/$DENO_DIR/deno}
32+
DENO_BIN=${QUARTO_DENO=$QUARTO_BIN_PATH/tools/$DENO_ARCH_DIR/deno}
3333

3434
if [[ "${QUARTO_VENDOR_BINARIES}" = "true" ]]; then
35-
DENO_VERSION_NO_V=$(echo $DENO | sed 's/v//')
36-
if [[ (! -f "$DENO_BIN") || $("$DENO_BIN" --version | grep $DENO_VERSION_NO_V) == "" ]]; then
35+
DENO_VERSION_NO_V=$(echo "$DENO" | sed 's/v//')
36+
if [[ (! -f "$DENO_BIN") || $("$DENO_BIN" --version | grep "$DENO_VERSION_NO_V") == "" ]]; then
3737
# Ensure directory is there for Deno
3838
echo "Bootstrapping Deno..."
3939

40-
rm -rf $QUARTO_DIST_PATH
40+
rm -rf "$QUARTO_DIST_PATH"
4141

4242
## Binary Directory
4343
mkdir -p "$QUARTO_BIN_PATH/tools"
44-
cd $QUARTO_BIN_PATH/tools
44+
pushd "$QUARTO_BIN_PATH/tools"
4545

4646
# Download Deno
4747
for DENOFILE in $DENOFILES; do
4848
download "$DENOURL/$DENO/$DENOFILE" "$DENOFILE"
49-
unzip -o $DENOFILE
50-
51-
mkdir -p $DENO_DIR
52-
mv deno $DENO_DIR
53-
rm $DENOFILE
49+
unzip -o "$DENOFILE"
50+
mkdir -p "$DENO_ARCH_DIR"
51+
mv deno "$DENO_ARCH_DIR"
52+
rm "$DENOFILE"
5453
done
5554

5655
# we create a symlink here so that we need only one quarto-cli.code-workspace file
57-
ln -s $DENO_DIR/deno deno
56+
ln -s $DENO_ARCH_DIR/deno deno
5857

5958
# If a canary commit is provided, upgrade to that
60-
if [ ! -z "$DENO_CANARY_COMMIT" ]; then
59+
if [ -n "$DENO_CANARY_COMMIT" ]; then
6160
echo [Upgrading Deno to Canary]
62-
./deno upgrade --canary --version $DENO_CANARY_COMMIT
61+
./deno upgrade --canary --version "$DENO_CANARY_COMMIT"
6362
fi
6463

6564
# write deno version file for later use
66-
mkdir -p $QUARTO_BIN_PATH/../config
67-
echo $DENO > $QUARTO_BIN_PATH/../config/deno-version
65+
mkdir -p "$QUARTO_BIN_PATH/../config"
66+
echo "$DENO" > "$QUARTO_BIN_PATH/../config/deno-version"
67+
68+
popd
6869
fi
69-
export DENO_BIN_PATH=$QUARTO_BIN_PATH/tools/$DENO_DIR/deno
70+
export DENO_BIN_PATH=$QUARTO_BIN_PATH/tools/$DENO_ARCH_DIR/deno
7071
else
7172
if [ -z "$DENO_BIN_PATH" ]; then
7273
echo "DENO_BIN_PATH is not set. You either need to allow QUARTO_VENDOR_BINARIES or set DENO_BIN_PATH to the path of a deno binary."
7374
exit 1
7475
fi
7576
fi
7677

78+
if [ "$QUARTO_DENO_DIR" == "" ]; then
79+
export DENO_DIR=$QUARTO_BIN_PATH/deno_cache
80+
else
81+
export DENO_DIR=$QUARTO_DENO_DIR
82+
fi
83+
7784
echo "Downloading Deno Stdlib"
7885
"${QUARTO_PACKAGE_PATH}/scripts/deno_std/download.sh"
7986

@@ -82,6 +89,11 @@ pushd "$QUARTO_PACKAGE_PATH/src/"
8289
# Run the configure command to bootstrap installation
8390
./quarto-bld configure --log-level info
8491

92+
popd
93+
94+
# download typescript dependencies
95+
source package/scripts/vendoring/vendor.sh
96+
8597
# Run the quarto command with 'reload', which will force the import_map dependencies
8698
# to be reloaded
8799
if ! quarto_loc="$(type -p quarto)" || [[ -z $quarto_loc ]]; then

0 commit comments

Comments
 (0)