ReviewOS

also looking at this

pantry-pm/pantry

chore(deps): update all non-major dependencies

#185
Closed chrisbbreuer wants to merge buddy-bot/update-non-major-updates-1757488178247 into main
10 files +301 -78

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

.github/workflows/precompile-php.ymlmodified+42-12
Changes to .github/workflows/precompile-php.yml
@@ -192,11 +192,24 @@ jobs:
192192 - name: Create tarball (Unix)
193193 if: matrix.platform != 'win32'
194194 run: |
195 # Ensure binaries directory exists and check for builds
196 if [ ! -d "binaries" ]; then
197 echo "❌ Binaries directory not found"
198 ls -la
199 exit 1
200 fi
201
195202 cd binaries
196203 BINARY_NAME="php-$-$-$-$"
204
205 echo "🔍 Looking for binary directory: $BINARY_NAME"
206 ls -la
207
197208 if [ -d "$BINARY_NAME" ]; then
198 # Create metadata file
199 echo '{"php_version":"$","platform":"$","arch":"$","config":"$","built_at":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' > "$BINARY_NAME/metadata.json"
209 # Create metadata file if it doesn't exist
210 if [ ! -f "$BINARY_NAME/metadata.json" ]; then
211 echo '{"php_version":"$","platform":"$","arch":"$","config":"$","built_at":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' > "$BINARY_NAME/metadata.json"
212 fi
200213
201214 # Create tarball
202215 tar -czf "$BINARY_NAME.tar.gz" "$BINARY_NAME"
@@ -204,24 +217,39 @@ jobs:
204217 ls -lh "$BINARY_NAME.tar.gz"
205218 else
206219 echo "❌ Binary directory not found: $BINARY_NAME"
220 echo "Available directories:"
221 ls -la
207222 exit 1
208223 fi
209224
210225 - name: Create tarball (Windows)
211226 if: matrix.platform == 'win32'
212227 run: |
228 # Ensure binaries directory exists and check for builds
229 if (-not (Test-Path -Path "binaries" -PathType Container)) {
230 Write-Host "❌ Binaries directory not found"
231 Get-ChildItem
232 exit 1
233 }
234
213235 cd binaries
214236 $BINARY_NAME = "php-$-$-$-$"
237
238 Write-Host "🔍 Looking for binary directory: $BINARY_NAME"
239 Get-ChildItem
240
215241 if (Test-Path -Path $BINARY_NAME -PathType Container) {
216 # Create metadata file
217 $metadata = @{
218 php_version = "${{ matrix.php_version }}"
219 platform = "$"
220 arch = "$"
221 config = "$"
222 built_at = (Get-Date -Format "yyyy-MM-ddTHH:mm:ssZ")
223 } | ConvertTo-Json
224 $metadata | Out-File -FilePath "$BINARY_NAME\metadata.json" -Encoding UTF8
242 # Create metadata file if it doesn't exist
243 if (-not (Test-Path -Path "$BINARY_NAME\metadata.json")) {
244 $metadata = @{
245 php_version = "$"
246 platform = "$"
247 arch = "$"
248 config = "$"
249 built_at = (Get-Date -Format "yyyy-MM-ddTHH:mm:ssZ")
250 } | ConvertTo-Json
251 $metadata | Out-File -FilePath "$BINARY_NAME\metadata.json" -Encoding UTF8
252 }
225253
226254 # Create zip archive (Windows equivalent of tarball)
227255 Compress-Archive -Path $BINARY_NAME -DestinationPath "$BINARY_NAME.zip" -Force
@@ -229,6 +257,8 @@ jobs:
229257 Get-ChildItem "$BINARY_NAME.zip" | Format-List Name, Length
230258 } else {
231259 Write-Host "❌ Binary directory not found: $BINARY_NAME"
260 Write-Host "Available directories:"
261 Get-ChildItem
232262 exit 1
233263 }
234264
@@ -691,7 +721,7 @@ jobs:
691721 echo " - Manifest file size: $(stat -c%s manifest.json 2>/dev/null || stat -f%z manifest.json) bytes"
692722
693723 - name: Create GitHub Release
694 uses: softprops/action-gh-release@v1
724 uses: softprops/action-gh-release@v2.3.3
695725 with:
696726 tag_name: binaries-${{ github.run_number }}
697727 name: PHP Binaries - Build ${{ github.run_number }}
package.jsonmodified+12-19
Changes to package.json
@@ -17,43 +17,36 @@
1717 "keywords": ["homebrew", "pkgx", "bun", "package"],
1818 "scripts": {
1919 "build": "for dir in packages/*; do if [ -f \"$dir/package.json\" ]; then echo \"Building $dir\" && bun run --cwd $dir build; fi; done",
20 "fresh": "bunx rimraf node_modules/ bun.lock && bun i",
21 "test": "bun test",
2220 "lint": "bunx --bun eslint .",
2321 "lint:fix": "bunx --bun eslint . --fix",
24 "changelog": "bunx logsmith --verbose",
25 "changelog:generate": "bunx logsmith --output CHANGELOG.md",
26 "release": "bun run changelog:generate && bunx bumpx prompt --recursive",
27 "postinstall": "bunx git-hooks",
22 "fresh": "bunx rimraf node_modules/ bun.lock && bun i",
23 "changelog": "bunx --bun changelogen --output CHANGELOG.md",
24 "release": "bun run changelog && bunx --bun bumpp -r --all",
25 "test": "bun test",
2826 "dev:docs": "bun vitepress dev docs",
2927 "build:docs": "bun vitepress build docs",
3028 "preview:docs": "bun vitepress preview docs",
3129 "typecheck": "bun --bun tsc --noEmit"
3230 },
3331 "devDependencies": {
34 "@stacksjs/bumpx": "^0.1.84",
3532 "@stacksjs/docs": "^0.70.23",
3633 "@stacksjs/eslint-config": "^4.14.0-beta.3",
37 "@stacksjs/gitlint": "^0.1.5",
3834 "@stacksjs/launchpad": "workspace:*",
39 "@stacksjs/logsmith": "^0.1.18",
40 "@types/bun": "^1.2.22",
41 "buddy-bot": "^0.9.7",
42 "bun-git-hooks": "^0.2.19",
35 "@types/bun": "^1.2.20",
36 "buddy-bot": "^0.8.8",
37 "bumpp": "^10.2.3",
4338 "bun-plugin-dtsx": "0.21.12",
39 "changelogen": "^0.6.2",
40 "lint-staged": "^15.5.2",
41 "simple-git-hooks": "^2.13.1",
4442 "typescript": "^5.9.2"
4543 },
4644 "overrides": {
4745 "@stacksjs/dtsx": "0.9.5",
4846 "unconfig": "0.3.10"
4947 },
50 "git-hooks": {
51 "pre-commit": {
52 "staged-lint": {
53 "*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix"
54 }
55 },
56 "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
48 "lint-staged": {
49 "*.{js,ts}": "bunx --bun eslint . --fix"
5750 },
5851 "workspaces": [
5952 "packages/*"
packages/launchpad/package.jsonmodified+2-2
Changes to packages/launchpad/package.json
@@ -2,7 +2,7 @@
22 "name": "@stacksjs/launchpad",
33 "type": "module",
44 "version": "0.6.4",
5 "packageManager": "bun@1.2.21",
5 "packageManager": "bun",
66 "description": "Like Homebrew, but faster.",
77 "author": "Chris Breuer <chris@stacksjs.org>",
88 "license": "MIT",
@@ -64,7 +64,7 @@
6464 "typecheck": "bun --bun tsc --noEmit --skipLibCheck"
6565 },
6666 "dependencies": {
67 "bunfig": "^0.15.0",
67 "bunfig": "^0.11.1",
6868 "cac": "^6.7.14",
6969 "ts-pkgx": "^0.4.74"
7070 },