From 6d701d2fea07198807351c7c4856001c0f1ebffb Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 20 Jan 2022 09:11:37 +0100 Subject: [fix] ensure that test.pyright installs pyright nodejs.ensure only sets up NVM if there isn't a system-wide installation of Node that matches our NODE_MINIMUM_VERSION. The ubuntu image in the CI comes with an up to date node version, so pyright from .nvm_packages is never installed. This commit fixes this by introducing a package.json file. --- package.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 package.json (limited to 'package.json') diff --git a/package.json b/package.json new file mode 100644 index 000000000..187d17a4b --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "pyright": "^1.1.212" + } +} -- cgit v1.2.3 From cac03529860e0fd19585b35a66f5de4f0ea0559d Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 21 Jan 2022 17:34:25 +0100 Subject: [mod] remove .nvm_packages, add eslint to package.json --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') diff --git a/package.json b/package.json index 187d17a4b..e65e0585d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "eslint": "^8.7.0", "pyright": "^1.1.212" } } -- cgit v1.2.3