3dbb3cb7b2
- discover.ts: Fix ignore package path handling for root '.' directories, add .pi-map.md to default ignore list - llm-extract.ts: Fix export regex to only match line-start exports and handle 'export async function', fix root package role to 'Project root' - init.ts: Minor cleanup - .gitignore: Add .pi-map.md - tests: 6 integration tests covering init, patch (small/large packages), validate (missing, orphaned, stale-signature detection) All 14 tests pass. TypeScript compiles clean.
41 lines
937 B
JSON
41 lines
937 B
JSON
{
|
|
"name": "pi-project-map",
|
|
"version": "0.1.0",
|
|
"description": "Pi skill for hierarchical project analysis — generates and maintains .pi-map.md files",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"project-map": "dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest",
|
|
"lint": "eslint src/**/*.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"keywords": [
|
|
"pi",
|
|
"skill",
|
|
"project-analysis",
|
|
"code-intelligence",
|
|
"agent-context"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"eslint": "^8.0.0",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"dependencies": {
|
|
"ignore": "^5.3.0",
|
|
"tree-sitter": "^0.21.0",
|
|
"tree-sitter-typescript": "^0.21.0"
|
|
}
|
|
}
|