Skip to content

Commit 58a5112

Browse files
yarin-magclaude
andcommitted
fix(release): update bin wrapper path from dist/cli.js to dist/cli/index.js
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fe64356 commit 58a5112

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/build-release.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if not "%NODE_MAJOR%"=="20" (
8989
echo Fix: https://nodejs.org/en/download 1>&2
9090
exit /b 1
9191
)
92-
node "%~dp0..\dist\cli.js" %*
92+
node "%~dp0..\dist\cli\index.js" %*
9393
'@ | Set-Content "$ReleaseDir\bin\marionette.cmd" -Encoding ascii
9494

9595
# sh wrapper for Git Bash / WSL users on Windows
@@ -102,7 +102,7 @@ if [ "$NODE_MAJOR" != "20" ]; then
102102
echo "Fix: nvm install 20 && nvm use 20 or https://nodejs.org/en/download" >&2
103103
exit 1
104104
fi
105-
exec node "$(dirname "$0")/../dist/cli.js" "$@"
105+
exec node "$(dirname "$0")/../dist/cli/index.js" "$@"
106106
'@ | Set-Content "$ReleaseDir\bin\marionette" -Encoding ascii
107107

108108
# ── 6. Version file ───────────────────────────────────────────────────────────

scripts/build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fi
116116
# Resolve symlinks so dirname points to the real bin/ directory, not the symlink location
117117
SELF="$0"
118118
while [ -L "$SELF" ]; do SELF="$(readlink "$SELF")"; done
119-
exec node "$(dirname "$SELF")/../dist/cli.js" "$@"
119+
exec node "$(dirname "$SELF")/../dist/cli/index.js" "$@"
120120
WRAPPER
121121
chmod +x "${RELEASE_DIR}/bin/marionette"
122122

@@ -130,7 +130,7 @@ if not "%NODE_MAJOR%"=="20" (
130130
echo Fix: https://nodejs.org/en/download 1>&2
131131
exit /b 1
132132
)
133-
node "%~dp0..\dist\cli.js" %*
133+
node "%~dp0..\dist\cli\index.js" %*
134134
WRAPPER
135135

136136
# ── 7. Version file ───────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)