also looking at this
chore(deps): update all non-major dependencies
#33
7 files
+96
-77
| @@ -130,7 +130,7 @@ jobs: | ||
| 130 | 130 | |
| 131 | 131 | - name: Setup PHP and Composer (if needed) |
| 132 | 132 | if: ${{ hashFiles('composer.json') != '' }} |
| 133 | uses: shivammathur/setup-php@2.35.4 | |
| 133 | uses: shivammathur/setup-php@2.35.5 | |
| 134 | 134 | with: |
| 135 | 135 | php-version: '8.4' |
| 136 | 136 | tools: composer |
| @@ -248,7 +248,7 @@ jobs: | ||
| 248 | 248 | |
| 249 | 249 | - name: Setup PHP and Composer (if needed) |
| 250 | 250 | if: ${{ hashFiles('composer.json') != '' }} |
| 251 | uses: shivammathur/setup-php@2.35.4 | |
| 251 | uses: shivammathur/setup-php@2.35.5 | |
| 252 | 252 | with: |
| 253 | 253 | php-version: '8.4' |
| 254 | 254 | tools: composer |
| @@ -18,13 +18,13 @@ jobs: | ||
| 18 | 18 | runs-on: ubuntu-latest |
| 19 | 19 | |
| 20 | 20 | steps: |
| 21 | - uses: actions/checkout@v5 | |
| 21 | - uses: actions/checkout@v5.0.0 | |
| 22 | 22 | |
| 23 | 23 | - name: Install Bun |
| 24 | uses: oven-sh/setup-bun@v2 | |
| 24 | uses: oven-sh/setup-bun@v2.0.2 | |
| 25 | 25 | |
| 26 | 26 | - name: Use cached node_modules |
| 27 | uses: actions/cache@v4.2.4 | |
| 27 | uses: actions/cache@v4.3.0.3.0 | |
| 28 | 28 | with: |
| 29 | 29 | path: node_modules |
| 30 | 30 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -41,13 +41,13 @@ jobs: | ||
| 41 | 41 | runs-on: ubuntu-latest |
| 42 | 42 | |
| 43 | 43 | steps: |
| 44 | - uses: actions/checkout@v5 | |
| 44 | - uses: actions/checkout@v5.0.0 | |
| 45 | 45 | |
| 46 | 46 | - name: Install Bun |
| 47 | uses: oven-sh/setup-bun@v2 | |
| 47 | uses: oven-sh/setup-bun@v2.0.2 | |
| 48 | 48 | |
| 49 | 49 | - name: Use cached node_modules |
| 50 | uses: actions/cache@v4.2.4 | |
| 50 | uses: actions/cache@v4.3.0.3.0 | |
| 51 | 51 | with: |
| 52 | 52 | path: node_modules |
| 53 | 53 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -87,13 +87,13 @@ jobs: | ||
| 87 | 87 | POSTGRES_DB: test_db |
| 88 | 88 | |
| 89 | 89 | steps: |
| 90 | - uses: actions/checkout@v5 | |
| 90 | - uses: actions/checkout@v5.0.0 | |
| 91 | 91 | |
| 92 | 92 | - name: Install Bun |
| 93 | uses: oven-sh/setup-bun@v2 | |
| 93 | uses: oven-sh/setup-bun@v2.0.2 | |
| 94 | 94 | |
| 95 | 95 | - name: Use cached node_modules |
| 96 | uses: actions/cache@v4.2.4 | |
| 96 | uses: actions/cache@v4.3.0.3.0 | |
| 97 | 97 | with: |
| 98 | 98 | path: node_modules |
| 99 | 99 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -115,13 +115,13 @@ jobs: | ||
| 115 | 115 | runs-on: ubuntu-latest |
| 116 | 116 | |
| 117 | 117 | steps: |
| 118 | - uses: actions/checkout@v5 | |
| 118 | - uses: actions/checkout@v5.0.0 | |
| 119 | 119 | |
| 120 | 120 | - name: Install Bun |
| 121 | uses: oven-sh/setup-bun@v2 | |
| 121 | uses: oven-sh/setup-bun@v2.0.2 | |
| 122 | 122 | |
| 123 | 123 | - name: Use cached node_modules |
| 124 | uses: actions/cache@v4 | |
| 124 | uses: actions/cache@v4.3.0 | |
| 125 | 125 | with: |
| 126 | 126 | path: node_modules |
| 127 | 127 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -135,4 +135,4 @@ jobs: | ||
| 135 | 135 | run: bun run build |
| 136 | 136 | |
| 137 | 137 | - name: Publish Commit |
| 138 | run: bunx pkg-pr-new publish | |
| 138 | run: bunx pkg-pr-new publish "./packages/bun-query-builder" | |
| @@ -30,7 +30,7 @@ jobs: | ||
| 30 | 30 | run: bun install |
| 31 | 31 | |
| 32 | 32 | - name: Publish to npm |
| 33 | run: bun publish --access public | |
| 33 | run: ./scripts/publish.sh | |
| 34 | 34 | env: |
| 35 | 35 | BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 36 | 36 | |
| @@ -40,13 +40,13 @@ jobs: | ||
| 40 | 40 | GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
| 41 | 41 | |
| 42 | 42 | - name: Attach Binaries |
| 43 | uses: stacksjs/action-releaser@v1.1.0 | |
| 43 | uses: stacksjs/action-releaser@v1.2.6 | |
| 44 | 44 | with: |
| 45 | 45 | files: | |
| 46 | bin/query-builder-linux-x64 | |
| 47 | bin/query-builder-linux-arm64 | |
| 48 | bin/query-builder-windows-x64.exe | |
| 49 | bin/query-builder-darwin-x64 | |
| 50 | bin/query-builder-darwin-arm64 | |
| 46 | packages/bun-query-builder/bin/qbx-linux-x64.zip | |
| 47 | packages/bun-query-builder/bin/qbx-linux-arm64.zip | |
| 48 | packages/bun-query-builder/bin/qbx-windows-x64.zip | |
| 49 | packages/bun-query-builder/bin/qbx-darwin-x64.zip | |
| 50 | packages/bun-query-builder/bin/qbx-darwin-arm64.zip | |
| 51 | 51 | env: |
| 52 | 52 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| @@ -1,7 +1,8 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "bun-query-builder", |
| 3 | 3 | "type": "module", |
| 4 | "version": "0.1.2", | |
| 4 | "version": "0.1.5", | |
| 5 | "private": true, | |
| 5 | 6 | "description": "A simple yet performant query builder for TypeScript. Built with Bun.", |
| 6 | 7 | "author": "Chris Breuer <chris@stacksjs.org>", |
| 7 | 8 | "license": "MIT", |
| @@ -40,51 +41,46 @@ | ||
| 40 | 41 | "dist" |
| 41 | 42 | ], |
| 42 | 43 | "scripts": { |
| 43 | "build": "bun --bun build.ts && bun run compile", | |
| 44 | "compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/query-builder", | |
| 45 | "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", | |
| 46 | "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/query-builder-linux-x64", | |
| 47 | "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/query-builder-linux-arm64", | |
| 48 | "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/query-builder-windows-x64.exe", | |
| 49 | "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/query-builder-darwin-x64", | |
| 50 | "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/query-builder-darwin-arm64", | |
| 44 | "build": "cd ./packages/bun-query-builder && bun --bun build.ts && bun run compile", | |
| 45 | "compile": "cd ./packages/bun-query-builder && bun build ./bin/cli.ts --compile --minify --outfile bin/qbx", | |
| 46 | "compile:all": "cd ./packages/bun-query-builder && bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", | |
| 47 | "compile:linux-x64": "cd ./packages/bun-query-builder && bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/qbx-linux-x64", | |
| 48 | "compile:linux-arm64": "cd ./packages/bun-query-builder && bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/qbx-linux-arm64", | |
| 49 | "compile:windows-x64": "cd ./packages/bun-query-builder && bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/qbx-windows-x64.exe", | |
| 50 | "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/qbx-darwin-x64", | |
| 51 | "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/qbx-darwin-arm64", | |
| 51 | 52 | "zip": "bun run zip:all", |
| 52 | 53 | "zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64", |
| 53 | "zip:linux-x64": "zip -j bin/query-builder-linux-x64.zip bin/query-builder-linux-x64", | |
| 54 | "zip:linux-arm64": "zip -j bin/query-builder-linux-arm64.zip bin/query-builder-linux-arm64", | |
| 55 | "zip:windows-x64": "zip -j bin/query-builder-windows-x64.zip bin/query-builder-windows-x64.exe", | |
| 56 | "zip:darwin-x64": "zip -j bin/query-builder-darwin-x64.zip bin/query-builder-darwin-x64", | |
| 57 | "zip:darwin-arm64": "zip -j bin/query-builder-darwin-arm64.zip bin/query-builder-darwin-arm64", | |
| 54 | "zip:linux-x64": "zip -j bin/qbx-linux-x64.zip bin/qbx-linux-x64", | |
| 55 | "zip:linux-arm64": "zip -j bin/qbx-linux-arm64.zip bin/qbx-linux-arm64", | |
| 56 | "zip:windows-x64": "zip -j bin/qbx-windows-x64.zip bin/qbx-windows-x64.exe", | |
| 57 | "zip:darwin-x64": "zip -j bin/qbx-darwin-x64.zip bin/qbx-darwin-x64", | |
| 58 | "zip:darwin-arm64": "zip -j bin/qbx-darwin-arm64.zip bin/qbx-darwin-arm64", | |
| 58 | 59 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
| 59 | "prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip", | |
| 60 | 60 | "test": "bun test", |
| 61 | 61 | "lint": "bunx --bun eslint .", |
| 62 | 62 | "lint:fix": "bunx --bun eslint . --fix", |
| 63 | 63 | "changelog": "bunx logsmith --verbose", |
| 64 | 64 | "changelog:generate": "bunx logsmith --output CHANGELOG.md", |
| 65 | 65 | "release": "bun run changelog:generate && bunx bumpx prompt --recursive", |
| 66 | "postinstall": "bunx git-hooks", | |
| 67 | 66 | "dev:docs": "bun --bun vitepress dev docs", |
| 68 | 67 | "build:docs": "bun --bun vitepress build docs", |
| 69 | 68 | "preview:docs": "bun --bun vitepress preview docs", |
| 70 | 69 | "typecheck": "bun --bun tsc" |
| 71 | 70 | }, |
| 72 | "dependencies": { | |
| 73 | "@stacksjs/launchpad": "^0.6.4", | |
| 74 | "@stacksjs/ts-validation": "^0.4.7" | |
| 75 | }, | |
| 76 | 71 | "devDependencies": { |
| 77 | "@stacksjs/bumpx": "^0.1.69", | |
| 72 | "@stacksjs/bumpx": "^0.2.2", | |
| 78 | 73 | "@stacksjs/docs": "^0.70.23", |
| 79 | 74 | "@stacksjs/eslint-config": "^4.14.0-beta.3", |
| 80 | 75 | "@stacksjs/gitlint": "^0.1.5", |
| 81 | "@stacksjs/logsmith": "^0.1.18", | |
| 82 | "@types/bun": "^1.2.21", | |
| 83 | "buddy-bot": "^0.9.4", | |
| 84 | "bun-git-hooks": "^0.2.19", | |
| 85 | "bun-plugin-dtsx": "0.9.5", | |
| 76 | "@stacksjs/launchpad": "^0.6.4", | |
| 77 | "@stacksjs/logsmith": "^0.2.0", | |
| 78 | "@types/bun": "^1.3.1", | |
| 79 | "buddy-bot": "^0.9.9", | |
| 80 | "bun-git-hooks": "^0.3.1", | |
| 81 | "bun-plugin-dtsx": "0.21.12", | |
| 86 | 82 | "bunfig": "^0.15.0", |
| 87 | "typescript": "^5.9.2" | |
| 83 | "typescript": "^5.9.3" | |
| 88 | 84 | }, |
| 89 | 85 | "overrides": { |
| 90 | 86 | "unconfig": "0.3.10" |
| @@ -96,5 +92,8 @@ | ||
| 96 | 92 | } |
| 97 | 93 | }, |
| 98 | 94 | "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG" |
| 99 | } | |
| 95 | }, | |
| 96 | "workspaces": [ | |
| 97 | "packages/*" | |
| 98 | ] | |
| 100 | 99 | } |
| @@ -0,0 +1,31 @@ | ||
| 1 | { | |
| 2 | "name": "@bun-query-builder/benchmark", | |
| 3 | "type": "module", | |
| 4 | "version": "0.1.5", | |
| 5 | "private": true, | |
| 6 | "description": "Performance benchmarks for bun-query-builder vs popular query builders", | |
| 7 | "scripts": { | |
| 8 | "bench": "bun run src/index.ts", | |
| 9 | "bench:basic": "bun run src/benchmarks/basic.ts", | |
| 10 | "bench:advanced": "bun run src/benchmarks/advanced.ts", | |
| 11 | "bench:batch": "bun run src/benchmarks/batch.ts", | |
| 12 | "setup": "bun run src/setup.ts", | |
| 13 | "clean": "bun run src/clean.ts" | |
| 14 | }, | |
| 15 | "dependencies": { | |
| 16 | "@prisma/client": "^6.18.0", | |
| 17 | "better-sqlite3": "^12.4.1", | |
| 18 | "bun-query-builder": "workspace:*", | |
| 19 | "chalk": "^5.6.2", | |
| 20 | "cli-table3": "^0.6.5", | |
| 21 | "drizzle-orm": "^0.44.7", | |
| 22 | "kysely": "^0.28.8", | |
| 23 | "mitata": "^0.1.14", | |
| 24 | "prisma": "^6.18.0", | |
| 25 | "typeorm": "^0.3.27" | |
| 26 | }, | |
| 27 | "devDependencies": { | |
| 28 | "@types/bun": "^1.2.21", | |
| 29 | "typescript": "^5.9.2" | |
| 30 | } | |
| 31 | } | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "bun-query-builder", |
| 3 | 3 | "type": "module", |
| 4 | "version": "0.1.2", | |
| 4 | "version": "0.1.5", | |
| 5 | 5 | "description": "A simple yet performant query builder for TypeScript. Built with Bun.", |
| 6 | 6 | "author": "Chris Breuer <chris@stacksjs.org>", |
| 7 | 7 | "license": "MIT", |
| @@ -41,20 +41,20 @@ | ||
| 41 | 41 | ], |
| 42 | 42 | "scripts": { |
| 43 | 43 | "build": "bun --bun build.ts && bun run compile", |
| 44 | "compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/query-builder", | |
| 44 | "compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/qbx", | |
| 45 | 45 | "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", |
| 46 | "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/query-builder-linux-x64", | |
| 47 | "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/query-builder-linux-arm64", | |
| 48 | "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/query-builder-windows-x64.exe", | |
| 49 | "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/query-builder-darwin-x64", | |
| 50 | "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/query-builder-darwin-arm64", | |
| 46 | "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/qbx-linux-x64", | |
| 47 | "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/qbx-linux-arm64", | |
| 48 | "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/qbx-windows-x64.exe", | |
| 49 | "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/qbx-darwin-x64", | |
| 50 | "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/qbx-darwin-arm64", | |
| 51 | 51 | "zip": "bun run zip:all", |
| 52 | 52 | "zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64", |
| 53 | "zip:linux-x64": "zip -j bin/query-builder-linux-x64.zip bin/query-builder-linux-x64", | |
| 54 | "zip:linux-arm64": "zip -j bin/query-builder-linux-arm64.zip bin/query-builder-linux-arm64", | |
| 55 | "zip:windows-x64": "zip -j bin/query-builder-windows-x64.zip bin/query-builder-windows-x64.exe", | |
| 56 | "zip:darwin-x64": "zip -j bin/query-builder-darwin-x64.zip bin/query-builder-darwin-x64", | |
| 57 | "zip:darwin-arm64": "zip -j bin/query-builder-darwin-arm64.zip bin/query-builder-darwin-arm64", | |
| 53 | "zip:linux-x64": "zip -j bin/qbx-linux-x64.zip bin/qbx-linux-x64", | |
| 54 | "zip:linux-arm64": "zip -j bin/qbx-linux-arm64.zip bin/qbx-linux-arm64", | |
| 55 | "zip:windows-x64": "zip -j bin/qbx-windows-x64.zip bin/qbx-windows-x64.exe", | |
| 56 | "zip:darwin-x64": "zip -j bin/qbx-darwin-x64.zip bin/qbx-darwin-x64", | |
| 57 | "zip:darwin-arm64": "zip -j bin/qbx-darwin-arm64.zip bin/qbx-darwin-arm64", | |
| 58 | 58 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
| 59 | 59 | "prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip", |
| 60 | 60 | "test": "bun test", |
| @@ -63,28 +63,17 @@ | ||
| 63 | 63 | "changelog": "bunx logsmith --verbose", |
| 64 | 64 | "changelog:generate": "bunx logsmith --output CHANGELOG.md", |
| 65 | 65 | "release": "bun run changelog:generate && bunx bumpx prompt --recursive", |
| 66 | "postinstall": "bunx git-hooks", | |
| 67 | 66 | "dev:docs": "bun --bun vitepress dev docs", |
| 68 | 67 | "build:docs": "bun --bun vitepress build docs", |
| 69 | 68 | "preview:docs": "bun --bun vitepress preview docs", |
| 70 | 69 | "typecheck": "bun --bun tsc" |
| 71 | 70 | }, |
| 72 | 71 | "dependencies": { |
| 73 | "@stacksjs/launchpad": "^0.6.4", | |
| 74 | "@stacksjs/ts-validation": "^0.4.7" | |
| 72 | "@stacksjs/ts-validation": "^0.4.7", | |
| 73 | "ts-mocker": "^0.1.5" | |
| 75 | 74 | }, |
| 76 | 75 | "devDependencies": { |
| 77 | "@stacksjs/bumpx": "^0.1.69", | |
| 78 | "@stacksjs/docs": "^0.70.23", | |
| 79 | "@stacksjs/eslint-config": "^4.14.0-beta.3", | |
| 80 | "@stacksjs/gitlint": "^0.1.5", | |
| 81 | "@stacksjs/logsmith": "^0.1.18", | |
| 82 | "@types/bun": "^1.2.21", | |
| 83 | "buddy-bot": "^0.9.4", | |
| 84 | "bun-git-hooks": "^0.2.19", | |
| 85 | "bun-plugin-dtsx": "0.9.5", | |
| 86 | "bunfig": "^0.15.0", | |
| 87 | "typescript": "^5.9.2" | |
| 76 | "bunfig": "^0.15.0" | |
| 88 | 77 | }, |
| 89 | 78 | "overrides": { |
| 90 | 79 | "unconfig": "0.3.10" |