Skip to content

Commit 277efe8

Browse files
authored
Merge pull request #59 from meceware/dev
v1.3.1
2 parents 0a29584 + 3fd4157 commit 277efe8

File tree

10 files changed

+188
-172
lines changed

10 files changed

+188
-172
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base
2-
FROM node:23.7-alpine AS base
2+
FROM node:23.10-alpine AS base
33
WORKDIR /app
44

55
FROM base AS builder

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ The setup script `setup.sh` will help you by copying `.env.example` to `.env` an
8888
# On Linux
8989
chmod +x ./scripts/setup.sh && ./scripts/setup.sh
9090
# or
91-
docker run --rm -v $(pwd):/app -w /app node:23.7-alpine sh -c "apk add --no-cache openssl su-exec && su-exec $(id -u):$(id -g) ./scripts/setup.sh"
91+
docker run --rm -v $(pwd):/app -w /app node:23.10-alpine sh -c "apk add --no-cache openssl su-exec && su-exec $(id -u):$(id -g) ./scripts/setup.sh"
9292

9393
# On Windows
94-
docker run --rm -v ${PWD}:/app -w /app node:23.7-alpine sh -c "apk add --no-cache openssl && ./scripts/setup.sh"
94+
docker run --rm -v ${PWD}:/app -w /app node:23.10-alpine sh -c "apk add --no-cache openssl && ./scripts/setup.sh"
9595
```
9696

9797
### Production Setup

docker-compose-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
container_name: wapydev-db
4-
image: postgres:17.2
4+
image: postgres:17.4
55
restart: unless-stopped
66
environment:
77
- POSTGRES_USER=${POSTGRES_USER:-wapydev}
@@ -14,7 +14,7 @@ services:
1414

1515
app:
1616
container_name: wapydev-app
17-
image: node:23.7-alpine
17+
image: node:23.10-alpine
1818
restart: unless-stopped
1919
environment:
2020
- NODE_ENV=development

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
db:
33
container_name: wapydev-db
4-
image: postgres:17.2
4+
image: postgres:17.4
55
restart: unless-stopped
66
environment:
77
- POSTGRES_USER=${POSTGRES_USER:-wapydev}

package-lock.json

+11-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@tailwindcss/postcss": "^4.0.14",
4141
"class-variance-authority": "^0.7.1",
4242
"clsx": "^2.1.1",
43-
"cmdk": "^1.0.4",
43+
"cmdk": "^1.1.1",
4444
"date-fns": "^4.1.0",
4545
"date-fns-tz": "^3.2.0",
4646
"fuse.js": "^7.1.0",
@@ -49,7 +49,7 @@
4949
"js-cookie": "^3.0.5",
5050
"jsonwebtoken": "^9.0.2",
5151
"lodash.debounce": "^4.0.8",
52-
"lucide-react": "^0.479.0",
52+
"lucide-react": "^0.482.0",
5353
"next": "15.2.1",
5454
"next-auth": "^5.0.0-beta.25",
5555
"next-themes": "^0.4.6",

src/app/#/signin-form.js

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const SignInOTP = ({email}) => {
6767
setUrl(null);
6868

6969
router.replace(redirectUrl);
70+
router.refresh();
7071
}
7172

7273
return () => {

src/app/view/[slug]/page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const PageSubscriptionView = async ({ params }) => {
2020
return (
2121
<SubscriptionGuard paddleStatus={paddleStatus}>
2222
<div className='container flex flex-col items-center justify-center gap-6'>
23-
<SubscriptionView user={user} subscription={subscription} />
23+
<SubscriptionView subscription={subscription} />
2424
</div>
2525
</SubscriptionGuard>
2626
);

src/components/subscriptions/card.js

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
CardFooter,
1414
} from '@/components/ui/card';
1515
import { Badge } from '@/components/ui/badge';
16-
import { DefaultCurrencies } from '@/config/currencies';
1716
import { Icons } from '@/components/icons';
1817
import { Button } from '@/components/ui/button';
1918
import { Separator } from '@/components/ui/separator';
@@ -164,7 +163,6 @@ const SubscriptionPaymentCount = ({ subscription }) => {
164163

165164
export const SubscriptionCard = ({ subscription }) => {
166165
const parsedIcon = subscription.logo ? JSON.parse(subscription.logo) : false;
167-
const currency = DefaultCurrencies[subscription.currency];
168166
const categories = subscription.categories || [];
169167
const isPushEnabled = subscription.enabled && subscription.notifications.some(notification => notification.type.includes('PUSH'));
170168
const isEmailEnabled = subscription.enabled && subscription.notifications.some(notification => notification.type.includes('EMAIL'));

0 commit comments

Comments
 (0)