Add @capacitor/cli and @capacitor/android for native Android builds
Fixes 'npx cap: could not determine executable to run' and the Gradle 'No variants exist for :capacitor-android' error by tracking the Capacitor build tooling in package.json so it survives npm install. Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
parent
d3ae0672b7
commit
6dc7de9e5c
2 changed files with 20 additions and 0 deletions
18
package-lock.json
generated
18
package-lock.json
generated
|
|
@ -9,6 +9,7 @@
|
|||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@bitcoinerlab/secp256k1": "^1.2.0",
|
||||
"@capacitor/android": "^8.4.2",
|
||||
"@capacitor/camera": "^8.2.1",
|
||||
"@capacitor/core": "^8.4.2",
|
||||
"@capacitor/geolocation": "^8.2.0",
|
||||
|
|
@ -101,6 +102,7 @@
|
|||
"zod": "^3.25.71"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/cli": "^8.4.2",
|
||||
"@eslint/js": "^9.9.0",
|
||||
"@html-eslint/eslint-plugin": "^0.41.0",
|
||||
"@html-eslint/parser": "^0.41.0",
|
||||
|
|
@ -288,12 +290,28 @@
|
|||
"url": "https://paulmillr.com/funding/"
|
||||
}
|
||||
},
|
||||
"node_modules/@capacitor/android": {
|
||||
"version": "8.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@capacitor/android/-/android-8.4.2.tgz",
|
||||
"integrity": "sha512-bzf8XZ9C+ePgOQ+e+T0fnhHGH4aCNY494vvSQIF5w4AY07RwEmkFqZs1678DDSMH0hLSQpxEwXGFNUVcXO6bBA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@capacitor/camera": {
|
||||
"version": "8.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@capacitor/camera/-/camera-8.2.1.tgz",
|
||||
"integrity": "sha512-yq4TbVcv9Z91JLr7C5407s3rrXr/Dmk+Pr9FAVRn65s3Jg4iYabjwG4fVKUYlQL5TiUdBbZA3LiNAbUxJNcUkw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@capacitor/cli": {
|
||||
"version": "8.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-8.4.2.tgz",
|
||||
"integrity": "sha512-hE4HmpMdr5T8eQ++kGa1BKkdG2JLEvo1y1cj1kmFK78VB9dBp538oe1EZvzwupNGOl0ZueALotzL5wcXRD9w1Q==",
|
||||
"license": "MIT",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=22.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@capacitor/core": {
|
||||
"version": "8.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.4.2.tgz",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@bitcoinerlab/secp256k1": "^1.2.0",
|
||||
"@capacitor/android": "^8.4.2",
|
||||
"@capacitor/camera": "^8.2.1",
|
||||
"@capacitor/core": "^8.4.2",
|
||||
"@capacitor/geolocation": "^8.2.0",
|
||||
|
|
@ -105,6 +106,7 @@
|
|||
"zod": "^3.25.71"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/cli": "^8.4.2",
|
||||
"@eslint/js": "^9.9.0",
|
||||
"@html-eslint/eslint-plugin": "^0.41.0",
|
||||
"@html-eslint/parser": "^0.41.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue