Skip to content

Commit

Permalink
chore: update @elysiajs/static
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin committed Oct 18, 2024
1 parent e8ed10d commit d2cd670
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ package-lock.json
/data
/Bruno
/tsconfig.tsbuildinfo
/src/public/generated.css
/public/generated.css
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN apk --no-cache add \

COPY --from=install /temp/prod/node_modules node_modules
COPY --from=builder /root/.cargo/bin/resvg /usr/local/bin/resvg
COPY --from=prerelease /app/src/public/generated.css /app/src/public/
COPY --from=prerelease /app/public/generated.css /app/public/
# COPY --from=prerelease /app/src/index.tsx /app/src/
# COPY --from=prerelease /app/package.json .
COPY . .
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "bun run --watch src/index.tsx",
"hot": "bun run --hot src/index.tsx",
"format": "eslint --fix .",
"build": "postcss ./src/main.css -o ./src/public/generated.css",
"build": "postcss ./src/main.css -o ./public/generated.css",
"lint": "run-p 'lint:*'",
"lint:tsc": "tsc --noEmit",
"lint:knip": "knip",
Expand All @@ -15,7 +15,7 @@
"@elysiajs/cookie": "^0.8.0",
"@elysiajs/html": "^1.1.1",
"@elysiajs/jwt": "^1.1.1",
"@elysiajs/static": "1.0.3",
"@elysiajs/static": "^1.1.1",
"elysia": "^1.1.22"
},
"module": "src/index.tsx",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"extends": [
"config:recommended",
":disableDependencyDashboard"
]
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
}
}
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ const app = new Elysia({
)
.use(
staticPlugin({
assets: "src/public/",
prefix: "/",
assets: "public",
prefix: "",
}),
)
.get("/test", () => {
Expand Down

0 comments on commit d2cd670

Please sign in to comment.