@kepler-app/homebrew-plugin 0.0.0-stage → 1.0.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.
- package/LICENSE +21 -0
- package/README.md +18 -2
- package/package.json +39 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Orbiq
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Kepler Homebrew Plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A [Kepler](https://kplr.space) plugin that surfaces outstanding Homebrew updates as a Look Ahead card and provides a `/brew` search mode to browse and upgrade outdated formulae and casks in your terminal.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Look Ahead card**: Checks `brew outdated --json=v2` (with `HOMEBREW_NO_AUTO_UPDATE=1`) and caches results locally. Hides automatically when up to date, dismisses until the outdated set changes, and jumps into `/brew` (or opens Terminal directly) on click/Return.
|
|
8
|
+
- **`/brew` search mode**: Filter outdated formulae and casks with `installed → current` versions, and run `brew upgrade` (all or single package) in Terminal, iTerm, or copy the command.
|
|
9
|
+
- **Settings**: Choose upgrade action (`Open in Terminal`, `Open in iTerm`, `Copy Command`), Look Ahead card click behavior, cask / `--greedy` inclusion, refresh interval, and custom `brew` executable path.
|
|
10
|
+
|
|
11
|
+
## Development
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm install
|
|
15
|
+
pnpm run typecheck
|
|
16
|
+
pnpm run install:local
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Requires Kepler with `ctx.process.exec`, `Action.searchMode`, and interactive Look Ahead plugin support (`@kepler-app/plugin-sdk` >= 1.3.0).
|
package/package.json
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kepler-app/homebrew-plugin",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "See outstanding Homebrew updates in Look Ahead and browse outdated formulae and casks.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"kepler",
|
|
8
|
+
"kepler-plugin",
|
|
9
|
+
"homebrew",
|
|
10
|
+
"brew"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"kepler": {
|
|
16
|
+
"apiVersion": 1,
|
|
17
|
+
"manifest": "dist/manifest.json",
|
|
18
|
+
"entry": "dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/orbiq-one/kepler-homebrew.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/orbiq-one/kepler-homebrew#readme",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@kepler-app/plugin-sdk": "file:../kepler-sdk"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"tsup": "^8.5.1",
|
|
34
|
+
"typescript": "~5.9.3"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "kepler-plugin bundle src/index.ts --out dist",
|
|
38
|
+
"install:local": "kepler-plugin bundle src/index.ts --out \"$HOME/Library/Application Support/Kepler/Plugins/homebrew.keplugin\"",
|
|
39
|
+
"dev": "tsup --watch",
|
|
40
|
+
"typecheck": "tsc --noEmit"
|
|
41
|
+
}
|
|
6
42
|
}
|