File tree 8 files changed +3313
-3376
lines changed
8 files changed +3313
-3376
lines changed Original file line number Diff line number Diff line change 25
25
- name : ⎔ Setup node
26
26
uses : actions/setup-node@v4
27
27
with :
28
- node-version : 20
28
+ node-version : 22
29
29
30
30
- name : 📥 Download deps
31
31
uses : bahmutov/npm-install@v1
46
46
- name : ⎔ Setup node
47
47
uses : actions/setup-node@v4
48
48
with :
49
- node-version : 20
49
+ node-version : 22
50
50
51
51
- name : 📥 Download deps
52
52
uses : bahmutov/npm-install@v1
67
67
- name : ⎔ Setup node
68
68
uses : actions/setup-node@v4
69
69
with :
70
- node-version : 20
70
+ node-version : 22
71
71
72
72
- name : 📥 Download deps
73
73
uses : bahmutov/npm-install@v1
95
95
- name : ⎔ Setup node
96
96
uses : actions/setup-node@v4
97
97
with :
98
- node-version : 20
98
+ node-version : 22
99
99
100
100
- name : 📥 Download deps
101
101
uses : bahmutov/npm-install@v1
Original file line number Diff line number Diff line change @@ -20,3 +20,9 @@ node_modules
20
20
21
21
# Easy way to create temporary files/folders that won't accidentally be added to git
22
22
* .local. *
23
+
24
+ # generated files
25
+ /app /components /ui /icons
26
+
27
+ # react router v7 generated types
28
+ .react-router
Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ import {
5
5
useRouteError ,
6
6
} from '@remix-run/react'
7
7
import { captureRemixErrorBoundaryError } from '@sentry/remix'
8
+ import { type ReactElement } from 'react'
8
9
import { getErrorMessage } from '#app/utils/misc.tsx'
9
10
10
11
type StatusHandler = ( info : {
11
12
error : ErrorResponse
12
13
params : Record < string , string | undefined >
13
- } ) => JSX . Element | null
14
+ } ) => ReactElement | null
14
15
15
16
export function GeneralErrorBoundary ( {
16
17
defaultStatusHandler = ( { error } ) => (
@@ -23,7 +24,7 @@ export function GeneralErrorBoundary({
23
24
} : {
24
25
defaultStatusHandler ?: StatusHandler
25
26
statusHandlers ?: Record < number , StatusHandler >
26
- unexpectedErrorHandler ?: ( error : unknown ) => JSX . Element | null
27
+ unexpectedErrorHandler ?: ( error : unknown ) => ReactElement | null
27
28
} ) {
28
29
const error = useRouteError ( )
29
30
captureRemixErrorBoundaryError ( error )
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export function CheckboxField({
144
144
errors,
145
145
className,
146
146
} : {
147
- labelProps : JSX . IntrinsicElements [ 'label' ]
147
+ labelProps : React . ComponentProps < 'label' >
148
148
buttonProps : CheckboxProps & {
149
149
name : string
150
150
form : string
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ import SiteFooter from '#app/components/site-footer.js'
24
24
import { useToast } from '#app/components/toaster.tsx'
25
25
import { Button } from '#app/components/ui/button.tsx'
26
26
import {
27
+ SheetDescription ,
28
+ SheetTitle ,
27
29
SheetTrigger ,
28
30
SheetClose ,
29
31
SheetContent ,
@@ -226,6 +228,8 @@ function App() {
226
228
className = "flex flex-col bg-gray-950 p-6 text-gray-50"
227
229
side = "left"
228
230
>
231
+ < SheetTitle className = 'hidden sr-only' > site nav menu</ SheetTitle >
232
+ < SheetDescription className = 'hidden sr-only' > site nav menu open</ SheetDescription >
229
233
< div className = "mb-6 flex items-center justify-between" >
230
234
< div className = "flex items-center justify-center" >
231
235
< Link to = "/" className = "group grid leading-snug" >
Original file line number Diff line number Diff line change 1
1
# This file is moved to the root directory before building the image
2
2
3
3
# base node image
4
- FROM node:20 -bookworm-slim as base
4
+ FROM node:22 -bookworm-slim as base
5
5
6
6
# set for base and all layer that inherit from it
7
7
ENV NODE_ENV production
You can’t perform that action at this time.
0 commit comments