Resolve 47 of 52 LSP diagnostics: module-not-found errors for @mariozechner/pi-coding-agent and typebox, plus cascading implicit-any errors on callback parameters. Both packages are available on npm and provided at runtime by pi.
36 lines
1006 B
JSON
36 lines
1006 B
JSON
{
|
|
"name": "@evan/pi-lsp",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "LSP tools for pi: hover, definition, references, completions, symbols, diagnostics.",
|
|
"pi": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"bin": {
|
|
"pi-lsp": "./cli.ts"
|
|
},
|
|
"scripts": {
|
|
"lsp": "tsx ./cli.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "oxlint . --ignore-pattern=.direnv/**",
|
|
"test": "NODE_OPTIONS='--import=tsx' node --test test/unit/**/*.ts test/integration/**/*.ts",
|
|
"test:unit": "NODE_OPTIONS='--import=tsx' node --test test/unit/**/*.ts",
|
|
"test:integration": "NODE_OPTIONS='--import=tsx' node --test test/integration/**/*.ts"
|
|
},
|
|
"dependencies": {
|
|
"vscode-jsonrpc": "^8.2.1",
|
|
"vscode-languageserver-protocol": "^3.17.5"
|
|
},
|
|
"devDependencies": {
|
|
"@mariozechner/pi-coding-agent": "^0.72.0",
|
|
"@types/node": "^22.10.0",
|
|
"oxlint": "^1.62.0",
|
|
"tsx": "^4.19.2",
|
|
"typebox": "^1.1.37",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|