@pubm/plugin-brew 0.4.6 → 0.4.8
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/dist/brew-core.d.ts +3 -0
- package/dist/brew-tap.d.ts +3 -0
- package/dist/formula.d.ts +65 -0
- package/dist/git-identity.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +199 -34337
- package/dist/types.d.ts +13 -0
- package/package.json +2 -2
- package/dist/keyring.linux-x64-gnu-62qs1shy.node +0 -0
- package/dist/keyring.linux-x64-musl-n4e0vcy6.node +0 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReleaseAsset } from "@pubm/core";
|
|
2
|
+
export type AssetPlatformMatcher = (asset: ReleaseAsset) => boolean;
|
|
3
|
+
export interface BrewTapOptions {
|
|
4
|
+
formula: string;
|
|
5
|
+
repo?: string;
|
|
6
|
+
packageName?: string;
|
|
7
|
+
assetPlatforms?: Record<string, AssetPlatformMatcher>;
|
|
8
|
+
}
|
|
9
|
+
export interface BrewCoreOptions {
|
|
10
|
+
formula: string;
|
|
11
|
+
packageName?: string;
|
|
12
|
+
assetPlatforms?: Record<string, AssetPlatformMatcher>;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubm/plugin-brew",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "pubm plugin for Homebrew formula publishing workflows",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist/"
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "bun build
|
|
18
|
+
"build": "bun run ./build.ts",
|
|
19
19
|
"check": "biome check",
|
|
20
20
|
"typecheck": "tsc --noEmit",
|
|
21
21
|
"test": "vitest --run --passWithNoTests",
|
|
Binary file
|
|
Binary file
|