From 4d1952de443c45bf5ccba9224e85497e4962f338 Mon Sep 17 00:00:00 2001 From: Jeronimo Ekerdt <59717490+jeronimoek@users.noreply.github.com> Date: Tue, 14 Mar 2023 00:21:44 -0300 Subject: [PATCH] Convert to esm (#5) * fix: convert to esm * fix: update markdown-vscode-contributions to v1.0.2 * fix: add package.json type * fix: update version * fix: minor import fix --- node_modules/.package-lock.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index.js | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 99629cb..5089827 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "markdown-vscode-contributions-action", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index cb841d5..11317f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "markdown-vscode-contributions-action", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "markdown-vscode-contributions-action", - "version": "1.0.4", + "version": "1.0.5", "license": "MIT", "dependencies": { "@actions/core": "1.10.0", diff --git a/package.json b/package.json index f32eec2..ddc985f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdown-vscode-contributions-action", - "version": "1.0.4", + "version": "1.0.5", "description": "Github Action that updates a markdown file using the Markdown VSCode Contributions package", "license": "MIT", "type": "module", diff --git a/src/index.js b/src/index.js index c378269..63d9865 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,6 @@ import core from "@actions/core"; import { markdownVscodeContributions } from "markdown-vscode-contributions"; -import git from "./helpers/git"; +import git from "./helpers/git.js"; async function run() { try { @@ -55,7 +55,6 @@ async function run() { "Markdown hasn't changed and skip-on-no-changes is enabled so we skip this step" ); core.setOutput("skipped", "true"); - return; }