GitShow/denoland/deno_graph
denoland

deno_graph

The module graph logic for Deno CLI

by denoland
denorusttypescriptwebassembly
Star on GitHubForkWebsite

Rust

136 stars46 forks34 contributorsActive · 1w agoSince 20210.110.0MIT

Meet the team

See all 34 on GitHub →
dsherret
dsherret339 contributions
denobot
denobot187 contributions
kitsonk
kitsonk102 contributions
bartlomieju
bartlomieju24 contributions
nayeemrmn
nayeemrmn23 contributions
lucacasonato
lucacasonato22 contributions
kt3k
kt3k5 contributions
crowlKats
crowlKats4 contributions

Languages

View on GitHub →
Rust95.8%
TypeScript4.2%

Commit activity

Last 12 weeks · 24 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
bartlomieju
feat: unstable config imports (yaml/toml/json5/jsonc)MergedPR

Adds an build option that lets , , , , and files be imported as modules. When the option is enabled, such a file is rewritten into a JavaScript module that parses its contents with a parser pulled from the registry on demand: Because the parser becomes an ordinary graph dependency, the feature is zero-cost when unused: nothing about it enters the module graph (or a compiled binary, or the lockfile) unless a config file is actually imported. yaml and toml are detected from the file extension so no new variant is needed; json5 and jsonc are detected from their extension or media type. The import attribute is honored ( etc.), and json5 and jsonc additionally satisfy . The mapping is yaml to , toml to , jsonc to , and json5 to (there is no ). The contents are inlined as a string literal rather than imported via , because the rewritten module occupies the file's specifier in the graph, so a text self-import would read back the generated source instead of the original bytes. This is the deno_graph half of denoland/deno#35304; the deno side wires the option to and handles the runtime module type.

bartlomieju · 1w ago
bartlomieju
feat: add unstable_css_imports optionMergedPR

Adds an build option, mirroring the existing and options. When enabled, a import attribute type is accepted and the import is recorded as an asset edge (external module) in the graph; when disabled, it errors with the same unsupported import attribute type error as before. This unblocks CSS module scripts () in Deno behind , prototyped in denoland/deno#35093 (towards denoland/deno#11961). Once this lands and is released, the analyzer-level workaround in that PR (remapping to for graph building) can be replaced with this option.

bartlomieju · 3w ago
crowlKats
fix: add jsrpackageinfo.versionMergedPR
crowlKats · 3w ago
Structured data for AI agents

Repository: denoland/deno_graph. Description: The module graph logic for Deno CLI Stars: 136, Forks: 46. Primary language: Rust. Languages: Rust (95.8%), TypeScript (4.2%). License: MIT. Homepage: https://docs.rs/deno_graph Topics: deno, rust, typescript, webassembly. Latest release: 0.110.0 (1w ago). Open PRs: 4, open issues: 32. Last activity: 1w ago. Community health: 37%. Top contributors: dsherret, denobot, kitsonk, bartlomieju, nayeemrmn, lucacasonato, kt3k, crowlKats, marvinhagemeister, nathanwhit and others.

·@ofershap

Replace github.com with gitshow.dev