Skip to content

Commit

Permalink
fix: remove dependency causing semantic-release to fail (#23142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachJW34 committed Aug 5, 2022
1 parent 5cfaf08 commit 20f89bf
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 802 deletions.
1 change: 1 addition & 0 deletions npm/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@cypress/angular",
"version": "0.0.0-development",
"description": "Test Angular Components using Cypress",
"private": true,
"main": "dist/index.js",
"scripts": {
"prebuild": "rimraf dist",
Expand Down
6 changes: 0 additions & 6 deletions npm/vue/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from 'cypress'
import { devServer } from '@cypress/webpack-dev-server'

export default defineConfig({
'viewportWidth': 500,
Expand All @@ -17,10 +16,5 @@ export default defineConfig({
bundler: 'vite',
framework: 'vue',
},
setupNodeEvents (on, config) {
require('@cypress/code-coverage/task')(on, config)

return config
},
},
})
1 change: 0 additions & 1 deletion npm/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
},
"devDependencies": {
"@cypress/code-coverage": "3.8.1",
"@cypress/mount-utils": "0.0.0-development",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
Expand Down
1 change: 0 additions & 1 deletion system-tests/lib/dep-installer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ export async function scaffoldCommonNodeModules () {
'babel-loader',
// Used for import { defineConfig } from 'cypress'
'cypress',
'@cypress/code-coverage',
'@cypress/webpack-dev-server',
'@packages/socket',
'@packages/ts',
Expand Down
5 changes: 0 additions & 5 deletions system-tests/projects/component-tests/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ module.exports = defineConfig({
devServer: {
bundler: 'webpack',
},
setupNodeEvents (on, config) {
require('@cypress/code-coverage/task')(on, config)

return config
},
},
})
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ module.exports = defineConfig({
devServer: {
bundler: 'webpack',
},
setupNodeEvents (on, config) {
require('@cypress/code-coverage/task')(on, config)

return config
},
},
})
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@ module.exports = defineConfig({
devServer: {
bundler: 'webpack',
},
setupNodeEvents (on, config) {
require('@cypress/code-coverage/task')(on, config)

return config
},
},
})
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module.exports = (on, config) => {
config.integrationFolder = 'tests/e2e'
config.testFiles = '**/*.spec.js'
// In the plugin @cypress/code-coverage this pattern is used
config.env.codeCoverageRegistered = 'true'

// test that browsers is an array
config.browsers.length
Expand Down
865 changes: 88 additions & 777 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 20f89bf

Please sign in to comment.