Skip to content

Commit 486e1a8

Browse files
chore: update dependencies and disable nuxt-seo-kit
1 parent 7a42d78 commit 486e1a8

9 files changed

+5989
-4543
lines changed

.blog/nuxt.config.ts

+9-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ export default defineNuxtConfig({
2424
siteDescription: '',
2525
language: 'en-US',
2626
titleSeparator: '·',
27-
content: {
28-
anchorLinks: {
29-
depth: 6,
30-
},
31-
},
27+
// content: {
28+
// // anchorLinks: {
29+
// // depth: 6,
30+
// // },
31+
// },
3232
},
3333
},
34+
35+
experimental: {
36+
viewTransition: true,
37+
}
3438
})

.cooking/nuxt.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
export default defineNuxtConfig({
22
extends: '../',
3-
3+
4+
experimental: {
5+
viewTransition: true,
6+
},
47
// typescript: {
58
// shim: false,
69
// strict: true,

.cooking/tokens.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineTheme, palette } from 'pinceau'
1+
import { defineTheme } from 'pinceau'
22
import colors from 'tailwindcss/colors'
33
import { tailwindToRgb } from '../utils/node/colors'
44

.starter/tokens.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineTheme, palette } from 'pinceau'
1+
import { defineTheme } from 'pinceau'
22
import colors from 'tailwindcss/colors'
33
import { tailwindToRgb } from '../utils/node/colors'
44

app.vue

+12-13
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@
22
import type { Ref } from 'vue'
33
import type { StyloBasePage, ArticlePage, AuthorPage } from './types'
44
5-
const { page }: { page: Ref<StyloBasePage | ArticlePage | AuthorPage> } =
6-
useContent()
7-
if (page.value) {
8-
defineOgImageStatic({
9-
title: page.value.title,
10-
description: page.value.description,
11-
cover: page.value.avatar ?? page.value.cover,
12-
author: page.value.author,
13-
publishDate: page.value.publishDate,
5+
// const { page }: { page: Ref<StyloBasePage | ArticlePage | AuthorPage> } =
6+
// useContent()
7+
// if (page.value) {
8+
// defineOgImageStatic({
9+
// title: page.value.title,
10+
// description: page.value.description,
11+
// cover: page.value.avatar ?? page.value.cover,
12+
// author: page.value.author,
13+
// publishDate: page.value.publishDate,
1414
15-
component: page.value.layout === 'article' ? 'OgPostImage' : 'OgPageImage',
16-
})
17-
}
15+
// component: page.value.layout === 'article' ? 'OgPostImage' : 'OgPageImage',
16+
// })
17+
// }
1818
</script>
1919

2020
<template>
2121
<AppLayout>
22-
<SeoKit />
2322
<NuxtPage />
2423
</AppLayout>
2524
</template>

nuxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createResolver } from '@nuxt/kit'
33
const { resolve } = createResolver(import.meta.url)
44

55
export default defineNuxtConfig({
6-
extends: ['nuxt-seo-kit'],
6+
// extends: ['nuxt-seo-kit'],
77
modules: [
88
'@vueuse/nuxt',
99
'pinceau/nuxt',

package.json

+24-25
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,34 @@
1717
"lint": "eslint --fix --ext .ts,.vue ."
1818
},
1919
"dependencies": {
20-
"@nuxt/content": "^2.4.3",
21-
"@nuxthq/studio": "^0.8.1",
22-
"@nuxtjs/color-mode": "^3.2.0",
23-
"@nuxtjs/tailwindcss": "^6.4.1",
20+
"@nuxt/content": "^2.9.0",
21+
"@nuxthq/studio": "^1.0.4",
22+
"@nuxtjs/color-mode": "^3.3.2",
23+
"@nuxtjs/tailwindcss": "^6.9.5",
2424
"@tailwindcss/aspect-ratio": "0.4.2",
25-
"@tailwindcss/forms": "0.5.3",
26-
"@tailwindcss/line-clamp": "0.4.2",
27-
"@tailwindcss/typography": "0.5.9",
28-
"@vueuse/nuxt": "^9.13.0",
25+
"@tailwindcss/forms": "0.5.7",
26+
"@tailwindcss/typography": "0.5.10",
27+
"@vueuse/nuxt": "^10.6.1",
2928
"chroma-js": "^2.4.2",
30-
"date-fns": "^2.29.3",
31-
"focus-trap": "^7.3.1",
32-
"focus-trap-vue": "^4.0.2",
33-
"mdast-util-to-string": "^3.1.1",
34-
"nuxt-icon": "^0.3.2",
35-
"nuxt-seo-kit": "^1.3.2",
36-
"pinceau": "^0.18.8",
29+
"date-fns": "^2.30.0",
30+
"focus-trap": "^7.5.4",
31+
"focus-trap-vue": "^4.0.3",
32+
"mdast-util-to-string": "^4.0.0",
33+
"nuxt-icon": "^0.6.6",
34+
"nuxt-seo-kit": "^1.3.13",
35+
"pinceau": "0.20.1",
3736
"reading-time": "^1.5.0"
3837
},
3938
"devDependencies": {
40-
"@nuxtjs/eslint-config-typescript": "^12.0.0",
41-
"@types/chroma-js": "^2.4.0",
42-
"eslint": "^8.35.0",
43-
"eslint-config-prettier": "^8.6.0",
44-
"eslint-plugin-prettier-vue": "^4.2.0",
45-
"eslint-plugin-tailwindcss": "^3.10.1",
46-
"eslint-plugin-vuejs-accessibility": "^2.1.0",
47-
"nuxt": "^3.2.3",
48-
"prettier": "^2.8.4",
49-
"typescript": "^4.9.5"
39+
"@nuxtjs/eslint-config-typescript": "^12.1.0",
40+
"@types/chroma-js": "^2.4.3",
41+
"eslint": "^8.54.0",
42+
"eslint-config-prettier": "^9.0.0",
43+
"eslint-plugin-prettier-vue": "^5.0.0",
44+
"eslint-plugin-tailwindcss": "^3.13.0",
45+
"eslint-plugin-vuejs-accessibility": "^2.2.0",
46+
"nuxt": "^3.8.1",
47+
"prettier": "^3.1.0",
48+
"typescript": "^5.2.2"
5049
}
5150
}

0 commit comments

Comments
 (0)