File tree 10 files changed +188
-172
lines changed
10 files changed +188
-172
lines changed Original file line number Diff line number Diff line change 1
1
# Base
2
- FROM node:23.7 -alpine AS base
2
+ FROM node:23.10 -alpine AS base
3
3
WORKDIR /app
4
4
5
5
FROM base AS builder
Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ The setup script `setup.sh` will help you by copying `.env.example` to `.env` an
88
88
# On Linux
89
89
chmod +x ./scripts/setup.sh && ./scripts/setup.sh
90
90
# 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"
92
92
93
93
# 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"
95
95
```
96
96
97
97
### Production Setup
Original file line number Diff line number Diff line change 1
1
services :
2
2
db :
3
3
container_name : wapydev-db
4
- image : postgres:17.2
4
+ image : postgres:17.4
5
5
restart : unless-stopped
6
6
environment :
7
7
- POSTGRES_USER=${POSTGRES_USER:-wapydev}
@@ -14,7 +14,7 @@ services:
14
14
15
15
app :
16
16
container_name : wapydev-app
17
- image : node:23.7 -alpine
17
+ image : node:23.10 -alpine
18
18
restart : unless-stopped
19
19
environment :
20
20
- NODE_ENV=development
Original file line number Diff line number Diff line change 1
1
services :
2
2
db :
3
3
container_name : wapydev-db
4
- image : postgres:17.2
4
+ image : postgres:17.4
5
5
restart : unless-stopped
6
6
environment :
7
7
- POSTGRES_USER=${POSTGRES_USER:-wapydev}
Original file line number Diff line number Diff line change 40
40
"@tailwindcss/postcss" : " ^4.0.14" ,
41
41
"class-variance-authority" : " ^0.7.1" ,
42
42
"clsx" : " ^2.1.1" ,
43
- "cmdk" : " ^1.0.4 " ,
43
+ "cmdk" : " ^1.1.1 " ,
44
44
"date-fns" : " ^4.1.0" ,
45
45
"date-fns-tz" : " ^3.2.0" ,
46
46
"fuse.js" : " ^7.1.0" ,
49
49
"js-cookie" : " ^3.0.5" ,
50
50
"jsonwebtoken" : " ^9.0.2" ,
51
51
"lodash.debounce" : " ^4.0.8" ,
52
- "lucide-react" : " ^0.479 .0" ,
52
+ "lucide-react" : " ^0.482 .0" ,
53
53
"next" : " 15.2.1" ,
54
54
"next-auth" : " ^5.0.0-beta.25" ,
55
55
"next-themes" : " ^0.4.6" ,
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ const SignInOTP = ({email}) => {
67
67
setUrl ( null ) ;
68
68
69
69
router . replace ( redirectUrl ) ;
70
+ router . refresh ( ) ;
70
71
}
71
72
72
73
return ( ) => {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const PageSubscriptionView = async ({ params }) => {
20
20
return (
21
21
< SubscriptionGuard paddleStatus = { paddleStatus } >
22
22
< div className = 'container flex flex-col items-center justify-center gap-6' >
23
- < SubscriptionView user = { user } subscription = { subscription } />
23
+ < SubscriptionView subscription = { subscription } />
24
24
</ div >
25
25
</ SubscriptionGuard >
26
26
) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
CardFooter ,
14
14
} from '@/components/ui/card' ;
15
15
import { Badge } from '@/components/ui/badge' ;
16
- import { DefaultCurrencies } from '@/config/currencies' ;
17
16
import { Icons } from '@/components/icons' ;
18
17
import { Button } from '@/components/ui/button' ;
19
18
import { Separator } from '@/components/ui/separator' ;
@@ -164,7 +163,6 @@ const SubscriptionPaymentCount = ({ subscription }) => {
164
163
165
164
export const SubscriptionCard = ( { subscription } ) => {
166
165
const parsedIcon = subscription . logo ? JSON . parse ( subscription . logo ) : false ;
167
- const currency = DefaultCurrencies [ subscription . currency ] ;
168
166
const categories = subscription . categories || [ ] ;
169
167
const isPushEnabled = subscription . enabled && subscription . notifications . some ( notification => notification . type . includes ( 'PUSH' ) ) ;
170
168
const isEmailEnabled = subscription . enabled && subscription . notifications . some ( notification => notification . type . includes ( 'EMAIL' ) ) ;
You can’t perform that action at this time.
0 commit comments