diff --git a/CHANGELOG.md b/CHANGELOG.md index e9226844..90625d25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how * fix(lisp): Set up paths regardless of the working environment ([#386](../../pull/386)) * feat(cmds): Move `el2org` to docs subcommand ([#388](../../pull/388)) * fix(lisp): Report error only inside the command's execution ([#389](../../pull/389)) +* fix: Correct entry file name to `eask.js` instead of `eask` ([#397](../../pull/397)) ## 0.12.x > Released Dec 02, 2025 diff --git a/Easkfile b/Eask similarity index 100% rename from Easkfile rename to Eask diff --git a/bin/eask b/bin/eask index 27ee6f72..09f8cd8a 100755 --- a/bin/eask +++ b/bin/eask @@ -23,11 +23,11 @@ function _get_current_directory() elif realpath -e -L "${0}" &>/dev/null then CDIR="$(realpath -e -L "${0}")" - CDIR="${CDIR%/eask}" + CDIR="${CDIR%/eask.js}" fi } CDIR="$(pwd)" _get_current_directory -node "$CDIR/../eask" "$@" +node "$CDIR/../eask.js" "$@" diff --git a/bin/eask.bat b/bin/eask.bat index c9aa2e1b..b2e0767e 100644 --- a/bin/eask.bat +++ b/bin/eask.bat @@ -15,4 +15,4 @@ :: You should have received a copy of the GNU General Public License :: along with this program. If not, see . -node "%~dp0/../eask" %* +node "%~dp0/../eask.js" %* diff --git a/eask b/eask.js old mode 100755 new mode 100644 similarity index 100% rename from eask rename to eask.js diff --git a/package-lock.json b/package-lock.json index dae49a65..46e71c84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,13 +7,13 @@ "": { "name": "@emacs-eask/cli", "version": "0.12.5", - "license": "GPL-3.0", + "license": "GPL-3.0-or-later", "dependencies": { "which": "^6.0.0", "yargs": "^17.0.0" }, "bin": { - "eask": "eask" + "eask": "eask.js" }, "devDependencies": { "@yao-pkg/pkg": "^6.0.0", diff --git a/package.json b/package.json index 4622b18e..18672ddb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@emacs-eask/cli", "version": "0.12.5", "description": "A set of command-line tools to build Emacs packages", - "main": "eask", + "main": "eask.js", "scripts": { "test-unsafe": "cross-env ALLOW_UNSAFE=1 jest", "test-debug": "cross-env DEBUG=1 jest", @@ -17,7 +17,7 @@ "pkg-win-x64": "pkg package.json -t node*-win-x64 --output dist/eask --public" }, "bin": { - "eask": "./eask" + "eask": "./eask.js" }, "repository": { "type": "git",