From 1a5266a2e26ffcd748bbdb4145d0da6471dd9258 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 2 Aug 2024 16:59:27 +0000 Subject: [PATCH] chore: bump runtime version (#90) * chore: bump runtime version * Put comments on new line to make healthscore succeed --- src/bundler/esbuild_bundler.ts | 3 ++- src/install_update.ts | 2 +- src/libraries.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bundler/esbuild_bundler.ts b/src/bundler/esbuild_bundler.ts index c147268..c6205c1 100644 --- a/src/bundler/esbuild_bundler.ts +++ b/src/bundler/esbuild_bundler.ts @@ -16,7 +16,8 @@ export const EsbuildBundler = { const result = await esbuild.build({ entryPoints: [options.entrypoint], platform: "browser", - target: "deno1", // TODO: the versions should come from the user defined input + // TODO: the versions should come from the user defined input + target: "deno1", format: "esm", // esm format stands for "ECMAScript module" bundle: true, // inline any imported dependencies into the file itself absWorkingDir: options.absWorkingDir, diff --git a/src/install_update.ts b/src/install_update.ts index fd0531e..0864799 100644 --- a/src/install_update.ts +++ b/src/install_update.ts @@ -42,7 +42,7 @@ export const updateDependencies = async () => { // project as a means to cache the changes if (!updateResp.error) { try { - // TODO :: This try/catch should be nested within createUpdateResp + // TODO: This try/catch should be nested within createUpdateResp // but doing so surfaces an issue with the --allow-run flag not // being used, despite its presence and success at this level runBuildHook(); diff --git a/src/libraries.ts b/src/libraries.ts index a2518eb..6820361 100644 --- a/src/libraries.ts +++ b/src/libraries.ts @@ -6,7 +6,7 @@ export const DENO_SLACK_HOOKS = "deno_slack_hooks"; export const DENO_SLACK_RUNTIME = "deno_slack_runtime"; export const VERSIONS = { - [DENO_SLACK_RUNTIME]: "1.1.1", + [DENO_SLACK_RUNTIME]: "1.1.2", [DENO_SLACK_HOOKS]: hooksVersion, };