Skip to content

Commit d37a5d2

Browse files
committed
chore: update dependencies
1 parent 38529ae commit d37a5d2

11 files changed

+1494
-1404
lines changed

.eslintrc.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ module.exports = {
66
},
77
overrides: [
88
{
9-
files: ['apps/front/**/*.{js,vue}'],
10-
9+
files: ['apps/front/src/**/*.{js,vue}'],
1110
parser: 'vue-eslint-parser',
1211
extends: [
1312
'plugin:tailwindcss/recommended',

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.16.1-alpine AS builder
1+
FROM node:20.9.0-alpine AS builder
22

33
WORKDIR /home/lnmarkets
44

@@ -17,7 +17,7 @@ RUN pnpm -C apps/front build
1717

1818
RUN pnpm --filter="@ln-markets/umbrel-api" --prod --no-optional deploy /build
1919

20-
FROM node:18.16.1-alpine
20+
FROM node:20.9.0-alpine
2121

2222
ENV NODE_ENV="production"
2323

apps/api/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"#src/*": "./src/*"
1717
},
1818
"dependencies": {
19-
"@paralleldrive/cuid2": "2.2.1",
19+
"@paralleldrive/cuid2": "2.2.2",
2020
"bech32": "2.0.0",
2121
"bip32": "4.0.0",
2222
"bip39": "3.1.0",
2323
"cors": "2.8.5",
2424
"express": "4.18.2",
25-
"helmet": "7.0.0",
26-
"ln-service": "56.7.1",
25+
"helmet": "7.1.0",
26+
"ln-service": "57.4.0",
2727
"secp256k1": "5.0.0",
28-
"tiny-secp256k1": "2.2.2"
28+
"tiny-secp256k1": "2.2.3"
2929
},
3030
"nodemonConfig": {
3131
"exec": "node src/index.js",

apps/front/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"build": "vite build"
1212
},
1313
"dependencies": {
14-
"@headlessui/vue": "1.7.14",
15-
"@heroicons/vue": "2.0.18",
16-
"vue": "3.3.4"
14+
"@headlessui/vue": "1.7.18",
15+
"@heroicons/vue": "2.1.1",
16+
"vue": "3.4.15"
1717
},
1818
"devDependencies": {
19-
"@vitejs/plugin-vue": "4.2.3",
20-
"@vue/compiler-sfc": "3.3.4",
21-
"autoprefixer": "10.4.14",
22-
"postcss": "8.4.24",
23-
"tailwindcss": "3.3.2",
24-
"vite": "4.3.9"
19+
"@vitejs/plugin-vue": "5.0.3",
20+
"@vue/compiler-sfc": "3.4.15",
21+
"autoprefixer": "10.4.17",
22+
"postcss": "8.4.34",
23+
"tailwindcss": "3.4.1",
24+
"vite": "5.0.12"
2525
}
2626
}

apps/front/src/App.vue

-6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,12 @@
22
<div class="m-0 flex h-full flex-col overflow-auto bg-gray-800 text-gray-200">
33
<NavHeader />
44

5-
6-
75
<div class="flex grow flex-col items-center justify-center space-y-10">
8-
9-
106
<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="correct">
117
Login with Umbrel
128
</UmbrelButton>
139
</div>
1410

15-
16-
1711
<NavFooter />
1812
</div>
1913
</template>

apps/front/src/Button.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<component
1010
:is="icon"
1111
v-if="icon"
12-
class="-mr-0.5 h-5 w-5"
12+
class="-mr-0.5 size-5"
1313
aria-hidden="true"
1414
/>
1515
</button>

apps/front/src/Footer.vue

+10-11
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="flex w-48 flex-row items-center justify-between">
77
<a
88
aria-label="Discord"
9-
class="social-icon h-7 w-7"
9+
class="social-icon size-7"
1010
href="https://discord.gg/5HwDJFx2Jz"
1111
rel="noopener"
1212
target="_blank"
@@ -25,7 +25,7 @@
2525
</a>
2626
<a
2727
aria-label="Telegram"
28-
class="social-icon h-6 w-6"
28+
class="social-icon size-6"
2929
href="https://www.t.me/lnmarkets"
3030
rel="noopener"
3131
target="_blank"
@@ -44,7 +44,7 @@
4444
</a>
4545
<a
4646
aria-label="Github"
47-
class="social-icon h-7 w-7"
47+
class="social-icon size-7"
4848
href="https://github.com/lnmarkets/umbrel"
4949
rel="noopener"
5050
target="_blank"
@@ -65,7 +65,7 @@
6565
</a>
6666
<a
6767
aria-label="Twitter"
68-
class="social-icon h-7 w-7"
68+
class="social-icon size-7"
6969
href="https://twitter.com/LNMarkets"
7070
rel="noopener"
7171
target="_blank"
@@ -84,7 +84,7 @@
8484
</a>
8585
<a
8686
aria-label="Substack"
87-
class="social-icon h-6 w-6"
87+
class="social-icon size-6"
8888
href="https://lnmarkets.substack.com/"
8989
rel="noopener"
9090
target="_blank"
@@ -114,25 +114,24 @@
114114
</div>
115115
<UmbrelButton :click="openHelp">Help</UmbrelButton>
116116
</div>
117-
<ModalHelp ref="modalHelpRef"/>
117+
<ModalHelp ref="modalHelpRef" />
118118
</template>
119119

120120
<script setup>
121-
import { ref } from 'vue';
121+
import { ref } from 'vue'
122122
123123
import ModalHelp from './Help.vue'
124124
import UmbrelButton from './Button.vue'
125125
126-
const modalHelpRef = ref(null);
126+
const modalHelpRef = ref(null)
127127
128128
const openHelp = () => {
129-
modalHelpRef.value.openModal();
129+
modalHelpRef.value.openModal()
130130
}
131-
132131
</script>
133132

134133
<script>
135-
export default { name: 'UmbrelFooter'}
134+
export default { name: 'UmbrelFooter' }
136135
</script>
137136

138137
<style scoped>

apps/front/src/Help.vue

+43-17
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,67 @@
22
<TransitionRoot appear :show="isOpen" as="template">
33
<Dialog as="div" class="relative z-10" @close="closeModal">
44
<TransitionChild
5-
as="template" enter="duration-300 ease-out" enter-from="opacity-0" enter-to="opacity-100"
6-
leave="duration-200 ease-in" leave-from="opacity-100" leave-to="opacity-0">
5+
as="template"
6+
enter="duration-300 ease-out"
7+
enter-from="opacity-0"
8+
enter-to="opacity-100"
9+
leave="duration-200 ease-in"
10+
leave-from="opacity-100"
11+
leave-to="opacity-0"
12+
>
713
<div class="bg-opacity/100 fixed inset-0 bg-black/50" />
814
</TransitionChild>
915

1016
<div class="fixed inset-0 overflow-y-auto">
11-
<div class="flex min-h-full items-center justify-center p-4 text-center">
17+
<div
18+
class="flex min-h-full items-center justify-center p-4 text-center"
19+
>
1220
<TransitionChild
13-
as="template" enter="duration-300 ease-out" enter-from="opacity-0 scale-95"
14-
enter-to="opacity-100 scale-100" leave="duration-200 ease-in" leave-from="opacity-100 scale-100"
15-
leave-to="opacity-0 scale-95">
21+
as="template"
22+
enter="duration-300 ease-out"
23+
enter-from="opacity-0 scale-95"
24+
enter-to="opacity-100 scale-100"
25+
leave="duration-200 ease-in"
26+
leave-from="opacity-100 scale-100"
27+
leave-to="opacity-0 scale-95"
28+
>
1629
<DialogPanel
17-
class="w-full max-w-md overflow-hidden rounded-2xl bg-gray-800 p-6 text-left align-middle shadow-xl transition-all">
18-
<DialogTitle as="h3" class="text-lg font-medium leading-6 text-gray-200">
30+
class="w-full max-w-md overflow-hidden rounded-2xl bg-gray-800 p-6 text-left align-middle shadow-xl transition-all"
31+
>
32+
<DialogTitle
33+
as="h3"
34+
class="text-lg font-medium leading-6 text-gray-200"
35+
>
1936
Account Migration
2037
</DialogTitle>
2138
<div class="mt-2 space-y-1 text-sm text-gray-300">
22-
<p>
23-
Your account is empty?
24-
</p>
39+
<p>Your account is empty?</p>
2540
<p>
2641
Login to your old account and send funds to your new account.
2742
</p>
28-
<p >
29-
If you need some help, please reach out to us on <a class="cursor-pointer font-semibold hover:text-yellow-600" href="https://t.me/lnmarkets">Telegram</a>!
43+
<p>
44+
If you need some help, please reach out to us on
45+
<a
46+
class="cursor-pointer font-semibold hover:text-yellow-600"
47+
href="https://t.me/lnmarkets"
48+
>Telegram</a
49+
>!
3050
</p>
3151
</div>
3252

3353
<div class="mt-4 flex w-full justify-evenly">
34-
<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="deprecated">
35-
Login old account
54+
<UmbrelButton
55+
:icon="ArrowRightOnRectangleIcon"
56+
:click="deprecated"
57+
>
58+
Login old account
3659
</UmbrelButton>
3760

38-
<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="correct">
39-
Login new account
61+
<UmbrelButton
62+
:icon="ArrowRightOnRectangleIcon"
63+
:click="correct"
64+
>
65+
Login new account
4066
</UmbrelButton>
4167
</div>
4268
</DialogPanel>

dev/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.16.1-alpine
1+
FROM node:20.9.0-alpine
22

33
ARG PACKAGE
44

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@
1818
"dev:stop": "cd dev && docker compose down --remove-orphans --volumes"
1919
},
2020
"devDependencies": {
21-
"@commitlint/cli": "17.6.6",
22-
"@commitlint/config-conventional": "17.6.6",
23-
"eslint": "8.43.0",
24-
"eslint-config-prettier": "8.8.0",
21+
"@commitlint/cli": "18.6.0",
22+
"@commitlint/config-conventional": "18.6.0",
23+
"eslint": "8.56.0",
24+
"eslint-config-prettier": "9.1.0",
2525
"eslint-plugin-eslint-comments": "3.2.0",
26-
"eslint-plugin-import": "2.27.5",
26+
"eslint-plugin-import": "2.29.1",
2727
"eslint-plugin-promise": "6.1.1",
28-
"eslint-plugin-tailwindcss": "3.13.0",
29-
"eslint-plugin-unicorn": "47.0.0",
30-
"eslint-plugin-vue": "9.15.1",
31-
"husky": "8.0.3",
32-
"lint-staged": "13.2.3",
33-
"nodemon": "2.0.22",
34-
"prettier": "2.8.8",
35-
"vue-eslint-parser": "^9.3.1"
28+
"eslint-plugin-tailwindcss": "3.14.2",
29+
"eslint-plugin-unicorn": "51.0.1",
30+
"eslint-plugin-vue": "9.21.1",
31+
"husky": "9.0.10",
32+
"lint-staged": "15.2.2",
33+
"nodemon": "3.0.3",
34+
"prettier": "3.2.5",
35+
"vue-eslint-parser": "^9.4.2"
3636
},
3737
"commitlint": {
3838
"extends": [

0 commit comments

Comments
 (0)