Skip to content

Commit

Permalink
update dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie committed Sep 9, 2024
1 parent 90ac5fe commit 7cea298
Show file tree
Hide file tree
Showing 3 changed files with 3,649 additions and 4,481 deletions.
34 changes: 19 additions & 15 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
export default defineNuxtConfig({
telemetry: false,
ssr: true,

css: ['~/assets/css/main.css'],

scripts: {
registry: {
googleTagManager: true,
},
},

runtimeConfig: {
public: {
directusUrl: process.env.DIRECTUS_URL as string,
tvUrl: process.env.DIRECTUS_TV_URL as string,
baseUrl: process.env.NUXT_PUBLIC_SITE_URL as string,
gtm: {
id: process.env.GOOGLE_TAG_MANAGER_ID!,
defer: true,
scripts: {
googleTagManager: {
id: process.env.GOOGLE_TAG_MANAGER_ID!,
},
},
},
},
Expand Down Expand Up @@ -39,6 +45,7 @@ export default defineNuxtConfig({

experimental: {
sharedPrerenderData: true,
buildCache: true,
},

nitro: {
Expand All @@ -48,21 +55,18 @@ export default defineNuxtConfig({
},
},

routeRules: {
// Posthog proxy to get around adblockers
'/ingest/static/**': { proxy: 'https://us-assets.i.posthog.com/static/**' },
'/ingest/**': { proxy: 'https://us.i.posthog.com/**' },
},
routeRules: {},

modules: [
'@vueuse/nuxt',
'@nuxt/image',
'@nuxtjs/sitemap', // https://sitemap.nuxtjs.org/usage/sitemap
'@nuxt/fonts', // https://sitemap.nuxtjs.org/usage/sitemap
'@nuxt/scripts',
'@nuxtjs/sitemap',
'nuxt-og-image',
'@nuxt/icon',
'floating-vue/nuxt',
'@zadigetvoltaire/nuxt-gtm',
'nuxt-schema-org',
'@nuxtjs/fontaine',
'@formkit/auto-animate/nuxt',
],

Expand Down Expand Up @@ -108,9 +112,9 @@ export default defineNuxtConfig({
},
},

compatibilityDate: '2024-09-09',

vue: {
compilerOptions: {
isCustomElement: (tag) => tag === 'iconify-icon',
},
propsDestructure: true,
},
});
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@
"name": "@directus/website",
"private": true,
"scripts": {
"build": "nuxt build",
"build": "nuxt generate",
"dev": "nuxt dev",
"postinstall": "nuxt prepare",
"typecheck": "nuxt typecheck",
"lint": "eslint --cache .",
"format": "prettier --write \"**/*.{md,y?(a)ml,json,vue}\"",
"format": "prettier --write \"**/*.{md,y?(a)ml,json,vue,ts}\"",
"analyze": "nuxt analyze"
},
"devDependencies": {
"@directus/sdk": "16.1.1",
"@directus/format-title": "11.0.0",
"@directus/sdk": "17.0.1",
"@formkit/auto-animate": "0.8.2",
"@nuxt/devtools": "1.0.8",
"@nuxt/image": "1.3.0",
"@nuxt/kit": "3.11.1",
"@iconify-json/material-symbols": "1.2.1",
"@nuxt/devtools": "1.4.1",
"@nuxt/fonts": "0.7.2",
"@nuxt/icon": "1.5.1",
"@nuxt/image": "1.8.0",
"@nuxt/kit": "3.13.1",
"@nuxt/scripts": "0.8.5",
"@nuxtjs/eslint-module": "4.1.0",
"@nuxtjs/fontaine": "0.4.1",
"@nuxtjs/sitemap": "^5.1.0",
"@types/node": "20.11.19",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"@vueuse/core": "10.7.2",
"@vueuse/nuxt": "10.7.2",
"@zadigetvoltaire/nuxt-gtm": "0.0.13",
"eslint": "8.56.0",
"@nuxtjs/fontaine": "0.4.3",
"@nuxtjs/sitemap": "6.0.1",
"@types/node": "22.5.4",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"@vueuse/core": "11.0.3",
"@vueuse/nuxt": "11.0.3",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.21.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vue": "9.28.0",
"feed": "4.2.2",
"floating-vue": "5.2.2",
"fuse.js": "7.0.0",
"iconify-icon": "2.0.0",
"micromark": "4.0.0",
"micromark-extension-gfm": "3.0.0",
"nuxt": "3.11.1",
"nuxt-og-image": "3.0.0-rc.38",
"nuxt-schema-org": "3.3.4",
"nuxt": "3.13.1",
"nuxt-og-image": "3.0.0-rc.66",
"nuxt-schema-org": "3.3.9",
"p-queue": "8.0.1",
"posthog-js": "1.148.1",
"posthog-node": "4.0.1",
"prettier": "3.1.0",
"sass": "1.71.0",
"shiki": "1.1.3",
"typescript": "5.3.3",
"vue": "3.4.21",
"vue-router": "4.3.0",
"vue-tsc": "1.8.27"
"posthog-js": "1.161.1",
"posthog-node": "4.2.0",
"prettier": "3.3.3",
"sass": "1.78.0",
"shiki": "1.16.3",
"typescript": "5.6.2",
"vue-tsc": "2.1.6"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading

0 comments on commit 7cea298

Please sign in to comment.