@detent/cli 0.1.0 → 0.3.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.
Files changed (1) hide show
  1. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@detent/cli",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Run GitHub Actions locally, intelligently parse errors, and troubleshoot with parallel Claude iterations",
5
5
  "author": "handleui",
6
6
  "repository": {
@@ -39,6 +39,7 @@
39
39
  "build": "sh -c 'VERSION=$(node -p \"require(\\\"./package.json\\\").version\") && go build -ldflags \"-X github.com/detent/cli/cmd.Version=$VERSION\" -o dist/dt'",
40
40
  "clean": "rm -rf dist bin",
41
41
  "prepare-release": "npm run clean && mkdir -p bin",
42
+ "build-binaries": "sh -c 'npm run prepare-release && VERSION=$(node -p \"require(\\\"./package.json\\\").version\") && for platform in linux/amd64 darwin/arm64 windows/amd64; do GOOS=${platform%/*} GOARCH=${platform#*/} OUTPUT=bin/dt-${platform%/*}-${platform#*/}; [ \"${platform%/*}\" = \"windows\" ] && OUTPUT=\"${OUTPUT}.exe\"; echo \"Building for $platform...\"; CGO_ENABLED=0 GOOS=${platform%/*} GOARCH=${platform#*/} go build -trimpath -ldflags \"-s -w -X github.com/detent/cli/cmd.Version=$VERSION\" -o \"$OUTPUT\"; done'",
42
43
  "postinstall": "node ./install.js",
43
44
  "preuninstall": "node ./uninstall.js"
44
45
  },
@@ -47,8 +48,7 @@
47
48
  "adm-zip": "^0.5.16"
48
49
  },
49
50
  "publishConfig": {
50
- "access": "public",
51
- "registry": "https://registry.npmjs.org/"
51
+ "access": "public"
52
52
  },
53
53
  "goBinary": {
54
54
  "name": "dt",