Skip to content

Commit fa969fb

Browse files
Barthélémy Ledouxlmiller1990
Barthélémy Ledoux
andauthored
fix: make webpack-dev-server a peer dependency (#15163)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
1 parent ea53307 commit fa969fb

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

npm/react/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"peerDependencies": {
104104
"@babel/core": "^=7.x",
105105
"@babel/preset-env": "^=7.x",
106+
"@cypress/webpack-dev-server": "*",
106107
"@types/react": "^16.9.16 || ^17.0.0",
107108
"babel-loader": "^=8.x",
108109
"cypress": "*",
@@ -141,6 +142,9 @@
141142
"@babel/preset-env": {
142143
"optional": true
143144
},
145+
"@cypress/webpack-dev-server": {
146+
"optional": true
147+
},
144148
"@types/react": {
145149
"optional": true
146150
},

npm/vue/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"watch": "tsc -w"
1313
},
1414
"dependencies": {
15-
"@cypress/webpack-dev-server": "0.0.0-development",
1615
"@vue/test-utils": "1.0.3",
1716
"unfetch": "4.1.0"
1817
},
@@ -21,6 +20,7 @@
2120
"@babel/plugin-transform-modules-commonjs": "7.10.4",
2221
"@babel/preset-env": "7.9.5",
2322
"@cypress/code-coverage": "3.8.1",
23+
"@cypress/webpack-dev-server": "0.0.0-development",
2424
"@intlify/vue-i18n-loader": "1.0.0",
2525
"@vue/cli-plugin-babel": "~4.4.0",
2626
"@vue/cli-service": "~4.4.0",
@@ -45,6 +45,7 @@
4545
"webpack": "4.42.0"
4646
},
4747
"peerDependencies": {
48+
"@cypress/webpack-dev-server": "*",
4849
"babel-loader": "8",
4950
"cypress": ">=4.5.0",
5051
"vue": "2.x"
@@ -68,6 +69,11 @@
6869
"cypress",
6970
"vue"
7071
],
72+
"peerDependenciesMeta": {
73+
"@cypress/webpack-dev-server": {
74+
"optional": true
75+
}
76+
},
7177
"publishConfig": {
7278
"access": "public",
7379
"registry": "http://registry.npmjs.org/"

0 commit comments

Comments
 (0)