Skip to content

Commit

Permalink
fix(deps): upgrade to vio v1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Jul 27, 2023
1 parent 66d5991 commit ac8254b
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 105 deletions.
1 change: 1 addition & 0 deletions nuxt/app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<VioApp
:site-description="t('globalOgSeoDescription')"
og-image-component="Default"
:og-image-alt="t('globalOgImageAlt')"
/>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ export interface Props {
}
withDefaults(defineProps<Props>(), {})
</script>

<script lang="ts">
export default {
name: 'OgImage',
}
</script>
1 change: 1 addition & 0 deletions nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import localeDe from './locales/de.json'
import localeEn from './locales/en.json'

export default defineNuxtConfig({
app: {}, // TODO: remove?
extends: ['@dargmuesli/nuxt-vio'],

// modules
Expand Down
4 changes: 3 additions & 1 deletion nuxt/pages/oauth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ t('copy') }}
</VioButton>
</div>
<VioError v-else :status-code="400" />
<VioError v-else :description="t('codeError')" :status-code="400" />
</template>

<script setup lang="ts">
Expand All @@ -30,9 +30,11 @@ useSeoMeta({ title: 'OAuth' })

<i18n lang="yaml">
de:
codeError: Code fehlt
copy: Kopieren
copySuccess: In die Zwischenablage kopiert
en:
codeError: Code is missing
copy: Copy
copySuccess: Copied to the clipboard
</i18n>
3 changes: 3 additions & 0 deletions nuxt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "./.nuxt/tsconfig.json",
"vueCompilerOptions": { // https://github.com/unjs/pkg-types/pull/130
"htmlAttributes": [] // https://github.com/johnsoncodehk/volar/issues/1970#issuecomment-1276994634
}
}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@
},
"scripts": {
"prepare": "husky install"
},
"pnpm": {
"overrides": {
"nuxt-og-image": "2.0.0-beta.59"
}
}
}
113 changes: 14 additions & 99 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac8254b

Please sign in to comment.