diff --git a/.husky/hooks/pre-commit b/.husky/hooks/pre-commit new file mode 100755 index 0000000..d0ee6fe --- /dev/null +++ b/.husky/hooks/pre-commit @@ -0,0 +1,13 @@ +#!/bin/sh + + + + +command_name_bun="bun" +if ! command -v "$command_name_bun" &> /dev/null; then + echo "Command '$command_name_bun' not found. Installing..." + npm install -g "$command_name_bun"@latest +else + "$command_name_bun" lint || exit 1 && cd .. +fi + diff --git a/app.vue b/app.vue index e27eee2..4a2d7cc 100644 --- a/app.vue +++ b/app.vue @@ -1,5 +1,7 @@ + \ No newline at end of file + openCart.value = false +}) + diff --git a/components/CountryCurrencySelector.vue b/components/CountryCurrencySelector.vue index 3e46d33..ceae989 100644 --- a/components/CountryCurrencySelector.vue +++ b/components/CountryCurrencySelector.vue @@ -1,31 +1,64 @@ diff --git a/components/HeaderBlock.vue b/components/HeaderBlock.vue index e9abaf2..4120f0e 100644 --- a/components/HeaderBlock.vue +++ b/components/HeaderBlock.vue @@ -4,26 +4,58 @@
-