diff options
author | Alan Pearce | 2020-01-31 13:26:04 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-31 13:26:04 +0100 |
commit | e8f3931738c8d893c659b559d4f4626f18e64644 (patch) | |
tree | 121942052af94fc27a0910a122a7771de3efe3c0 | |
parent | f72f70d4b379b4ec30307cfc3f89cb4d298ef9e5 (diff) | |
download | nixfiles-e8f3931738c8d893c659b559d4f4626f18e64644.tar.lz nixfiles-e8f3931738c8d893c659b559d4f4626f18e64644.tar.zst nixfiles-e8f3931738c8d893c659b559d4f4626f18e64644.zip |
javascript: add vscode-json-languageserver
-rw-r--r-- | user/packages/node2nix/node-packages.json | 1 | ||||
-rw-r--r-- | user/packages/node2nix/node-packages.nix | 63 | ||||
-rw-r--r-- | user/settings/javascript.nix | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/user/packages/node2nix/node-packages.json b/user/packages/node2nix/node-packages.json index 040d942b..1688f6b6 100644 --- a/user/packages/node2nix/node-packages.json +++ b/user/packages/node2nix/node-packages.json @@ -2,6 +2,7 @@ { "prettier_d": "git://github.com/josephfrazier/prettier_d#b53378114f1ac8331de8d5e49be2190385abbf79" }, "dockerfile-language-server-nodejs", "yaml-language-server", + "vscode-json-languageserver", { "pnpm": "4.8.0" }, "bunyan", "pino-pretty", diff --git a/user/packages/node2nix/node-packages.nix b/user/packages/node2nix/node-packages.nix index c27cd904..7cc36433 100644 --- a/user/packages/node2nix/node-packages.nix +++ b/user/packages/node2nix/node-packages.nix @@ -9176,6 +9176,15 @@ let sha512 = "perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg=="; }; }; + "vscode-jsonrpc-5.0.1" = { + name = "vscode-jsonrpc"; + packageName = "vscode-jsonrpc"; + version = "5.0.1"; + src = fetchurl { + url = "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-5.0.1.tgz"; + sha512 = "JvONPptw3GAQGXlVV2utDcHx0BiY34FupW/kI6mZ5x06ER5DdPG/tXWMVHjTNULF5uKPOUUD0SaXg5QaubJL0A=="; + }; + }; "vscode-languageserver-5.2.1" = { name = "vscode-languageserver"; packageName = "vscode-languageserver"; @@ -9185,6 +9194,15 @@ let sha512 = "GuayqdKZqAwwaCUjDvMTAVRPJOp/SLON3mJ07eGsx/Iq9HjRymhKWztX41rISqDKhHVVyFM+IywICyZDla6U3A=="; }; }; + "vscode-languageserver-6.1.0" = { + name = "vscode-languageserver"; + packageName = "vscode-languageserver"; + version = "6.1.0"; + src = fetchurl { + url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-6.1.0.tgz"; + sha512 = "Q5kUJegYclTZMnKUaEcxJK41Ozp6qJhhoFJYj0w8y8j9JXdKT479LE945QCKRvSgWfsqTSUmgsozVTUIwQQxHw=="; + }; + }; "vscode-languageserver-protocol-3.14.1" = { name = "vscode-languageserver-protocol"; packageName = "vscode-languageserver-protocol"; @@ -9194,6 +9212,15 @@ let sha512 = "IL66BLb2g20uIKog5Y2dQ0IiigW0XKrvmWiOvc0yXw80z3tMEzEnHjaGAb3ENuU7MnQqgnYJ1Cl2l9RvNgDi4g=="; }; }; + "vscode-languageserver-protocol-3.15.2" = { + name = "vscode-languageserver-protocol"; + packageName = "vscode-languageserver-protocol"; + version = "3.15.2"; + src = fetchurl { + url = "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.15.2.tgz"; + sha512 = "GdL05JKOgZ76RDg3suiGCl9enESM7iQgGw4x93ibTh4sldvZmakHmTeZ4iUApPPGKf6O3OVBtrsksBXnHYaxNg=="; + }; + }; "vscode-languageserver-textdocument-1.0.1-next.1" = { name = "vscode-languageserver-textdocument"; packageName = "vscode-languageserver-textdocument"; @@ -9925,6 +9952,42 @@ in bypassCache = true; reconstructLock = true; }; + vscode-json-languageserver = nodeEnv.buildNodePackage { + name = "vscode-json-languageserver"; + packageName = "vscode-json-languageserver"; + version = "1.2.2"; + src = fetchurl { + url = "https://registry.npmjs.org/vscode-json-languageserver/-/vscode-json-languageserver-1.2.2.tgz"; + sha512 = "oHOFcYJrWFTpS8fz6yRywHw7qNzuOvwhe4ocpwGxTWFvvTZWCXeGhpX6XO6OXh53Aad69qIKWEflza3/N/0h2A=="; + }; + dependencies = [ + sources."agent-base-4.3.0" + sources."debug-3.1.0" + sources."es6-promise-4.2.8" + sources."es6-promisify-5.0.0" + sources."http-proxy-agent-2.1.0" + sources."https-proxy-agent-2.2.4" + sources."jsonc-parser-2.2.0" + sources."ms-2.0.0" + sources."request-light-0.2.5" + sources."vscode-json-languageservice-3.4.12" + sources."vscode-jsonrpc-5.0.1" + sources."vscode-languageserver-6.1.0" + sources."vscode-languageserver-protocol-3.15.2" + sources."vscode-languageserver-textdocument-1.0.1-next.1" + sources."vscode-languageserver-types-3.15.1" + sources."vscode-nls-4.1.1" + sources."vscode-uri-2.1.1" + ]; + buildInputs = globalBuildInputs; + meta = { + description = "JSON language server"; + license = "MIT"; + }; + production = true; + bypassCache = true; + reconstructLock = true; + }; "pnpm-4.8.0" = nodeEnv.buildNodePackage { name = "pnpm"; packageName = "pnpm"; diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix index f155a7b2..9b25ce8e 100644 --- a/user/settings/javascript.nix +++ b/user/settings/javascript.nix @@ -41,6 +41,7 @@ in netlify-cli pino-pretty dockerfile-language-server-nodejs + vscode-json-languageserver yaml-language-server ]); |