3 ms·
> If you would have told me 5 years ago I'd need to install node and typescript in order to get auto completion for bash, I'd have called you crazy. This line
by mikewhy 6y ago
> If you would have told me 5 years ago I'd need to install node and typescript in order to get auto completion for bash, I'd have called you crazy.
This line right here means there's no runtime dependencies https://github.com/bash-lsp/bash-language-server/blob/fa5a65e1a00c663758cfb7ac153e830fda5b4743/package.json#L34 https://github.com/bash-lsp/bash-language-server/blob/fa5a65...
edit: turns out there are runtime dependencies (see child comments). Still, typescript is not one of them.
- usbline 6y agoNode is not a runtime now? :)
- mikewhy 6y agoNo more than Bash :):):) And either way, you don't need TypeScript to run this language server. You just need node. If you're not happy with that, well, consider this repo a reference and get cracking.
- dvlsg 6y agoI think there are runtime dependencies, just not at the root level of the repo. https://github.com/bash-lsp/bash-language-server/blob/fa5a65e1a00c663758cfb7ac153e830fda5b4743/server/package.json#L21 https://github.com/bash-lsp/bash-language-server/blob/fa5a65...
- mikewhy 6y agoAh, nice catch. I'll revise my comment.
- kazinator 6y agoDoesn't TypeScript work by transpilation to JavaScript? In which case, it is never a run-time dependency; JavaScript is.