mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
Update dependencies
This commit is contained in:
@@ -10,11 +10,11 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
|
'@nuxt/content',
|
||||||
'@nuxtjs/seo',
|
'@nuxtjs/seo',
|
||||||
'@nuxt/ui',
|
'@nuxt/ui',
|
||||||
'nuxt-auth-utils',
|
'nuxt-auth-utils',
|
||||||
'@nuxthq/studio',
|
'@nuxthq/studio',
|
||||||
'@nuxt/content',
|
|
||||||
'@pinia/nuxt',
|
'@pinia/nuxt',
|
||||||
'@pinia-plugin-persistedstate/nuxt',
|
'@pinia-plugin-persistedstate/nuxt',
|
||||||
'@vueuse/nuxt',
|
'@vueuse/nuxt',
|
||||||
|
|||||||
22
package.json
22
package.json
@@ -13,34 +13,34 @@
|
|||||||
"lint:fix": "eslint . --fix"
|
"lint:fix": "eslint . --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ksassnowski/vueclid": "1.1.0",
|
"@ksassnowski/vueclid": "1.1.1",
|
||||||
"@nuxt/content": "2.12.0",
|
"@nuxt/content": "2.12.0",
|
||||||
"@nuxt/ui": "2.13.0",
|
"@nuxt/ui": "2.14.0",
|
||||||
"@pinia/nuxt": "0.5.1",
|
"@pinia/nuxt": "0.5.1",
|
||||||
"@prisma/client": "5.9.1",
|
"@prisma/client": "5.10.2",
|
||||||
"@vercel/analytics": "1.2.0",
|
"@vercel/analytics": "1.2.2",
|
||||||
"@vercel/speed-insights": "1.0.10",
|
"@vercel/speed-insights": "1.0.10",
|
||||||
"nuxt": "3.10.2",
|
"nuxt": "3.10.3",
|
||||||
"nuxt-auth-utils": "0.0.18",
|
"nuxt-auth-utils": "0.0.18",
|
||||||
"pinia": "2.1.7",
|
"pinia": "2.1.7",
|
||||||
"postcss-custom-properties": "13.3.4",
|
"postcss-custom-properties": "13.3.5",
|
||||||
"prisma": "5.9.1",
|
"prisma": "5.10.2",
|
||||||
"sass": "1.71.0",
|
"sass": "1.71.1",
|
||||||
"superjson": "2.2.1",
|
"superjson": "2.2.1",
|
||||||
"tailwindcss": "3.4.1",
|
"tailwindcss": "3.4.1",
|
||||||
"zod": "^3.22.4"
|
"zod": "^3.22.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "2.6.4",
|
"@antfu/eslint-config": "2.6.4",
|
||||||
"@iconify/json": "2.2.183",
|
"@iconify/json": "2.2.185",
|
||||||
"@nuxt/eslint-config": "^0.2.0",
|
"@nuxt/eslint-config": "^0.2.0",
|
||||||
"@nuxthq/studio": "1.0.11",
|
"@nuxthq/studio": "1.0.11",
|
||||||
"@nuxtjs/seo": "2.0.0-rc.8",
|
"@nuxtjs/seo": "2.0.0-rc.8",
|
||||||
"@pinia-plugin-persistedstate/nuxt": "1.2.0",
|
"@pinia-plugin-persistedstate/nuxt": "1.2.0",
|
||||||
"@tailwindcss/typography": "0.5.10",
|
"@tailwindcss/typography": "0.5.10",
|
||||||
"@types/node": "20.11.19",
|
"@types/node": "20.11.19",
|
||||||
"@vueuse/core": "10.7.2",
|
"@vueuse/core": "10.8.0",
|
||||||
"@vueuse/nuxt": "10.7.2",
|
"@vueuse/nuxt": "10.8.0",
|
||||||
"eslint": "8.56.0",
|
"eslint": "8.56.0",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
/* eslint-disable node/prefer-global/process */
|
||||||
export default defineNuxtRouteMiddleware((to) => {
|
export default defineNuxtRouteMiddleware((to) => {
|
||||||
if (to.path === '/bookmarks' || to.path === '/writing') {
|
if (to.path === '/bookmarks' || to.path === '/writing' && process.env.NODE_ENV !== 'development') {
|
||||||
return navigateTo('/', {
|
return navigateTo('/', {
|
||||||
redirectCode: 301,
|
redirectCode: 301,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user