fix(package-info): resolve package.json from any directory depth
- Replace hardcoded `../..` path resolution with walk-up algorithm that searches ancestor directories - Add `findPackageJson()` function to traverse directory tree until package.json is found - Import `existsSync` from fs module to check for file existence during traversal - Add comprehensive property-based tests to validate fix works at any directory depth - Bump version to 0.1.9 - Fixes bug where packageInfo() only worked when called from exactly 2 levels deep
A
alvin0 committed
bdc5b5cddcb1204a5333dfd0a3b9ae07f3aba40d
Parent: 4f6b30a