From 61477f9a9c511292ce841dfef3612a2e4420ce18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 21 Jun 2022 13:35:51 +0200 Subject: [PATCH] Revert deleted file use by external integration tests --- site/scripts/get-cypress-packages.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 site/scripts/get-cypress-packages.js diff --git a/site/scripts/get-cypress-packages.js b/site/scripts/get-cypress-packages.js new file mode 100644 index 000000000..549ceb897 --- /dev/null +++ b/site/scripts/get-cypress-packages.js @@ -0,0 +1,12 @@ +import { readFileSync } from 'fs' + +const packages = JSON.parse( + readFileSync(new URL('../package.json', import.meta.url).pathname) +) + +console.log('cypress@' + packages.devDependencies.cypress) +for (const key of Object.keys(packages.devDependencies).filter( + (k) => k !== 'cypress' && k.startsWith('cypress') +)) { + console.log(key + '@' + packages.devDependencies[key]) +}