Skip to content

Commit

Permalink
Merge pull request #97 from isd-sgcu/fix/sharp
Browse files Browse the repository at this point in the history
feat: add sharp to production
  • Loading branch information
PatrickChoDev authored Jul 17, 2024
2 parents c7af4e0 + 4041f6a commit 3943844
Show file tree
Hide file tree
Showing 9 changed files with 2,900 additions and 2,013 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "RPKM67 Frontend",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"customizations": {
"vscode": {
"extensions": [
"aaron-bond.better-comments",
"ms-azuretools.vscode-docker",
"GitHub.copilot",
"GitHub.copilot-chat",
"VisualStudioExptTeam.vscodeintellicode",
"ZainChen.json",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
]
}
}
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.pnpm-store/
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"git.ignoreLimitWarning": true
}
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const nextConfig = {
protocol: 'https',
hostname: process.env.BASE_DOMAIN_IMAGES ?? '*',
},
{
protocol: 'https',
hostname: 'rpkm67.spg1.cdn.digitaloceanspaces.com',
},
],
},
env: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"react-hot-toast": "^2.4.1",
"react-markdown": "8.0.6",
"react-qr-reader": "^3.0.0-beta-1",
"sharp": "^0.33.4",
"tailwind-merge": "^2.3.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 3943844

Please sign in to comment.