@elizaos/capacitor-gateway 1.0.0 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ android {
30
30
  repositories {
31
31
  google()
32
32
  maven {
33
- url = uri(rootProject.ext.mavenCentralMirrorUrl)
33
+ url = uri(rootProject.ext.has('mavenCentralMirrorUrl') ? rootProject.ext.mavenCentralMirrorUrl : 'https://repo.maven.apache.org/maven2')
34
34
  }
35
35
  mavenCentral()
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/capacitor-gateway",
3
- "version": "1.0.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "Connects the app to an Eliza Gateway with discovery, RPC, and realtime events.",
5
5
  "keywords": [
6
6
  "gateway",
@@ -26,51 +26,48 @@
26
26
  "dist/",
27
27
  "ios/Sources/",
28
28
  "ios/Plugin.xcodeproj/",
29
- "*.podspec"
29
+ "*.podspec",
30
+ "dist"
30
31
  ],
31
32
  "author": "elizaOS",
32
33
  "license": "MIT",
33
34
  "dependencies": {
34
- "@elizaos/app-core": "2.0.0-alpha.537"
35
+ "@elizaos/app-core": "2.0.0-beta.1"
35
36
  },
36
37
  "repository": {
37
38
  "type": "git",
38
39
  "url": "https://github.com/elizaOS/eliza"
39
40
  },
40
41
  "scripts": {
41
- "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
42
+ "verify": "bun run verify:ios && bun run verify:android && bun run verify:web",
42
43
  "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
43
44
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
44
- "verify:web": "npm run build",
45
- "lint": "npm run eslint && npm run prettier -- --check && bash -c 'if command -v swiftlint >/dev/null 2>&1; then npm run swiftlint -- lint; fi'",
46
- "fmt": "npm run eslint -- --fix && npm run prettier -- --write && bash -c 'if command -v swiftlint >/dev/null 2>&1; then npm run swiftlint -- lint --fix; fi'",
47
- "eslint": "eslint . --ext ts --config eslint.config.mjs",
48
- "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
45
+ "verify:web": "bun run build",
46
+ "lint": "bunx @biomejs/biome check . && bash -c 'if command -v swiftlint >/dev/null 2>&1; then bun run swiftlint -- lint; fi'",
47
+ "lint:check": "bunx @biomejs/biome check .",
48
+ "fmt": "bunx @biomejs/biome check --write --unsafe . && bash -c 'if command -v swiftlint >/dev/null 2>&1; then bun run swiftlint -- lint --fix; fi'",
49
+ "format": "bunx @biomejs/biome format --write .",
50
+ "format:check": "bunx @biomejs/biome format .",
49
51
  "swiftlint": "node-swiftlint",
50
52
  "docgen": "docgen --api GatewayPlugin --output-readme README.md --output-json dist/docs.json",
51
- "build": "npm run clean && tsc && rollup -c rollup.config.mjs",
52
- "build:docs": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
53
- "clean": "rimraf ./dist",
53
+ "build": "bun run clean && tsc && bun --bun rollup -c rollup.config.mjs",
54
+ "build:docs": "bun run clean && bun run docgen && tsc && bun --bun rollup -c rollup.config.mjs",
55
+ "clean": "node ../../../scripts/rm-path-recursive.mjs dist",
54
56
  "watch": "tsc --watch",
55
- "prepublishOnly": "npm run build"
57
+ "prepublishOnly": "bun run build"
56
58
  },
57
59
  "devDependencies": {
60
+ "@biomejs/biome": "^2.4.14",
58
61
  "@capacitor/android": "^8.0.0",
59
62
  "@capacitor/cli": "^8.0.0",
60
63
  "@capacitor/core": "^8.3.1",
61
64
  "@capacitor/docgen": "^0.3.0",
62
65
  "@capacitor/ios": "^8.0.0",
63
- "@ionic/eslint-config": "^0.4.0",
64
- "@ionic/prettier-config": "^4.0.0",
65
66
  "@ionic/swiftlint-config": "^2.0.0",
66
- "@typescript-eslint/eslint-plugin": "^8.22.0",
67
- "@typescript-eslint/parser": "^8.22.0",
68
- "eslint": "^10.0.0",
69
- "prettier": "^3.8.3",
70
67
  "rimraf": "^6.0.0",
71
68
  "rollup": "^4.60.2",
72
69
  "swiftlint": "^2.0.0",
73
- "typescript": "^6.0.0"
70
+ "typescript": "^6.0.3"
74
71
  },
75
72
  "peerDependencies": {
76
73
  "@capacitor/core": "^8.3.1"