Skip to main content
Module

x/deno_slack_hooks/check_update.ts>getDenoImportMapFiles

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Latest
function getDenoImportMapFiles
import { getDenoImportMapFiles } from "https://deno.land/x/deno_slack_hooks@1.3.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[]; }>