Move all .ts files to src/ to clean up the project root: - Created src/ directory and moved all TypeScript source and test files - Updated qmd shell wrapper to point to src/qmd.ts - Updated package.json scripts to use src/ paths - Updated documentation (CLAUDE.md, README.md) to reflect new structure - All imports remain relative within src/, no changes needed - Tests pass with same results (192 pass, 75 fail - existing issues) This improves project organization and makes the root directory cleaner. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
15 lines
408 B
Bash
Executable File
15 lines
408 B
Bash
Executable File
#!/bin/bash
|
|
# qmd - Quick Markdown Search
|
|
# Run with: ./qmd or symlink to PATH
|
|
|
|
# Resolve symlinks to find actual script location
|
|
SOURCE="${BASH_SOURCE[0]}"
|
|
while [ -L "$SOURCE" ]; do
|
|
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
|
|
SOURCE="$(readlink "$SOURCE")"
|
|
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
|
|
done
|
|
SCRIPT_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
|
|
|
|
exec bun "$SCRIPT_DIR/src/qmd.ts" "$@"
|