Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Jul 21, 2024
1 parent f1c9631 commit 7b2a695
Show file tree
Hide file tree
Showing 3 changed files with 633 additions and 430 deletions.
20 changes: 17 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },

modules: [
'@nuxtjs/tailwindcss',
'shadcn-nuxt',
Expand All @@ -11,17 +12,21 @@ export default defineNuxtConfig({
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
],

hub: {
database: true,
blob: true,
},

routeRules: {
'/new': {
ssr: false,
},
'/': { prerender: true },
'/new': { ssr: false },
},

build: {
transpile: ['trpc-nuxt'],
},

shadcn: {
/**
* Prefix for all the imported component
Expand All @@ -33,11 +38,20 @@ export default defineNuxtConfig({
*/
componentDir: './components/ui',
},

typescript: {
tsConfig: {
compilerOptions: {
baseUrl: '.',
},
},
},

vite: {
optimizeDeps: {
exclude: ['vee-validate'],
},
},

compatibilityDate: '2024-07-21',
});
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clsx": "^2.1.1",
"drizzle-orm": "^0.31.4",
"fuse.js": "^7.0.0",
"nuxt": "3.11.2",
"nuxt": "^3.12.4",
"radix-vue": "^1.9.2",
"shadcn-nuxt": "^0.10.4",
"tailwind-merge": "^2.4.0",
Expand All @@ -37,7 +37,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@antfu/eslint-config": "^2.23.0",
"@antfu/eslint-config": "^2.23.1",
"@nuxtjs/tailwindcss": "^6.12.1",
"@pinia-plugin-persistedstate/nuxt": "^1.2.1",
"@tiptap/core": "^2.5.4",
Expand All @@ -51,6 +51,7 @@
"@tiptap/extension-text": "^2.5.4",
"@tiptap/extension-underline": "^2.5.4",
"@tiptap/html": "^2.5.4",
"@tiptap/pm": "^2.5.4",
"@tiptap/starter-kit": "^2.5.4",
"@tiptap/vue-3": "^2.5.4",
"@vueuse/core": "^10.11.0",
Expand All @@ -64,4 +65,4 @@
"vue-tsc": "^2.0.26",
"wrangler": "^3.65.1"
}
}
}
Loading

0 comments on commit 7b2a695

Please sign in to comment.