also looking at this
chore(deps): update all non-major dependencies
#90
3 files
+29
-22
| @@ -126,11 +126,11 @@ jobs: | ||
| 126 | 126 | persist-credentials: true |
| 127 | 127 | |
| 128 | 128 | - name: Setup Bun |
| 129 | uses: oven-sh/setup-bun@v2 | |
| 129 | uses: oven-sh/setup-bun@v2.0.2 | |
| 130 | 130 | |
| 131 | 131 | - name: Setup PHP and Composer (if needed) |
| 132 | 132 | if: ${{ hashFiles('composer.json') != '' }} |
| 133 | uses: shivammathur/setup-php@v2 | |
| 133 | uses: shivammathur/setup-php@2.35.5 | |
| 134 | 134 | with: |
| 135 | 135 | php-version: '8.4' |
| 136 | 136 | tools: composer |
| @@ -163,7 +163,7 @@ jobs: | ||
| 163 | 163 | persist-credentials: true |
| 164 | 164 | |
| 165 | 165 | - name: Setup Bun |
| 166 | uses: oven-sh/setup-bun@v2 | |
| 166 | uses: oven-sh/setup-bun@v2.0.2 | |
| 167 | 167 | |
| 168 | 168 | - name: Install dependencies |
| 169 | 169 | run: bun install |
| @@ -244,11 +244,11 @@ jobs: | ||
| 244 | 244 | persist-credentials: true |
| 245 | 245 | |
| 246 | 246 | - name: Setup Bun |
| 247 | uses: oven-sh/setup-bun@v2 | |
| 247 | uses: oven-sh/setup-bun@v2.0.2 | |
| 248 | 248 | |
| 249 | 249 | - name: Setup PHP and Composer (if needed) |
| 250 | 250 | if: ${{ hashFiles('composer.json') != '' }} |
| 251 | uses: shivammathur/setup-php@v2 | |
| 251 | uses: shivammathur/setup-php@2.35.5 | |
| 252 | 252 | with: |
| 253 | 253 | php-version: '8.4' |
| 254 | 254 | tools: composer |
| @@ -351,7 +351,7 @@ jobs: | ||
| 351 | 351 | token: ${{ secrets.BUDDY_BOT_TOKEN || secrets.GITHUB_TOKEN }} |
| 352 | 352 | |
| 353 | 353 | - name: Setup Bun |
| 354 | uses: oven-sh/setup-bun@v2 | |
| 354 | uses: oven-sh/setup-bun@v2.0.2 | |
| 355 | 355 | |
| 356 | 356 | - name: Install dependencies |
| 357 | 357 | run: bun install |
| @@ -24,7 +24,7 @@ jobs: | ||
| 24 | 24 | uses: oven-sh/setup-bun@v2 |
| 25 | 25 | |
| 26 | 26 | - name: Use cached node_modules |
| 27 | uses: actions/cache@v4 | |
| 27 | uses: actions/cache@v4.3.0 | |
| 28 | 28 | with: |
| 29 | 29 | path: node_modules |
| 30 | 30 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -47,7 +47,7 @@ jobs: | ||
| 47 | 47 | uses: oven-sh/setup-bun@v2 |
| 48 | 48 | |
| 49 | 49 | - name: Use cached node_modules |
| 50 | uses: actions/cache@v4 | |
| 50 | uses: actions/cache@v4.3.0 | |
| 51 | 51 | with: |
| 52 | 52 | path: node_modules |
| 53 | 53 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -70,7 +70,7 @@ jobs: | ||
| 70 | 70 | uses: oven-sh/setup-bun@v2 |
| 71 | 71 | |
| 72 | 72 | - name: Use cached node_modules |
| 73 | uses: actions/cache@v4 | |
| 73 | uses: actions/cache@v4.3.0 | |
| 74 | 74 | with: |
| 75 | 75 | path: node_modules |
| 76 | 76 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -93,7 +93,7 @@ jobs: | ||
| 93 | 93 | uses: oven-sh/setup-bun@v2 |
| 94 | 94 | |
| 95 | 95 | - name: Use cached node_modules |
| 96 | uses: actions/cache@v4 | |
| 96 | uses: actions/cache@v4.3.0 | |
| 97 | 97 | with: |
| 98 | 98 | path: node_modules |
| 99 | 99 | key: node-modules-${{ hashFiles('**/bun.lock') }} |
| @@ -45,35 +45,42 @@ | ||
| 45 | 45 | "zip:windows-x64": "zip -j bin/bin-name-windows-x64.zip bin/bin-name-windows-x64.exe", |
| 46 | 46 | "zip:darwin-x64": "zip -j bin/bin-name-darwin-x64.zip bin/bin-name-darwin-x64", |
| 47 | 47 | "zip:darwin-arm64": "zip -j bin/bin-name-darwin-arm64.zip bin/bin-name-darwin-arm64", |
| 48 | "lint": "bunx --bun eslint .", | |
| 49 | "lint:fix": "bunx --bun eslint . --fix", | |
| 50 | 48 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
| 51 | "changelog": "bunx changelogen --output CHANGELOG.md", | |
| 52 | 49 | "prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip", |
| 53 | "release": "bun run changelog && bunx bumpp package.json --all", | |
| 54 | 50 | "test": "bun test", |
| 51 | "lint": "bunx --bun eslint .", | |
| 52 | "lint:fix": "bunx --bun eslint . --fix", | |
| 53 | "changelog": "bunx logsmith --verbose", | |
| 54 | "changelog:generate": "bunx logsmith --output CHANGELOG.md", | |
| 55 | "release": "bun run changelog:generate && bunx bumpx prompt --recursive", | |
| 56 | "postinstall": "bunx git-hooks", | |
| 55 | 57 | "dev:docs": "bun --bun vitepress dev docs", |
| 56 | 58 | "build:docs": "bun --bun vitepress build docs", |
| 57 | 59 | "preview:docs": "bun --bun vitepress preview docs", |
| 58 | 60 | "typecheck": "bun --bun tsc --noEmit" |
| 59 | 61 | }, |
| 60 | 62 | "devDependencies": { |
| 63 | "@stacksjs/bumpx": "^0.1.84", | |
| 61 | 64 | "@stacksjs/docs": "^0.70.23", |
| 62 | 65 | "@stacksjs/eslint-config": "^4.10.2-beta.3", |
| 63 | "@types/bun": "^1.2.20", | |
| 64 | "buddy-bot": "^0.8.6", | |
| 65 | "bumpp": "^10.2.3", | |
| 66 | "@stacksjs/gitlint": "^0.1.5", | |
| 67 | "@stacksjs/logsmith": "^0.1.18", | |
| 68 | "@types/bun": "^1.2.22", | |
| 69 | "buddy-bot": "^0.8.9", | |
| 70 | "bun-git-hooks": "^0.2.19", | |
| 66 | 71 | "bun-plugin-dtsx": "^0.21.12", |
| 67 | 72 | "bunfig": "^0.10.1", |
| 68 | "changelogen": "^0.6.2", | |
| 69 | "lint-staged": "^16.1.5", | |
| 70 | "simple-git-hooks": "^2.13.1", | |
| 71 | 73 | "typescript": "^5.9.2" |
| 72 | 74 | }, |
| 73 | 75 | "overrides": { |
| 74 | 76 | "unconfig": "0.3.10" |
| 75 | 77 | }, |
| 76 | "lint-staged": { | |
| 77 | "*.{js,ts}": "bunx --bun eslint . --fix" | |
| 78 | "git-hooks": { | |
| 79 | "pre-commit": { | |
| 80 | "staged-lint": { | |
| 81 | "*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix" | |
| 82 | } | |
| 83 | }, | |
| 84 | "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG" | |
| 78 | 85 | } |
| 79 | 86 | } |