also looking at this
chore(deps): update all non-major dependencies
#182
10 files
+465
-910
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.
| @@ -248,11 +248,14 @@ jobs: | ||
| 248 | 248 | REQUIRED_EXTENSIONS=( |
| 249 | 249 | "Core" "date" "hash" "json" "pcre" "Reflection" "SPL" "standard" |
| 250 | 250 | "mbstring" "iconv" "filter" "ctype" "tokenizer" "session" "fileinfo" |
| 251 | "opcache" "phar" "dom" "xml" "xmlreader" "xmlwriter" "simplexml" | |
| 251 | "phar" "dom" "xml" "xmlreader" "xmlwriter" "simplexml" | |
| 252 | 252 | "curl" "openssl" "zip" "zlib" "calendar" "ftp" "pcntl" "posix" |
| 253 | 253 | "shmop" "sockets" "exif" "bcmath" "bz2" "gettext" "readline" |
| 254 | 254 | ) |
| 255 | 255 | |
| 256 | # Define Zend extensions that need special checking | |
| 257 | ZEND_EXTENSIONS=("opcache") | |
| 258 | ||
| 256 | 259 | # Test each required extension |
| 257 | 260 | echo "🧪 Testing essential extensions..." |
| 258 | 261 | MISSING_EXTENSIONS=() |
| @@ -266,6 +269,17 @@ jobs: | ||
| 266 | 269 | fi |
| 267 | 270 | done |
| 268 | 271 | |
| 272 | # Test Zend extensions separately | |
| 273 | for ext in "${ZEND_EXTENSIONS[@]}"; do | |
| 274 | EXT_LOADED=$(binaries/$BINARY_NAME/bin/php -r "echo function_exists('opcache_get_status') ? '1' : '0';") | |
| 275 | if [ "$EXT_LOADED" = "1" ]; then | |
| 276 | echo "✅ $ext: LOADED" | |
| 277 | else | |
| 278 | echo "❌ $ext: MISSING" | |
| 279 | MISSING_EXTENSIONS+=("$ext") | |
| 280 | fi | |
| 281 | done | |
| 282 | ||
| 269 | 283 | # Check if any essential extensions are missing |
| 270 | 284 | if [ ${#MISSING_EXTENSIONS[@]} -gt 0 ]; then |
| 271 | 285 | echo "❌ Critical extensions missing: ${MISSING_EXTENSIONS[*]}" |
| @@ -374,11 +388,14 @@ jobs: | ||
| 374 | 388 | $REQUIRED_EXTENSIONS = @( |
| 375 | 389 | "Core", "date", "hash", "json", "pcre", "Reflection", "SPL", "standard", |
| 376 | 390 | "mbstring", "iconv", "filter", "ctype", "tokenizer", "session", "fileinfo", |
| 377 | "opcache", "phar", "dom", "xml", "xmlreader", "xmlwriter", "simplexml", | |
| 378 | "curl", "openssl", "zip", "zlib", "calendar", "ftp", "pcntl", "posix", | |
| 391 | "phar", "dom", "xml", "xmlreader", "xmlwriter", "simplexml", | |
| 392 | "curl", "openssl", "zip", "zlib", "calendar", "ftp", | |
| 379 | 393 | "shmop", "sockets", "exif", "bcmath", "bz2", "gettext", "readline" |
| 380 | 394 | ) |
| 381 | 395 | |
| 396 | # Define Zend extensions that need special checking | |
| 397 | $ZEND_EXTENSIONS = @("opcache") | |
| 398 | ||
| 382 | 399 | # Test each required extension |
| 383 | 400 | Write-Host "🧪 Testing essential extensions..." |
| 384 | 401 | $MISSING_EXTENSIONS = @() |
| @@ -392,6 +409,17 @@ jobs: | ||
| 392 | 409 | } |
| 393 | 410 | } |
| 394 | 411 | |
| 412 | # Test Zend extensions separately | |
| 413 | foreach ($ext in $ZEND_EXTENSIONS) { | |
| 414 | $extLoaded = & $PHP -r "echo function_exists('opcache_get_status') ? '1' : '0';" | |
| 415 | if ($extLoaded -eq "1") { | |
| 416 | Write-Host "✅ $ext`: LOADED" | |
| 417 | } else { | |
| 418 | Write-Host "❌ $ext`: MISSING" | |
| 419 | $MISSING_EXTENSIONS += $ext | |
| 420 | } | |
| 421 | } | |
| 422 | ||
| 395 | 423 | # Check if any essential extensions are missing |
| 396 | 424 | if ($MISSING_EXTENSIONS.Count -gt 0) { |
| 397 | 425 | Write-Host "❌ Critical extensions missing: $($MISSING_EXTENSIONS -join ', ')" |
| @@ -665,7 +693,7 @@ jobs: | ||
| 665 | 693 | echo " - Manifest file size: $(stat -c%s manifest.json 2>/dev/null || stat -f%z manifest.json) bytes" |
| 666 | 694 | |
| 667 | 695 | - name: Create GitHub Release |
| 668 | uses: softprops/action-gh-release@v1 | |
| 696 | uses: softprops/action-gh-release@v2.3.3 | |
| 669 | 697 | with: |
| 670 | 698 | tag_name: binaries-${{ github.run_number }} |
| 671 | 699 | name: PHP Binaries - Build ${{ github.run_number }} |
| @@ -17,43 +17,36 @@ | ||
| 17 | 17 | "keywords": ["homebrew", "pkgx", "bun", "package"], |
| 18 | 18 | "scripts": { |
| 19 | 19 | "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", | |
| 22 | 20 | "lint": "bunx --bun eslint .", |
| 23 | 21 | "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", | |
| 28 | 26 | "dev:docs": "bun vitepress dev docs", |
| 29 | 27 | "build:docs": "bun vitepress build docs", |
| 30 | 28 | "preview:docs": "bun vitepress preview docs", |
| 31 | 29 | "typecheck": "bun --bun tsc --noEmit" |
| 32 | 30 | }, |
| 33 | 31 | "devDependencies": { |
| 34 | "@stacksjs/bumpx": "^0.1.78", | |
| 35 | 32 | "@stacksjs/docs": "^0.70.23", |
| 36 | 33 | "@stacksjs/eslint-config": "^4.14.0-beta.3", |
| 37 | "@stacksjs/gitlint": "^0.1.5", | |
| 38 | 34 | "@stacksjs/launchpad": "workspace:*", |
| 39 | "@stacksjs/logsmith": "^0.1.18", | |
| 40 | 35 | "@types/bun": "^1.2.21", |
| 41 | "buddy-bot": "^0.9.5", | |
| 42 | "bun-git-hooks": "^0.2.19", | |
| 36 | "buddy-bot": "^0.8.8", | |
| 37 | "bumpp": "^10.2.3", | |
| 43 | 38 | "bun-plugin-dtsx": "0.21.12", |
| 39 | "changelogen": "^0.6.2", | |
| 40 | "lint-staged": "^15.5.2", | |
| 41 | "simple-git-hooks": "^2.13.1", | |
| 44 | 42 | "typescript": "^5.9.2" |
| 45 | 43 | }, |
| 46 | 44 | "overrides": { |
| 47 | 45 | "@stacksjs/dtsx": "0.9.5", |
| 48 | 46 | "unconfig": "0.3.10" |
| 49 | 47 | }, |
| 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" | |
| 57 | 50 | }, |
| 58 | 51 | "workspaces": [ |
| 59 | 52 | "packages/*" |
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | "name": "@stacksjs/launchpad", |
| 3 | 3 | "type": "module", |
| 4 | 4 | "version": "0.6.4", |
| 5 | "packageManager": "bun@1.2.21", | |
| 5 | "packageManager": "bun", | |
| 6 | 6 | "description": "Like Homebrew, but faster.", |
| 7 | 7 | "author": "Chris Breuer <chris@stacksjs.org>", |
| 8 | 8 | "license": "MIT", |
| @@ -64,7 +64,7 @@ | ||
| 64 | 64 | "typecheck": "bun --bun tsc --noEmit --skipLibCheck" |
| 65 | 65 | }, |
| 66 | 66 | "dependencies": { |
| 67 | "bunfig": "^0.15.0", | |
| 67 | "bunfig": "^0.11.1", | |
| 68 | 68 | "cac": "^6.7.14", |
| 69 | 69 | "ts-pkgx": "^0.4.65" |
| 70 | 70 | }, |