Cleanup: consolidate expandGlobSync wrapper and deno_ral duplicate
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, typescript
- Domain
- tooling
Research direction
Start with src/core/deno/expand-glob.ts and src/deno_ral/fs.ts, then inspect the four listed call sites, especially src/command/render/template.ts. Compare their expandGlobSync options and verify whether globstar behavior is required. Done means one consistent import path remains, required options are preserved, and relevant checks pass.
Written by the indexing model from the issue text.
Description
src/core/deno/expand-glob.ts wraps expandGlobSync from @std/fs to add globstar: true by default. It was created to work around denoland/deno_std#3099, which has since been fixed.
Current state
Two import paths coexist for expandGlobSync:
-
src/core/deno/expand-glob.ts— wrapper addingglobstar: true, used by:src/extension/extension.tssrc/command/call/build-ts-extension/cmd.tssrc/command/call/typst-gather/cmd.ts
-
src/deno_ral/fs.ts— re-exports raw@std/fsversion (noglobstar), used by:src/command/render/template.ts
This means template.ts doesn't get the globstar: true default that other call sites get, which may or may not matter depending on usage.
Suggested cleanup
Since denoland/deno_std#3099 is fixed:
- Remove
src/core/deno/expand-glob.tswrapper - Have all call sites import from
deno_ral/fs.ts - If
globstar: trueis still needed, pass it explicitly at call sites or add it to thedeno_ralre-export
Discovered while investigating #13927.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Openengines-jupyter enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14850 · 2 comments ·
All issues in quarto-dev/quarto-cli
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·