diff --git a/app.config.ts b/app.config.ts deleted file mode 100644 index 87b4e82..0000000 --- a/app.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -export default defineAppConfig({ - cover: '/cover.jpg', - socials: {} -}) - -declare module '@nuxt/schema' { - interface AppConfigInput { - cover?: string, - socials?: { - twitter?: string - github?: string - } - } -} diff --git a/nuxt.schema.ts b/nuxt.schema.ts new file mode 100644 index 0000000..386eef0 --- /dev/null +++ b/nuxt.schema.ts @@ -0,0 +1,12 @@ +export default defineNuxtConfigSchema({ + appConfig: { + /** Default OG image path */ + cover: '/cover.jpg', + socials: { + /** Twitter handle */ + twitter: '', + /** Github repository name */ + github: '' + } + } +}) diff --git a/package.json b/package.json index be025d9..bc7be0d 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,10 @@ "tailwind.config.ts" ], "dependencies": { - "@nuxt-themes/typography": "^0.0.22", + "@nuxt-themes/typography": "^0.0.25", "@nuxt/content": "^2.2.2", - "@nuxthq/studio": "^0.2.6", - "@nuxtjs/color-mode": "^3.1.8", + "@nuxthq/studio": "^0.3.0", + "@nuxtjs/color-mode": "^3.2.0", "@nuxtjs/tailwindcss": "^6.1.3", "nuxt-icon": "^0.1.7" }, @@ -35,5 +35,8 @@ "nuxt": "^3.0.0", "standard-version": "^9.5.0", "typescript": "^4.9.3" + }, + "resolutions": { + "pinceau": "^0.6.24" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 858683e..274ebb0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,10 +1,13 @@ lockfileVersion: 5.4 +overrides: + pinceau: ^0.6.24 + specifiers: - '@nuxt-themes/typography': ^0.0.22 + '@nuxt-themes/typography': ^0.0.25 '@nuxt/content': ^2.2.2 - '@nuxthq/studio': ^0.2.6 - '@nuxtjs/color-mode': ^3.1.8 + '@nuxthq/studio': ^0.3.0 + '@nuxtjs/color-mode': ^3.2.0 '@nuxtjs/eslint-config-typescript': ^12.0.0 '@nuxtjs/tailwindcss': ^6.1.3 eslint: ^8.28.0 @@ -14,10 +17,10 @@ specifiers: typescript: ^4.9.3 dependencies: - '@nuxt-themes/typography': 0.0.22 + '@nuxt-themes/typography': 0.0.25 '@nuxt/content': 2.2.2 - '@nuxthq/studio': 0.2.6 - '@nuxtjs/color-mode': 3.1.8 + '@nuxthq/studio': 0.3.0 + '@nuxtjs/color-mode': 3.2.0 '@nuxtjs/tailwindcss': 6.1.3 nuxt-icon: 0.1.7 @@ -489,10 +492,10 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.13.0 - /@nuxt-themes/tokens/1.1.5: - resolution: {integrity: sha512-YTVhFFMiSxhRQe37+Le5kAnQzD+vy/TPLkt61a3tXXv1guy1jBfwU5vEKOgL/CY/o1PjYU2hrdR4E33mcYRScQ==} + /@nuxt-themes/tokens/1.1.13: + resolution: {integrity: sha512-XseCu1sACziUOIXS/MXKPZA4NwoWVTp7jnZ6qKQ433w/6qP5VUVeqH0/MmXDojIamlZGD/wSfUPB8z4xHGRDWA==} dependencies: - '@nuxtjs/color-mode': 3.1.8 + '@nuxtjs/color-mode': 3.2.0 '@vueuse/core': 9.5.0 pinceau: 0.6.26 style-value-types: 5.1.2 @@ -505,11 +508,11 @@ packages: - vue dev: false - /@nuxt-themes/typography/0.0.22: - resolution: {integrity: sha512-ozvFhlfyTsLx9HTuRPP5VOeuEOiXOiUL2YPJh7WjaWmrGZvXWPVFJZpq3zBS5fgYFWBpkYqSbRSvj/GzhU5ahQ==} + /@nuxt-themes/typography/0.0.25: + resolution: {integrity: sha512-Iv9oTNV91aG5KrjKZNx/KwKlNSKfRHEQnkBDoUyIIySGC76V40icv08hZJUDkHhP/ERA0/Z4jXSo1DGLrsE7mA==} dependencies: - '@nuxt-themes/tokens': 1.1.5 - '@nuxtjs/color-mode': 3.1.8 + '@nuxt-themes/tokens': 1.1.13 + '@nuxtjs/color-mode': 3.2.0 nuxt-icon: 0.1.7 pinceau: 0.6.26 transitivePeerDependencies: @@ -767,13 +770,14 @@ packages: - vti dev: true - /@nuxthq/studio/0.2.6: - resolution: {integrity: sha512-kUd4oo3yCWij8JG3lu7c8Zm7BWNGx36p2DAXeHySNst0X4wAzDJlSMiRCql8UwTK0mGAvQRu6galiOseefiUGA==} + /@nuxthq/studio/0.3.0: + resolution: {integrity: sha512-352jr5/DuNdM1w9lOlHdeGGKJLv8LDwefSzK/JzSi0edqTp+s3S1qNA4suX5WNyDvLdlV3VxnPSPZ9UBvHjRcg==} dependencies: '@nuxt/kit': 3.0.0 '@nuxt/schema': 3.0.0 defu: 6.1.1 nuxt-component-meta: 0.3.4 + nuxt-config-schema: 0.3.2 socket.io-client: 4.5.3 ufo: 0.8.6 transitivePeerDependencies: @@ -783,12 +787,12 @@ packages: - utf-8-validate dev: false - /@nuxtjs/color-mode/3.1.8: - resolution: {integrity: sha512-ahgjmSzpjTpaxvyyGA/1wD2rNcSFXiqs3/A/GEllB1s4BboJVnBIqkwIQpAguq7IDVZG2tMAvqmnZHSfwrI3IA==} + /@nuxtjs/color-mode/3.2.0: + resolution: {integrity: sha512-isDR01yfadopiHQ/VEVUpyNSPrk5PCjUHS4t1qYRZwuRGefU4s9Iaxf6H9nmr1QFzoMgTm+3T0r/54jLwtpZbA==} dependencies: '@nuxt/kit': 3.0.0 lodash.template: 4.5.0 - pathe: 0.3.9 + pathe: 1.0.0 transitivePeerDependencies: - rollup - supports-color @@ -5873,6 +5877,19 @@ packages: - supports-color dev: false + /nuxt-config-schema/0.3.2: + resolution: {integrity: sha512-w2oXcWpnlo68foX6T/NHW6ngy9h3d2ps1Qjcc7iPKRVdPfMb8U/d8ROfbqL5Nw7GRBQdhvLvaE8cpCWSZTWQJw==} + dependencies: + '@nuxt/kit': 3.0.0 + defu: 6.1.1 + jiti: 1.16.0 + pathe: 1.0.0 + untyped: 1.0.0 + transitivePeerDependencies: + - rollup + - supports-color + dev: false + /nuxt-icon/0.1.7: resolution: {integrity: sha512-JQ2OKKulcDAUMiPY3Q4YaXncL5de9fiVdrgXKnNZU3Cs2VbR//RAR9xt90+hpmVzDSdEB5UXIJLnWc5uBxm/hw==} dependencies: @@ -6270,10 +6287,6 @@ packages: resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} dev: true - /pathe/0.3.9: - resolution: {integrity: sha512-6Y6s0vT112P3jD8dGfuS6r+lpa0qqNrLyHPOwvXMnyNTQaYiwgau2DP3aNDsR13xqtGj7rrPo+jFUATpU6/s+g==} - dev: false - /pathe/1.0.0: resolution: {integrity: sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==}