Fix SQLite database path to match emdash init location
The emdash CLI creates the database at ./data.db relative to the workspace root (/app/emdash/data.db), but the Astro config was pointing to ./storage/data.db. This caused getEmDashEntry() to return null since the database used at runtime was empty. Change db.ts to use file:./data.db instead of file:./storage/data.db Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
test-node-modules/.bin/changeset
Executable file
21
test-node-modules/.bin/changeset
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules/@changesets/cli/node_modules:/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules/@changesets/node_modules:/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules/@changesets/cli/node_modules:/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules/@changesets/node_modules:/app/emdash/node_modules/.pnpm/@changesets+cli@2.29.8_@types+node@24.10.13/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../@changesets/cli/bin.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../@changesets/cli/bin.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/em
Executable file
21
test-node-modules/.bin/em
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/packages/core/dist/cli/node_modules:/app/emdash/packages/core/dist/node_modules:/app/emdash/packages/core/node_modules:/app/emdash/packages/node_modules:/app/emdash/node_modules:/app/node_modules:/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/packages/core/dist/cli/node_modules:/app/emdash/packages/core/dist/node_modules:/app/emdash/packages/core/node_modules:/app/emdash/packages/node_modules:/app/emdash/node_modules:/app/node_modules:/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../emdash/dist/cli/index.mjs" "$@"
|
||||
else
|
||||
exec node "$basedir/../emdash/dist/cli/index.mjs" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/emdash
Executable file
21
test-node-modules/.bin/emdash
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/packages/core/dist/cli/node_modules:/app/emdash/packages/core/dist/node_modules:/app/emdash/packages/core/node_modules:/app/emdash/packages/node_modules:/app/emdash/node_modules:/app/node_modules:/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/packages/core/dist/cli/node_modules:/app/emdash/packages/core/dist/node_modules:/app/emdash/packages/core/node_modules:/app/emdash/packages/node_modules:/app/emdash/node_modules:/app/node_modules:/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../emdash/dist/cli/index.mjs" "$@"
|
||||
else
|
||||
exec node "$basedir/../emdash/dist/cli/index.mjs" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/knip
Executable file
21
test-node-modules/.bin/knip
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/bin/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/bin/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../knip/bin/knip.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../knip/bin/knip.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/knip-bun
Executable file
21
test-node-modules/.bin/knip-bun
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/bin/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/bin/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules/knip/node_modules:/app/emdash/node_modules/.pnpm/knip@5.84.1_@types+node@24.10.13_typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/bun" ]; then
|
||||
exec "$basedir/bun" "$basedir/../knip/bin/knip-bun.js" "$@"
|
||||
else
|
||||
exec bun "$basedir/../knip/bin/knip-bun.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/oxfmt
Executable file
21
test-node-modules/.bin/oxfmt
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules/oxfmt/bin/node_modules:/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules/oxfmt/node_modules:/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules/oxfmt/bin/node_modules:/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules/oxfmt/node_modules:/app/emdash/node_modules/.pnpm/oxfmt@0.34.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../oxfmt/bin/oxfmt" "$@"
|
||||
else
|
||||
exec node "$basedir/../oxfmt/bin/oxfmt" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/oxlint
Executable file
21
test-node-modules/.bin/oxlint
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules/oxlint/bin/node_modules:/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules/oxlint/node_modules:/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules/oxlint/bin/node_modules:/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules/oxlint/node_modules:/app/emdash/node_modules/.pnpm/oxlint@1.49.0_oxlint-tsgolint@0.15.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../oxlint/bin/oxlint" "$@"
|
||||
else
|
||||
exec node "$basedir/../oxlint/bin/oxlint" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/playwright
Executable file
21
test-node-modules/.bin/playwright
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules/@playwright/test/node_modules:/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules/@playwright/node_modules:/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules/@playwright/test/node_modules:/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules/@playwright/node_modules:/app/emdash/node_modules/.pnpm/@playwright+test@1.58.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../@playwright/test/cli.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../@playwright/test/cli.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/playwright-core
Executable file
21
test-node-modules/.bin/playwright-core
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/playwright-core@1.58.2/node_modules/playwright-core/node_modules:/app/emdash/node_modules/.pnpm/playwright-core@1.58.2/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/playwright-core@1.58.2/node_modules/playwright-core/node_modules:/app/emdash/node_modules/.pnpm/playwright-core@1.58.2/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../.pnpm/playwright-core@1.58.2/node_modules/playwright-core/cli.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../.pnpm/playwright-core@1.58.2/node_modules/playwright-core/cli.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/prettier
Executable file
21
test-node-modules/.bin/prettier
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/bin/node_modules:/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/node_modules:/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/bin/node_modules:/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/node_modules:/app/emdash/node_modules/.pnpm/prettier@3.8.1/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
||||
else
|
||||
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/tsc
Executable file
21
test-node-modules/.bin/tsc
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/bin/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/bin/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
||||
else
|
||||
exec node "$basedir/../typescript/bin/tsc" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/tsgo
Executable file
21
test-node-modules/.bin/tsgo
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/native-preview/bin/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/native-preview/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/native-preview/bin/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/native-preview/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules/@typescript/node_modules:/app/emdash/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260213.1/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../@typescript/native-preview/bin/tsgo.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../@typescript/native-preview/bin/tsgo.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/tsgolint
Executable file
21
test-node-modules/.bin/tsgolint
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules/oxlint-tsgolint/bin/node_modules:/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules/oxlint-tsgolint/node_modules:/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules/oxlint-tsgolint/bin/node_modules:/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules/oxlint-tsgolint/node_modules:/app/emdash/node_modules/.pnpm/oxlint-tsgolint@0.15.0/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../oxlint-tsgolint/bin/tsgolint.js" "$@"
|
||||
fi
|
||||
21
test-node-modules/.bin/tsserver
Executable file
21
test-node-modules/.bin/tsserver
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/bin/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/bin/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules/typescript/node_modules:/app/emdash/node_modules/.pnpm/typescript@6.0.0-beta/node_modules:/app/emdash/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
||||
else
|
||||
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user