Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vafanassieff committed Feb 7, 2024
1 parent 38529ae commit d37a5d2
Show file tree
Hide file tree
Showing 11 changed files with 1,494 additions and 1,404 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ module.exports = {
},
overrides: [
{
files: ['apps/front/**/*.{js,vue}'],

files: ['apps/front/src/**/*.{js,vue}'],
parser: 'vue-eslint-parser',
extends: [
'plugin:tailwindcss/recommended',
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.1-alpine AS builder
FROM node:20.9.0-alpine AS builder

WORKDIR /home/lnmarkets

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

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

FROM node:18.16.1-alpine
FROM node:20.9.0-alpine

ENV NODE_ENV="production"

Expand Down
8 changes: 4 additions & 4 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
"#src/*": "./src/*"
},
"dependencies": {
"@paralleldrive/cuid2": "2.2.1",
"@paralleldrive/cuid2": "2.2.2",
"bech32": "2.0.0",
"bip32": "4.0.0",
"bip39": "3.1.0",
"cors": "2.8.5",
"express": "4.18.2",
"helmet": "7.0.0",
"ln-service": "56.7.1",
"helmet": "7.1.0",
"ln-service": "57.4.0",
"secp256k1": "5.0.0",
"tiny-secp256k1": "2.2.2"
"tiny-secp256k1": "2.2.3"
},
"nodemonConfig": {
"exec": "node src/index.js",
Expand Down
18 changes: 9 additions & 9 deletions apps/front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"build": "vite build"
},
"dependencies": {
"@headlessui/vue": "1.7.14",
"@heroicons/vue": "2.0.18",
"vue": "3.3.4"
"@headlessui/vue": "1.7.18",
"@heroicons/vue": "2.1.1",
"vue": "3.4.15"
},
"devDependencies": {
"@vitejs/plugin-vue": "4.2.3",
"@vue/compiler-sfc": "3.3.4",
"autoprefixer": "10.4.14",
"postcss": "8.4.24",
"tailwindcss": "3.3.2",
"vite": "4.3.9"
"@vitejs/plugin-vue": "5.0.3",
"@vue/compiler-sfc": "3.4.15",
"autoprefixer": "10.4.17",
"postcss": "8.4.34",
"tailwindcss": "3.4.1",
"vite": "5.0.12"
}
}
6 changes: 0 additions & 6 deletions apps/front/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,12 @@
<div class="m-0 flex h-full flex-col overflow-auto bg-gray-800 text-gray-200">
<NavHeader />



<div class="flex grow flex-col items-center justify-center space-y-10">


<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="correct">
Login with Umbrel
</UmbrelButton>
</div>



<NavFooter />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion apps/front/src/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<component
:is="icon"
v-if="icon"
class="-mr-0.5 h-5 w-5"
class="-mr-0.5 size-5"
aria-hidden="true"
/>
</button>
Expand Down
21 changes: 10 additions & 11 deletions apps/front/src/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="flex w-48 flex-row items-center justify-between">
<a
aria-label="Discord"
class="social-icon h-7 w-7"
class="social-icon size-7"
href="https://discord.gg/5HwDJFx2Jz"
rel="noopener"
target="_blank"
Expand All @@ -25,7 +25,7 @@
</a>
<a
aria-label="Telegram"
class="social-icon h-6 w-6"
class="social-icon size-6"
href="https://www.t.me/lnmarkets"
rel="noopener"
target="_blank"
Expand All @@ -44,7 +44,7 @@
</a>
<a
aria-label="Github"
class="social-icon h-7 w-7"
class="social-icon size-7"
href="https://github.com/lnmarkets/umbrel"
rel="noopener"
target="_blank"
Expand All @@ -65,7 +65,7 @@
</a>
<a
aria-label="Twitter"
class="social-icon h-7 w-7"
class="social-icon size-7"
href="https://twitter.com/LNMarkets"
rel="noopener"
target="_blank"
Expand All @@ -84,7 +84,7 @@
</a>
<a
aria-label="Substack"
class="social-icon h-6 w-6"
class="social-icon size-6"
href="https://lnmarkets.substack.com/"
rel="noopener"
target="_blank"
Expand Down Expand Up @@ -114,25 +114,24 @@
</div>
<UmbrelButton :click="openHelp">Help</UmbrelButton>
</div>
<ModalHelp ref="modalHelpRef"/>
<ModalHelp ref="modalHelpRef" />
</template>

<script setup>
import { ref } from 'vue';
import { ref } from 'vue'
import ModalHelp from './Help.vue'
import UmbrelButton from './Button.vue'
const modalHelpRef = ref(null);
const modalHelpRef = ref(null)
const openHelp = () => {
modalHelpRef.value.openModal();
modalHelpRef.value.openModal()
}
</script>

<script>
export default { name: 'UmbrelFooter'}
export default { name: 'UmbrelFooter' }
</script>

<style scoped>
Expand Down
60 changes: 43 additions & 17 deletions apps/front/src/Help.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,67 @@
<TransitionRoot appear :show="isOpen" as="template">
<Dialog as="div" class="relative z-10" @close="closeModal">
<TransitionChild
as="template" enter="duration-300 ease-out" enter-from="opacity-0" enter-to="opacity-100"
leave="duration-200 ease-in" leave-from="opacity-100" leave-to="opacity-0">
as="template"
enter="duration-300 ease-out"
enter-from="opacity-0"
enter-to="opacity-100"
leave="duration-200 ease-in"
leave-from="opacity-100"
leave-to="opacity-0"
>
<div class="bg-opacity/100 fixed inset-0 bg-black/50" />
</TransitionChild>

<div class="fixed inset-0 overflow-y-auto">
<div class="flex min-h-full items-center justify-center p-4 text-center">
<div
class="flex min-h-full items-center justify-center p-4 text-center"
>
<TransitionChild
as="template" enter="duration-300 ease-out" enter-from="opacity-0 scale-95"
enter-to="opacity-100 scale-100" leave="duration-200 ease-in" leave-from="opacity-100 scale-100"
leave-to="opacity-0 scale-95">
as="template"
enter="duration-300 ease-out"
enter-from="opacity-0 scale-95"
enter-to="opacity-100 scale-100"
leave="duration-200 ease-in"
leave-from="opacity-100 scale-100"
leave-to="opacity-0 scale-95"
>
<DialogPanel
class="w-full max-w-md overflow-hidden rounded-2xl bg-gray-800 p-6 text-left align-middle shadow-xl transition-all">
<DialogTitle as="h3" class="text-lg font-medium leading-6 text-gray-200">
class="w-full max-w-md overflow-hidden rounded-2xl bg-gray-800 p-6 text-left align-middle shadow-xl transition-all"
>
<DialogTitle
as="h3"
class="text-lg font-medium leading-6 text-gray-200"
>
Account Migration
</DialogTitle>
<div class="mt-2 space-y-1 text-sm text-gray-300">
<p>
Your account is empty?
</p>
<p>Your account is empty?</p>
<p>
Login to your old account and send funds to your new account.
</p>
<p >
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>!
<p>
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
>!
</p>
</div>

<div class="mt-4 flex w-full justify-evenly">
<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="deprecated">
Login old account
<UmbrelButton
:icon="ArrowRightOnRectangleIcon"
:click="deprecated"
>
Login old account
</UmbrelButton>

<UmbrelButton :icon="ArrowRightOnRectangleIcon" :click="correct">
Login new account
<UmbrelButton
:icon="ArrowRightOnRectangleIcon"
:click="correct"
>
Login new account
</UmbrelButton>
</div>
</DialogPanel>
Expand Down
2 changes: 1 addition & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.1-alpine
FROM node:20.9.0-alpine

ARG PACKAGE

Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
"dev:stop": "cd dev && docker compose down --remove-orphans --volumes"
},
"devDependencies": {
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"eslint": "8.43.0",
"eslint-config-prettier": "8.8.0",
"@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "18.6.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-tailwindcss": "3.13.0",
"eslint-plugin-unicorn": "47.0.0",
"eslint-plugin-vue": "9.15.1",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"nodemon": "2.0.22",
"prettier": "2.8.8",
"vue-eslint-parser": "^9.3.1"
"eslint-plugin-tailwindcss": "3.14.2",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-vue": "9.21.1",
"husky": "9.0.10",
"lint-staged": "15.2.2",
"nodemon": "3.0.3",
"prettier": "3.2.5",
"vue-eslint-parser": "^9.4.2"
},
"commitlint": {
"extends": [
Expand Down
Loading

0 comments on commit d37a5d2

Please sign in to comment.