@capgo/capacitor-light-sensor 8.1.22 → 8.1.23
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 +0 -1
- package/package.json +5 -8
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@ Read the ambient light level from the device sensor in your Capacitor app, to ad
|
|
|
8
8
|
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
9
9
|
<h2><a href="https://capgo.app/register/?ref=plugin_light_sensor">➡️ Get started for free</a></h2>
|
|
10
10
|
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
-
<p><a href="https://capgo.app/consulting/?ref=plugin_light_sensor">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
12
11
|
</div>
|
|
13
12
|
|
|
14
13
|
> 🤖 **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_light_sensor) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-light-sensor` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-light-sensor to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_light_sensor) · [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_light_sensor)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-light-sensor",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.23",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"verify:web": "npm run build",
|
|
47
47
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
48
48
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
49
|
-
"eslint": "eslint
|
|
49
|
+
"eslint": "eslint",
|
|
50
50
|
"prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
51
51
|
"swiftlint": "node-swiftlint",
|
|
52
52
|
"docgen": "docgen --api LightSensorPlugin --output-readme README.md --output-json dist/docs.json --source-dir src",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"@capacitor/core": "^8.0.0",
|
|
66
66
|
"@capacitor/docgen": "^0.3.1",
|
|
67
67
|
"@capacitor/ios": "^8.0.0",
|
|
68
|
-
"@ionic/eslint-config": "^0.
|
|
68
|
+
"@ionic/eslint-config": "^0.5.0",
|
|
69
69
|
"@ionic/prettier-config": "^4.0.0",
|
|
70
70
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
71
71
|
"@types/node": "^24.10.1",
|
|
72
|
-
"eslint": "^
|
|
72
|
+
"eslint": "^10.0.0",
|
|
73
73
|
"eslint-plugin-import": "^2.31.0",
|
|
74
74
|
"prettier": "^3.6.2",
|
|
75
75
|
"prettier-plugin-java": "^2.7.7",
|
|
@@ -77,16 +77,13 @@
|
|
|
77
77
|
"rimraf": "^6.1.0",
|
|
78
78
|
"rollup": "^4.53.2",
|
|
79
79
|
"swiftlint": "^2.0.0",
|
|
80
|
-
"typescript": "^
|
|
80
|
+
"typescript": "^6.0.3"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@capacitor/core": "^8.0.0"
|
|
84
84
|
},
|
|
85
85
|
"prettier": "@ionic/prettier-config",
|
|
86
86
|
"swiftlint": "@ionic/swiftlint-config",
|
|
87
|
-
"eslintConfig": {
|
|
88
|
-
"extends": "@ionic/eslint-config/recommended"
|
|
89
|
-
},
|
|
90
87
|
"capacitor": {
|
|
91
88
|
"ios": {
|
|
92
89
|
"src": "ios"
|