@capgo/capacitor-light-sensor 8.1.11 → 8.1.13

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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -37,6 +37,20 @@ Capacitor plugin for accessing the device's ambient light sensor.
37
37
 
38
38
  ## Installation
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-light-sensor` 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-light-sensor
42
56
  npx cap sync
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-light-sensor",
3
- "version": "8.1.11",
3
+ "version": "8.1.13",
4
4
  "description": "Capacitor plugin for accessing the device light sensor (Android only)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -53,8 +53,11 @@
53
53
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
54
54
  "clean": "rimraf ./dist",
55
55
  "watch": "tsc --watch",
56
- "prepublishOnly": "npm run build",
57
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
56
+ "prepublishOnly": "bun run build",
57
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
58
+ "example:install": "cd example-app && bun install --frozen-lockfile",
59
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
60
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
58
61
  },
59
62
  "devDependencies": {
60
63
  "@capacitor/android": "^8.0.0",