mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-24 07:59:12 -05:00
dependency: declare @types/node as a peerdep and allow >=16
Instead of pushing a pinned version of of types/node as a dependency on all consumer packages, allow any version of types/node that is supported by Cypress. It looks like cypress supports node v16 and up, so I set the peerdep semver to match that.
This commit is contained in:
committed by
Sharmila Jesupaul
parent
7bcb0746e1
commit
338fb8491e
+4
-1
@@ -22,7 +22,6 @@
|
||||
"dependencies": {
|
||||
"@cypress/request": "^3.0.0",
|
||||
"@cypress/xvfb": "^1.2.4",
|
||||
"@types/node": "^18.17.5",
|
||||
"@types/sinonjs__fake-timers": "8.1.1",
|
||||
"@types/sizzle": "^2.3.2",
|
||||
"arch": "^2.2.0",
|
||||
@@ -84,6 +83,7 @@
|
||||
"@types/lodash": "4.14.168",
|
||||
"@types/minimatch": "3.0.3",
|
||||
"@types/mocha": "8.0.3",
|
||||
"@types/node": "^18.17.5",
|
||||
"@types/sinon": "9.0.9",
|
||||
"@types/sinon-chai": "3.2.5",
|
||||
"chai": "3.5.0",
|
||||
@@ -106,6 +106,9 @@
|
||||
"spawn-mock": "1.0.0",
|
||||
"strip-ansi": "6.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/node": ">=16"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"lib",
|
||||
|
||||
Reference in New Issue
Block a user