@capgo/capacitor-file-picker 8.1.10 → 8.2.0

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.
@@ -50,7 +50,7 @@ import org.json.JSONException;
50
50
  )
51
51
  public class CapgoFilePickerPlugin extends Plugin {
52
52
 
53
- private final String pluginVersion = "8.1.10";
53
+ private final String pluginVersion = "8.2.0";
54
54
  private boolean readData = false;
55
55
 
56
56
  // MARK: - Pick Files
@@ -11,7 +11,7 @@ import UniformTypeIdentifiers
11
11
  */
12
12
  @objc(CapgoFilePickerPlugin)
13
13
  public class CapgoFilePickerPlugin: CAPPlugin, CAPBridgedPlugin {
14
- private let pluginVersion: String = "8.1.10"
14
+ private let pluginVersion: String = "8.2.0"
15
15
  public let identifier = "CapgoFilePickerPlugin"
16
16
  public let jsName = "CapgoFilePicker"
17
17
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-file-picker",
3
- "version": "8.1.10",
3
+ "version": "8.2.0",
4
4
  "description": "File picker Capacitor plugin - Pick files, images, videos, and directories",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -37,10 +37,10 @@
37
37
  "gallery"
38
38
  ],
39
39
  "scripts": {
40
- "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
40
+ "verify": "bun run verify:ios && bun run verify:android && bun run verify:web",
41
41
  "verify:ios": "xcodebuild -scheme CapgoCapacitorFilePicker -destination generic/platform=iOS",
42
42
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
43
- "verify:web": "npm run build",
43
+ "verify:web": "bun run build",
44
44
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
45
45
  "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
46
46
  "eslint": "eslint . --ext ts",
@@ -51,7 +51,13 @@
51
51
  "clean": "rimraf ./dist",
52
52
  "watch": "tsc --watch",
53
53
  "prepublishOnly": "npm run build",
54
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
54
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
55
+ "check:cap9-deprecated": "bun scripts/check-cap9-deprecated.mjs",
56
+ "example:install": "cd example-app && bun install --frozen-lockfile",
57
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
58
+ "capgo:app:add": "bunx @capgo/cli@latest app add app.capgo.file.picker --name \"Capgo File Picker\" --icon example-app/assets/capgo-icon.png",
59
+ "deploy:capgo:example": "bun run example:build && cd example-app && bunx @capgo/cli@latest bundle upload app.capgo.file.picker --path dist --channel production --package-json package.json,../package.json --node-modules node_modules,../node_modules --delta --no-key --ignore-checksum-check --version-exists-ok",
60
+ "changelog:ai": "node scripts/generate-ai-changelog.mjs"
55
61
  },
56
62
  "devDependencies": {
57
63
  "@capacitor/android": "^8.0.0",