chore: delete execa (#54107)

This commit is contained in:
Sem Bauke
2024-03-15 11:13:26 +01:00
committed by GitHub
parent c46113e280
commit 1b43f6d91b
3 changed files with 13 additions and 14 deletions
+13 -10
View File
@@ -1,12 +1,15 @@
const pkg = require('cypress/package.json');
const execa = require('execa');
const { spawn } = require('child_process');
const version = pkg.version;
const child = spawn('pnpm', ['run', 'cypress:install'], {
stdio: 'inherit'
});
(async () => {
console.log('Installing Cypress ' + version);
await execa('pnpm', ['run', 'cypress:install'], {
env: { CYPRESS_INSTALL_BINARY: version }
});
console.log('Cypress installed');
})();
child.on('close', code => {
if (code) {
console.error('Cypress installation failed with code:', code);
}
});
child.on('error', error => {
console.error('Cypress installation error:', error);
});
-1
View File
@@ -134,7 +134,6 @@
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "5.11.1",
"execa": "5.1.1",
"husky": "9.0.11",
"jest": "29.7.0",
"js-yaml": "3.14.1",
-3
View File
@@ -114,9 +114,6 @@ importers:
eslint-plugin-testing-library:
specifier: 5.11.1
version: 5.11.1(eslint@8.57.0)(typescript@5.2.2)
execa:
specifier: 5.1.1
version: 5.1.1
husky:
specifier: 9.0.11
version: 9.0.11