Skip to content

Commit 00988f9

Browse files
committed
Upgrade dependencies
1 parent 72910a3 commit 00988f9

File tree

22 files changed

+223
-222
lines changed

22 files changed

+223
-222
lines changed

.prettierrc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"semi": false,
33
"singleQuote": true,
4-
"trailingComma": "none",
5-
"arrowParens": "avoid",
4+
"trailingComma": "all",
5+
"arrowParens": "always",
66
"singleAttributePerLine": true,
77
"plugins": [
88
"prettier-plugin-svelte"
99
],
1010
"overrides": [
11-
{
12-
"files": "*.svelte",
13-
"options": {
14-
"parser": "svelte"
15-
}
16-
}
17-
]
11+
{
12+
"files": "*.svelte",
13+
"options": {
14+
"parser": "svelte"
15+
}
16+
}
17+
]
1818
}

.yarn/install-state.gz

3.02 KB
Binary file not shown.

Gemfile.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ GEM
129129
dry-configurable (1.2.0)
130130
dry-core (~> 1.0, < 2)
131131
zeitwerk (~> 2.6)
132-
dry-core (1.0.1)
132+
dry-core (1.0.2)
133133
concurrent-ruby (~> 1.0)
134+
logger
134135
zeitwerk (~> 2.6)
135136
dry-inflector (1.1.0)
136137
dry-initializer (3.1.1)
@@ -199,7 +200,7 @@ GEM
199200
jwt (2.9.3)
200201
base64
201202
language_server-protocol (3.17.0.3)
202-
lefthook (1.8.1)
203+
lefthook (1.8.2)
203204
listen (3.9.0)
204205
rb-fsevent (~> 0.10, >= 0.10.3)
205206
rb-inotify (~> 0.9, >= 0.9.10)
@@ -227,7 +228,7 @@ GEM
227228
timeout
228229
net-smtp (0.5.0)
229230
net-protocol
230-
nio4r (2.7.3)
231+
nio4r (2.7.4)
231232
nokogiri (1.16.7)
232233
mini_portile2 (~> 2.8.2)
233234
racc (~> 1.4)
@@ -342,19 +343,19 @@ GEM
342343
rubocop-ast (>= 1.32.2, < 2.0)
343344
ruby-progressbar (~> 1.7)
344345
unicode-display_width (>= 2.4.0, < 3.0)
345-
rubocop-ast (1.32.3)
346+
rubocop-ast (1.33.0)
346347
parser (>= 3.3.1.0)
347348
rubocop-factory_bot (2.26.1)
348349
rubocop (~> 1.61)
349350
rubocop-performance (1.22.1)
350351
rubocop (>= 1.48.1, < 2.0)
351352
rubocop-ast (>= 1.31.1, < 2.0)
352-
rubocop-rails (2.26.2)
353+
rubocop-rails (2.27.0)
353354
activesupport (>= 4.2.0)
354355
rack (>= 1.1)
355356
rubocop (>= 1.52.0, < 2.0)
356357
rubocop-ast (>= 1.31.1, < 2.0)
357-
rubocop-rspec (3.1.0)
358+
rubocop-rspec (3.2.0)
358359
rubocop (~> 1.61)
359360
rubocop-rspec_rails (2.30.0)
360361
rubocop (~> 1.61)

app/frontend/lib/components/qrcode.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (!canvas) return
1515
1616
void toCanvas(canvas, content, {
17-
width: 300
17+
width: 300,
1818
})
1919
})
2020
</script>

app/frontend/lib/helpers/graphql.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
type DocumentNode,
1010
gql,
1111
InMemoryCache,
12-
type Operation
12+
type Operation,
1313
} from '@apollo/client/core'
1414
import { getMainDefinition } from '@apollo/client/utilities'
1515
import { createConsumer } from '@rails/actioncable'
@@ -29,36 +29,36 @@ const link = ApolloLink.split(
2929
new ActionCableLink({ cable }),
3030
createHttpLink({
3131
uri: import.meta.env.VITE_GRAPHQL_ENDPOINT as string,
32-
credentials: 'include'
33-
})
32+
credentials: 'include',
33+
}),
3434
)
3535

3636
const cache = new InMemoryCache({})
3737

3838
const defaultOptions: DefaultOptions = {
3939
watchQuery: { fetchPolicy: 'no-cache' },
4040
query: { fetchPolicy: 'no-cache' },
41-
mutate: { fetchPolicy: 'no-cache' }
41+
mutate: { fetchPolicy: 'no-cache' },
4242
}
4343

4444
const client = new ApolloClient({ link, cache, defaultOptions })
4545

4646
export const query = async (graphql: DocumentNode, variables: object) =>
4747
client.query({
4848
query: graphql,
49-
variables
49+
variables,
5050
})
5151

5252
export const mutation = async (graphql: DocumentNode, variables: object) =>
5353
client.mutate({
5454
mutation: graphql,
55-
variables
55+
variables,
5656
})
5757

5858
export const subscribe = (graphql: DocumentNode, variables: object) =>
5959
client.subscribe({
6060
query: graphql,
61-
variables
61+
variables,
6262
})
6363

6464
export { gql }

app/frontend/lib/helpers/i18n.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getLocaleFromNavigator,
55
init,
66
locale,
7-
locales
7+
locales,
88
} from 'svelte-i18n'
99

1010
import en from '$lib/i18n/en.json'
@@ -21,7 +21,7 @@ initialLocale ??= 'en'
2121

2222
await init({
2323
initialLocale,
24-
fallbackLocale: 'en'
24+
fallbackLocale: 'en',
2525
})
2626

2727
export { _, locales as allLocales, locale as setLocale }

app/frontend/lib/helpers/session.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ export const session = writable<{
77
user?: { uuid: string; name: string; locale: string }
88
}>(session_init)
99

10-
export const getSession = function () {
10+
export const getSession = () => {
1111
return get(session)
1212
}
1313

14-
export const setSession = function (value: object) {
14+
export const setSession = (value: object) => {
1515
session.set(value)
1616

1717
const json = JSON.stringify(value)
@@ -20,7 +20,7 @@ export const setSession = function (value: object) {
2020
return true
2121
}
2222

23-
export const clearSession = function () {
23+
export const clearSession = () => {
2424
const json = JSON.stringify({})
2525
window.localStorage.setItem('session', json)
2626

app/frontend/lib/queries/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const loginUser = async (variables: object, graphql: string) =>
1313
}
1414
}
1515
`,
16-
variables
16+
variables,
1717
)
1818

1919
export const logoutUser = async (variables: object, graphql: string) =>
@@ -25,5 +25,5 @@ export const logoutUser = async (variables: object, graphql: string) =>
2525
}
2626
}
2727
`,
28-
variables
28+
variables,
2929
)

app/frontend/lib/queries/post.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const allPosts = async (variables: object, graphql: string) =>
1515
}
1616
}
1717
`,
18-
variables
18+
variables,
1919
)
2020

2121
export const findPost = async (variables: object, graphql: string) =>
@@ -27,7 +27,7 @@ export const findPost = async (variables: object, graphql: string) =>
2727
}
2828
}
2929
`,
30-
variables
30+
variables,
3131
)
3232

3333
export const watchPost = (variables: object, graphql: string) =>
@@ -39,7 +39,7 @@ export const watchPost = (variables: object, graphql: string) =>
3939
}
4040
}
4141
`,
42-
variables
42+
variables,
4343
)
4444

4545
export const createPost = async (variables: object, graphql: string) =>
@@ -54,7 +54,7 @@ export const createPost = async (variables: object, graphql: string) =>
5454
}
5555
}
5656
`,
57-
variables
57+
variables,
5858
)
5959

6060
export const updatePost = async (variables: object, graphql: string) =>
@@ -70,7 +70,7 @@ export const updatePost = async (variables: object, graphql: string) =>
7070
}
7171
}
7272
`,
73-
variables
73+
variables,
7474
)
7575

7676
export const destroyPost = async (variables: object, graphql: string) =>
@@ -84,5 +84,5 @@ export const destroyPost = async (variables: object, graphql: string) =>
8484
}
8585
}
8686
`,
87-
variables
87+
variables,
8888
)

app/frontend/lib/queries/user.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const findUser = async (variables: object, graphql: string) =>
99
}
1010
}
1111
`,
12-
variables
12+
variables,
1313
)
1414

1515
export const watchUser = (variables: object, graphql: string) =>
@@ -21,7 +21,7 @@ export const watchUser = (variables: object, graphql: string) =>
2121
}
2222
}
2323
`,
24-
variables
24+
variables,
2525
)
2626

2727
export const createUser = async (variables: object, graphql: string) =>
@@ -39,7 +39,7 @@ export const createUser = async (variables: object, graphql: string) =>
3939
}
4040
}
4141
`,
42-
variables
42+
variables,
4343
)
4444

4545
export const updateUser = async (variables: object, graphql: string) =>
@@ -60,7 +60,7 @@ export const updateUser = async (variables: object, graphql: string) =>
6060
}
6161
}
6262
`,
63-
variables
63+
variables,
6464
)
6565

6666
export const forgotPassword = async (variables: object, graphql: string) =>
@@ -74,7 +74,7 @@ export const forgotPassword = async (variables: object, graphql: string) =>
7474
}
7575
}
7676
`,
77-
variables
77+
variables,
7878
)
7979

8080
export const resetPassword = async (variables: object, graphql: string) =>
@@ -91,5 +91,5 @@ export const resetPassword = async (variables: object, graphql: string) =>
9191
}
9292
}
9393
`,
94-
variables
94+
variables,
9595
)

0 commit comments

Comments
 (0)