luizcorreia / spectral-language-server

Awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support Spectral is a flexible object linter with out of the box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI.
MIT License
17 stars 5 forks source link

Add vscode-spectral installation scripts to npm postinstall script #4

Closed williamgoulois closed 2 years ago

williamgoulois commented 2 years ago

Fixes #3 Fixes #2

This PR adds vscode-spectral-build.sh to postinstall scripts.

Because now node LTS version is 16.14.2 and vscode-spectral still needs ^12.13 I added the ignore-engines to yarn (I assume most people will have node > 12.13).

Note

For people coming from nvim and trying to setup this language server with nvim-lspconfig i recommend nvim-lsp-installer to install new language servers.

luizcorreia commented 2 years ago

Great job @williamgoulois . Thanks.