Skip to content

Commit e02bdd7

Browse files
committed
chore(deps): drop cypress peer dependency
See #601. This package is also used in playwright tests. Remove the peer dependency to avaoid automatic installation of cypress. I also considered making it an optional dependency. But then it would still be installed by default. Signed-off-by: Max <[email protected]>
1 parent 2d8b49f commit e02bdd7

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

package-lock.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@
6666
"npm": "^10.0.0"
6767
},
6868
"homepage": "https://github.com/nextcloud/nextcloud-cypress",
69-
"peerDependencies": {
70-
"cypress": "^13.9.0"
71-
},
7269
"dependencies": {
7370
"dockerode": "^4.0.2",
7471
"fast-xml-parser": "^4.3.6",

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import packageJSON from './package.json' assert { type: 'json' }
1010

1111
const external = [
1212
...Object.keys(packageJSON.dependencies),
13-
...Object.keys(packageJSON.peerDependencies)
13+
...Object.keys(packageJSON.peerDependencies ?? {})
1414
]
1515

1616
const config = (input, output) => ({

0 commit comments

Comments
 (0)