Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Aug 7, 2024
1 parent b8cd2da commit 6c62031
Show file tree
Hide file tree
Showing 8 changed files with 3,380 additions and 4,990 deletions.
5 changes: 4 additions & 1 deletion components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<script setup lang="ts">
const route = useRoute();
const { $ui } = useNuxtApp();
// const { metaSymbol } = useShortcuts();
const links = [
{
Expand Down Expand Up @@ -58,7 +61,7 @@ const links = [
class="flex h-px w-full items-center justify-center bg-gray-200 dark:bg-gray-800"
>
<div
v-if="!['/playground'].includes($route.path)"
v-if="!['/playground'].includes(route.path)"
class="bg-gray-50 px-4 dark:bg-gray-900"
>
<Logo class="h-5 w-5" />
Expand Down
8 changes: 6 additions & 2 deletions components/Header.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { NavItem } from "@nuxt/content/dist/runtime/types";
import type { NavItem } from "@nuxt/content";
import type { HeaderLink } from "#ui-pro/types";
const links: HeaderLink[] = [
Expand All @@ -21,23 +21,27 @@ const links: HeaderLink[] = [
{
label: "Kirby SEO Audit",
description: "State-of-the-art SEO analysis",
icon: "i-ri-seo-fill",
to: "/",
},
{
label: "Live Preview",
to: "https://kirby.tools/live-preview",
icon: "i-ri-presentation-fill",
description: "Real-time page preview",
target: "_blank",
},
{
label: "Content Translator",
to: "https://kirby.tools/content-translator",
description: "DeepL-powered translations",
icon: "i-ri-translate",
description: "Content translation in the Panel or server-side",
target: "_blank",
},
{
label: "Kirby Copilot",
to: "https://kirbycopilot.com",
icon: "i-ri-sparkling-fill",
description: "AI-powered content generation",
target: "_blank",
},
Expand Down
2 changes: 1 addition & 1 deletion error.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ParsedContent } from "@nuxt/content/dist/runtime/types";
import type { ParsedContent } from "@nuxt/content";
import type { NuxtError } from "#app";
defineProps<{
Expand Down
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ParsedContent } from "@nuxt/content/dist/runtime/types";
import type { ParsedContent } from "@nuxt/content";
const { data: nav } = await useAsyncData(
"navigation",
Expand Down
4 changes: 0 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ export default defineNuxtConfig({
format: ["webp"],
},

ui: {
icons: ["heroicons", "ri", "logos"],
},

hooks: {
// Define `@nuxt/ui` components as global to use them in `.md`
"components:extend": (components) => {
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@9.3.0",
"packageManager": "pnpm@9.7.0",
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
Expand All @@ -17,22 +17,22 @@
"prepare": "nuxi prepare"
},
"devDependencies": {
"@antfu/eslint-config": "^2.8.3",
"@iconify-json/heroicons": "^1.1.20",
"@iconify-json/logos": "^1.1.42",
"@iconify-json/ri": "^1.1.20",
"@nuxt/content": "^2.12.1",
"@nuxt/image": "^1.4.0",
"@nuxt/ui-pro": "^1.0.2",
"@types/node": "^20.11.30",
"@vueuse/nuxt": "^10.9.0",
"eslint": "^8.57.0",
"nuxt": "^3.11.1",
"nuxt-og-image": "^3.0.0-rc.47",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3",
"vue-tsc": "^2.0.7"
"@antfu/eslint-config": "^2.24.1",
"@iconify-json/heroicons": "^1.1.24",
"@iconify-json/logos": "^1.1.44",
"@iconify-json/ri": "^1.1.22",
"@nuxt/content": "^2.13.2",
"@nuxt/image": "^1.7.0",
"@nuxt/ui-pro": "^1.4.1",
"@types/node": "^20.14.14",
"@vueuse/nuxt": "^10.11.0",
"eslint": "^9.8.0",
"nuxt": "^3.12.4",
"nuxt-og-image": "^3.0.0-rc.64",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.8",
"typescript": "^5.5.4",
"vue-tsc": "^2.0.29"
}
}
2 changes: 1 addition & 1 deletion pages/docs.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { NavItem } from "@nuxt/content/dist/runtime/types";
import type { NavItem } from "@nuxt/content";
const navigation = inject<Ref<NavItem[]>>("navigation", ref([]));
Expand Down
Loading

0 comments on commit 6c62031

Please sign in to comment.