Skip to content

Commit 99e4fe8

Browse files
fix: Cap8 peerDependency for pnpm compatibility
To fix the error below when using pnpm v10 (error on v10, warning on v9 and below) ERR_PNPM_INVALID_PEER_DEPENDENCY_SPECIFICATION  The peerDependencies field named '@capacitor/core' of package '@capacitor/geolocation' has an invalid value: 'next' The values in peerDependencies should be either a valid semver range, a `workspace:` spec, or a `catalog:` spec
1 parent 19f1518 commit 99e4fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/capacitor-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"typescript": "~5.4.5"
7373
},
7474
"peerDependencies": {
75-
"@capacitor/core": "next"
75+
"@capacitor/core": ">=8.0.0-alpha.2"
7676
},
7777
"prettier": "@ionic/prettier-config",
7878
"swiftlint": "@ionic/swiftlint-config",

0 commit comments

Comments
 (0)