Basic example: https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample/client
tsc -p . npm install code .