Skip to content

Commit

Permalink
feat: leverage nuxt.schema for app.config definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Nov 29, 2022
1 parent 34ef1d7 commit a75f304
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 39 deletions.
14 changes: 0 additions & 14 deletions app.config.ts

This file was deleted.

12 changes: 12 additions & 0 deletions nuxt.schema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default defineNuxtConfigSchema({
appConfig: {
/** Default OG image path */
cover: '/cover.jpg',
socials: {
/** Twitter handle */
twitter: '',
/** Github repository name */
github: ''
}
}
})
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -35,5 +35,8 @@
"nuxt": "^3.0.0",
"standard-version": "^9.5.0",
"typescript": "^4.9.3"
},
"resolutions": {
"pinceau": "^0.6.24"
}
}
57 changes: 35 additions & 22 deletions pnpm-lock.yaml

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

1 comment on commit a75f304

@vercel
Copy link

@vercel vercel bot commented on a75f304 Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.