Module

x/deno_slack_hooks/check_update.ts>getDenoImportMapFiles

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Go to Latest
function getDenoImportMapFiles
import { getDenoImportMapFiles } from "https://dotland.deno.dev/x/deno_slack_hooks@0.5.0/check_update.ts";

getDenoImportMapFiles cycles through supported deno.* files and, if an importMap key is found, returns an array of arrays made up of filename and dependency key pairs.

ex: [["import_map.json", "imports"], ["custom_map.json", "imports"]]

Parameters

cwd: string

Returns

Promise<{ denoJSONDepFiles: [string, "imports"][]; inaccessibleDenoFiles: InaccessibleFile[]; }>