Skip to main content

Crate monochange_deno

Crate monochange_deno 

Source
Expand description

§monochange_deno

monochange_deno discovers Deno packages and workspace members for the shared planner.

Reach for this crate when you need to scan deno.json or deno.jsonc files, expand Deno workspaces, and normalize Deno dependencies into monochange_core records.

§Why use it?

  • discover Deno workspaces and standalone packages with one adapter
  • normalize manifest and dependency data for cross-ecosystem release planning
  • include Deno-specific import and dependency extraction in the shared graph

§Best for

  • scanning Deno repos without adopting the full workspace CLI
  • turning deno.json metadata into shared package and dependency records
  • mixing Deno packages into a broader cross-ecosystem monorepo plan

§Public entry points

  • discover_deno_packages(root) discovers Deno workspaces and standalone packages
  • DenoAdapter exposes the shared adapter interface

§Scope

  • deno.json and deno.jsonc
  • workspace glob expansion
  • normalized dependency and import extraction

Re-exports§

pub use analysis::DenoSemanticAnalyzer;
pub use analysis::semantic_analyzer;

Modules§

analysis

Structs§

DenoAdapter

Enums§

DenoVersionedFileKind

Constants§

DENO_MANIFEST_FILES

Functions§

adapter
Return the shared Deno ecosystem adapter.
default_dependency_fields
Return the manifest fields that usually contain dependency versions.
default_dependency_version_prefix
default_lockfile_commands
Return the default lockfile refresh commands for package.
discover_deno_packages
Discover Deno packages rooted at root.
discover_lockfiles
Discover lockfiles that should be refreshed for package.
load_configured_deno_package
Load one explicitly configured Deno package without scanning unrelated manifests.
supported_versioned_file_kind
Classify a Deno versioned file path.
update_lockfile
Update versions embedded in a parsed deno.lock document.
validate_versioned_file
Return the default dependency-version prefix for this ecosystem. Validate that a Deno versioned file contains a readable version field.
write_jsr_placeholder_manifest