Skip to content

Commit

Permalink
fix production dependencies & update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol committed Jul 31, 2024
1 parent aff8ddd commit c6ff942
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
with:
persist-credentials: false

- name: "Setup dependencies"
run: bun install --production --frozen-lockfile
- name: "Setup production dependencies"
run: bun install --frozen-lockfile --production

- name: "Build artifact"
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ jobs:
with:
persist-credentials: false

- name: "Setup dependencies"
- name: "Setup production dependencies"
run: bun install --frozen-lockfile --production

- name: "Run build"
run: bun run build

- name: "Setup development dependencies"
run: bun install --frozen-lockfile

- name: "Run lint"
run: bun run lint

- name: "Run build"
run: bun run build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /build/

COPY . ./

RUN bun install --production --frozen-lockfile && \
RUN bun install --frozen-lockfile --production && \
bun run build:standalone

FROM cgr.dev/chainguard/cc-dynamic:latest
Expand Down
Binary file modified bun.lockb
Binary file not shown.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@
},
"dependencies": {
"@hono/zod-openapi": "~0.15.1",
"@scalar/hono-api-reference": "~0.5.119",
"@scalar/hono-api-reference": "~0.5.124",
"@swc/cli": "~0.4.0",
"@swc/core": "~1.7.3",
"@types/bun": "~1.1.6",
"cbor-x": "~1.5.9",
"cbor-x": "~1.6.0",
"chalk": "~5.3.0",
"env-var": "~7.5.0",
"hono": "~4.5.2",
"hono": "~4.5.3",
"loglevel": "~1.9.1",
"typescript": "~5.5.4"
},
"devDependencies": {
"@biomejs/biome": "~1.8.3",
"@swc/cli": "~0.4.0",
"@swc/core": "~1.7.3",
"lefthook": "~1.7.9",
"lefthook": "~1.7.11",
"sort-package-json": "~2.10.0"
},
"trustedDependencies": [
Expand Down

0 comments on commit c6ff942

Please sign in to comment.