@capgo/capacitor-file-compressor 8.0.29 → 8.0.31

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.
package/README.md CHANGED
@@ -37,6 +37,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/file-com
37
37
 
38
38
  ## Install
39
39
 
40
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
41
+
42
+ ```bash
43
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
44
+ ```
45
+
46
+ Then use the following prompt:
47
+
48
+ ```text
49
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-file-compressor` plugin in my project.
50
+ ```
51
+
52
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
53
+
40
54
  ```bash
41
55
  npm install @capgo/capacitor-file-compressor
42
56
  npx cap sync
@@ -18,7 +18,7 @@ import java.util.UUID;
18
18
  @CapacitorPlugin(name = "FileCompressor")
19
19
  public class FileCompressorPlugin extends Plugin {
20
20
 
21
- private final String pluginVersion = "8.0.29";
21
+ private final String pluginVersion = "8.0.31";
22
22
 
23
23
  @PluginMethod
24
24
  public void compressImage(PluginCall call) {
@@ -4,7 +4,7 @@ import UIKit
4
4
 
5
5
  @objc(FileCompressorPlugin)
6
6
  public class FileCompressorPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.0.29"
7
+ private let pluginVersion: String = "8.0.31"
8
8
  public let identifier = "FileCompressorPlugin"
9
9
  public let jsName = "FileCompressor"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-file-compressor",
3
- "version": "8.0.29",
3
+ "version": "8.0.31",
4
4
  "description": "Capacitor plugin for efficient image compression supporting PNG, JPEG, and WebP formats across iOS, Android, and Web platforms",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -44,8 +44,11 @@
44
44
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
45
45
  "clean": "rimraf ./dist",
46
46
  "watch": "tsc --watch",
47
- "prepublishOnly": "npm run build",
48
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
47
+ "prepublishOnly": "bun run build",
48
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
49
+ "example:install": "cd example-app && bun install --frozen-lockfile",
50
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
51
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
49
52
  },
50
53
  "devDependencies": {
51
54
  "@capacitor/android": "^8.0.0",