Skip to main content
Module

x/molt/mod.ts>CollectOptions

Update dependencies the Deno way
Latest
interface CollectOptions
import { type CollectOptions } from "https://deno.land/x/molt@0.17.2/mod.ts";

Properties

optional
cache: boolean

Whether to use the cache to resolve dependencies.

optional
cwd: string | URL

The working directory to resolve relative paths. If not specified, the current working directory is used.

optional
importMap: string | URL

The path to the import map used to resolve dependencies. If not specified, molt will automatically find deno.json or deno.jsonc in the current working directory or parent directories.

optional
lock: boolean

Whether to collect updates from the lockfile and update it.

optional
lockFile: string | URL

The path to the lockfile being updated. If not specified, molt will try to find deno.lock in the current directory or parent directories.

optional
ignore: (dependency: Dependency) => boolean

A function to filter out dependencies.

optional
only: (dependency: Dependency) => boolean

A function to pick dependencies.