Skip to content

Commit 20f89bf

Browse files
authored
fix: remove dependency causing semantic-release to fail (#23142)
1 parent 5cfaf08 commit 20f89bf

File tree

9 files changed

+89
-802
lines changed

9 files changed

+89
-802
lines changed

npm/angular/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@cypress/angular",
33
"version": "0.0.0-development",
44
"description": "Test Angular Components using Cypress",
5+
"private": true,
56
"main": "dist/index.js",
67
"scripts": {
78
"prebuild": "rimraf dist",

npm/vue/cypress.config.ts

-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { defineConfig } from 'cypress'
2-
import { devServer } from '@cypress/webpack-dev-server'
32

43
export default defineConfig({
54
'viewportWidth': 500,
@@ -17,10 +16,5 @@ export default defineConfig({
1716
bundler: 'vite',
1817
framework: 'vue',
1918
},
20-
setupNodeEvents (on, config) {
21-
require('@cypress/code-coverage/task')(on, config)
22-
23-
return config
24-
},
2519
},
2620
})

npm/vue/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
1616
},
1717
"devDependencies": {
18-
"@cypress/code-coverage": "3.8.1",
1918
"@cypress/mount-utils": "0.0.0-development",
2019
"@rollup/plugin-commonjs": "^17.1.0",
2120
"@rollup/plugin-node-resolve": "^11.1.1",

system-tests/lib/dep-installer/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ export async function scaffoldCommonNodeModules () {
277277
'babel-loader',
278278
// Used for import { defineConfig } from 'cypress'
279279
'cypress',
280-
'@cypress/code-coverage',
281280
'@cypress/webpack-dev-server',
282281
'@packages/socket',
283282
'@packages/ts',

system-tests/projects/component-tests/cypress.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,5 @@ module.exports = defineConfig({
1010
devServer: {
1111
bundler: 'webpack',
1212
},
13-
setupNodeEvents (on, config) {
14-
require('@cypress/code-coverage/task')(on, config)
15-
16-
return config
17-
},
1813
},
1914
})

system-tests/projects/component-tests/cypressWithInvalidProjectId.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,5 @@ module.exports = defineConfig({
1010
devServer: {
1111
bundler: 'webpack',
1212
},
13-
setupNodeEvents (on, config) {
14-
require('@cypress/code-coverage/task')(on, config)
15-
16-
return config
17-
},
1813
},
1914
})

system-tests/projects/component-tests/cypressWithoutProjectId.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,5 @@ module.exports = defineConfig({
99
devServer: {
1010
bundler: 'webpack',
1111
},
12-
setupNodeEvents (on, config) {
13-
require('@cypress/code-coverage/task')(on, config)
14-
15-
return config
16-
},
1712
},
1813
})

system-tests/projects/migration-e2e-plugins-modify-config/cypress/plugins/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module.exports = (on, config) => {
22
config.integrationFolder = 'tests/e2e'
33
config.testFiles = '**/*.spec.js'
4-
// In the plugin @cypress/code-coverage this pattern is used
5-
config.env.codeCoverageRegistered = 'true'
64

75
// test that browsers is an array
86
config.browsers.length

yarn.lock

+88-777
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)