Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Feb 28, 2025
1 parent 94d944c commit ebed59c
Show file tree
Hide file tree
Showing 9 changed files with 3,390 additions and 3,452 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm
- run: pnpm install
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down
6 changes: 2 additions & 4 deletions components/Kirby/Blocks.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { KirbyBlock } from '#nuxt-kql'
import type { ComponentPublicInstance } from 'vue'
import type { Component } from 'vue'
import {
LazyKirbyBlockHeading,
LazyKirbyBlockImage,
Expand All @@ -16,9 +16,7 @@ defineProps<{
blocks: KirbyBlock<string>[]
}>()
type ComponentConstructor = new (...args: any[]) => ComponentPublicInstance
const blockComponents: Record<string, ComponentConstructor> = {
const blockComponents: Record<string, Component> = {
heading: LazyKirbyBlockHeading,
image: LazyKirbyBlockImage,
line: LazyKirbyBlockLine,
Expand Down
2 changes: 1 addition & 1 deletion composables/page.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { HookResult } from '@nuxt/schema'
import { joinURL } from 'ufo'
import type { KirbyPageData } from '~/queries'
import { joinURL } from 'ufo'

/**
* Returns the currently active page, similar to Kirby's `$page` global variable
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { siteQuery } from './queries'

export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
compatibilityDate: '2025-01-01',

modules: [
'@nuxtjs/plausible',
Expand Down
37 changes: 22 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"private": true,
"packageManager": "pnpm@9.11.0",
"packageManager": "pnpm@10.5.2",
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
Expand All @@ -15,22 +15,29 @@
"prepare": "nuxi prepare"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.1",
"@nuxtjs/plausible": "^1.0.2",
"@antfu/eslint-config": "^4.3.0",
"@nuxtjs/plausible": "^1.2.0",
"@sindresorhus/slugify": "^2.2.1",
"@types/node": "^20.16.6",
"@unocss/eslint-config": "^0.62.4",
"@unocss/nuxt": "^0.62.4",
"@unocss/preset-wind": "^0.62.4",
"@vueuse/nuxt": "^11.1.0",
"eslint": "^9.11.1",
"nuxt": "^3.13.2",
"nuxt-kql": "^1.5.2",
"@types/node": "^22.13.5",
"@unocss/eslint-config": "^65.5.0",
"@unocss/nuxt": "^65.5.0",
"@unocss/preset-wind": "^65.5.0",
"@vueuse/nuxt": "^12.7.0",
"eslint": "^9.21.0",
"nuxt": "^3.15.4",
"nuxt-kql": "^1.5.4",
"nuxt-vitalizer": "^0.10.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"unocss": "^0.62.4",
"prettier": "^3.5.2",
"typescript": "^5.7.3",
"unocss": "^65.5.0",
"vue-router-better-scroller": "^0.0.0",
"vue-tsc": "^2.1.6"
"vue-tsc": "^2.2.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"esbuild",
"vue-demi"
]
}
}
2 changes: 1 addition & 1 deletion pages/[...slug].vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { getPageQuery } from '~/queries'
import type { KirbyPageResponse } from '~/queries'
import { getPageQuery } from '~/queries'
// Use current slug or fall back to the homepage
const { slug } = useRoute().params
Expand Down
Loading

0 comments on commit ebed59c

Please sign in to comment.