Skip to content

Commit a94839d

Browse files
fix: 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 b318868 commit a94839d

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

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",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)