@pubm/plugin-brew 0.4.6 → 0.4.7

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.
@@ -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.6",
3
+ "version": "0.4.7",
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 src/index.ts --outdir dist --target node --format esm && bunx tsc --project tsconfig.build.json",
18
+ "build": "bun run ./build.ts",
19
19
  "check": "biome check",
20
20
  "typecheck": "tsc --noEmit",
21
21
  "test": "vitest --run --passWithNoTests",