Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
bun-version: 1.4.0
- uses: actions/setup-node@v6
with:
node-version: 24
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
name: Run all tests
runs-on: ubuntu-latest
container: oven/bun:1.3.14
container: oven/bun:1.4.0
steps:
- uses: actions/checkout@v4
- run: bun install --frozen-lockfile
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.3.14-slim AS base
FROM oven/bun:1.4.0-slim AS base
WORKDIR /app

FROM base AS build
Expand All @@ -18,8 +18,9 @@ ENV NODE_ENV=production \
PORT=3000 \
HOSTNAME=0.0.0.0 \
FFMPEG_PATH=/usr/local/bin/ffmpeg
COPY --from=mwader/static-ffmpeg:8.1.2 /ffmpeg /usr/local/bin/
COPY --from=mwader/static-ffmpeg:9.0 /ffmpeg /usr/local/bin/
Comment thread
coderabbitai[bot] marked this conversation as resolved.
COPY --from=build /app/packages/server/dist/server/app.js /app/app.js
COPY --from=install /app/node_modules/ /app/node_modules/
EXPOSE 3000
USER bun
CMD ["bun", "app.js"]
77 changes: 40 additions & 37 deletions bun.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"devDependencies": {
"husky": "^9.1.7",
"sharp": "^0.35.3",
"typescript": "^7.0.2"
},
"workspaces": [
Expand Down
1 change: 1 addition & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Updated Bun tooling and TypeScript dependencies.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- Updated `@sv2dev/multipart-stream` to `0.2.3`.
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
},
"dependencies": {
"@m4k/common": "workspace:^",
"@sv2dev/multipart-stream": "^0.2.0"
"@sv2dev/multipart-stream": "^0.2.3"
},
"devDependencies": {
"@m4k/server": "workspace:^",
"@types/bun": "^1.3.14",
"bun-types": "^1.4.0",
"typescript": "^7.0.2"
}
}
1 change: 1 addition & 0 deletions packages/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["bun-types"],
"outDir": "lib",
"rootDir": "src"
},
Expand Down
1 change: 1 addition & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Updated `@sinclair/typebox` to `0.34.52`.
- Updated Bun tooling and TypeScript dependencies.
- Updated `@sv2dev/multipart-stream` to `0.2.3`.
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"dependencies": {
"@m4k/common": "workspace:^",
"@m4k/typebox": "workspace:^",
"@sv2dev/multipart-stream": "^0.2.0",
"@sv2dev/multipart-stream": "^0.2.3",
"m4k": "workspace:^"
},
"devDependencies": {
"@sinclair/typebox": "^0.34.52",
"@types/bun": "^1.3.14",
"bun-types": "^1.4.0",
"typescript": "^7.0.2"
}
}
6 changes: 3 additions & 3 deletions packages/server/src/images/process-image-handler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ describe("/process", () => {
expect(collected1).toEqual([
{ position: 0 },
{ progress: 0 },
{ filename: "file1.avif", type: "image/avif", size: 480 },
{ filename: "file1.avif", type: "image/avif", size: 530 },
{ progress: 100 },
]);
expect(collected2).toEqual([
{ position: 0 },
{ progress: 0 },
{ filename: "file1.avif", type: "image/avif", size: 480 },
{ filename: "file1.avif", type: "image/avif", size: 530 },
{ progress: 100 },
]);
});
Expand Down Expand Up @@ -141,7 +141,7 @@ describe("/process", () => {
expect(collected).toEqual([
{ position: 0 },
{ progress: 0 },
{ filename: "file1.avif", type: "image/avif", size: 437 },
{ filename: "file1.avif", type: "image/avif", size: 487 },
{ progress: 50 },
{ filename: "file2.webp", type: "image/webp", size: 204 },
{ progress: 100 },
Expand Down
1 change: 1 addition & 0 deletions packages/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["bun-types"],
"outDir": "lib",
"rootDir": "src",
"composite": true
Expand Down
2 changes: 1 addition & 1 deletion packages/typebox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@sinclair/typebox": "^0.34.52"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"bun-types": "^1.4.0",
"typescript": "^7.0.2"
},
"repository": {
Expand Down
Loading