Skip to content

Commit

Permalink
chore(deps): update all deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Aug 2, 2023
1 parent 0b5d6d0 commit 243aae1
Show file tree
Hide file tree
Showing 3 changed files with 5,861 additions and 9,000 deletions.
247 changes: 132 additions & 115 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,119 +1,136 @@
import codeImport from 'remark-code-import';
export default defineNuxtConfig({
modules: [
'@nuxt/devtools',
'@nuxt/content',
'nuxt-gtag',
'nuxt-simple-sitemap',
'nuxt-multi-cache'
],
app: {
baseURL: "/",
// pageTransition: {name: 'page', mode: 'out-in'}
head: {
link: [
{rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png'},
{rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png'},
{rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png'},
{rel: 'manifest', href: '/site.webmanifest'},
{rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#2c0059'},
{name: 'msapplication-TileColor', content: '#2c0059'},
{rel: 'sitemap', type: 'application/xml', href: '/sitemap.xml', title: 'Sitemap'}
],
meta: [
{name: 'msapplication-TileColor', content: '#2c0059'},
{name: 'theme-color', content: '#2c0059'},
{property: 'og:image', content:'/og-image.png'}
]
}
},
css: [
'@/assets/styles/vendor.scss',
'@/assets/styles/app.scss'
],
content: {
documentDriven: false,
highlight: {
// preload: [
// 'bash',
// 'yaml',
// 'sql',
// 'java',
// 'dockerfile',
// 'hcl',
// 'python',
// 'twig',
// 'groovy',
// 'json5',
// ],
theme: 'github-dark'
},
navigation: {
fields: ["_file"]
},
markdown: {
remarkPlugins: {
'remark-flexible-markers': {
markerClassName: 'type-mark'
},
'remark-code-import': {
instance: codeImport
},
}
},
},
router: {
trailingSlash: false,
options: {
strict: true
}
},
devServer: {
port: 3001
},
vue: {
compilerOptions: {
isCustomElement: (tag) => {
return tag === "rapi-doc";
}
}
},
gtag: {
id: 'G-EYVNS03HHR',
initialConsent: false
},
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://kestra.io',
}
},
// if using nuxt generate
nitro: {
compressPublicAssets: true,
prerender: {
routes: ['/rss.xml'],
},
},
routeRules: {
// 2023-04-17 : defines old site redirects
'/features/usages.html': {redirect: '/use-cases'},
'/features/features.html': {redirect: '/features'},
'/features/enterprise.html': {redirect: '/enterprise'},
'/company/privacy-policy.html': {redirect: '/privacy-policy'},
'/company/cookie-policy.html': {redirect: '/cookie-policy'},
'/company/contact.html': {redirect: '/contact-us'},
'/company/careers.html': {redirect: '/careers'},
'/company/company/about-us.html': {redirect: '/about-us'},
'/community.html': {redirect: '/community'},
'/slack': {redirect: 'https://api.kestra.io/v1/communities/slack/redirect'},
modules: [
'@nuxt/devtools',
'@nuxt/content',
'nuxt-gtag',
'nuxt-simple-sitemap',
'nuxt-multi-cache'
],

},
build: {
transpile: ['vue3-count-to']
},
multiCache: {
data: {
enabled: true,
}
app: {
baseURL: "/",
// pageTransition: {name: 'page', mode: 'out-in'}
head: {
link: [
{rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png'},
{rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png'},
{rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png'},
{rel: 'manifest', href: '/site.webmanifest'},
{rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#2c0059'},
{name: 'msapplication-TileColor', content: '#2c0059'},
{rel: 'sitemap', type: 'application/xml', href: '/sitemap.xml', title: 'Sitemap'}
],
meta: [
{name: 'msapplication-TileColor', content: '#2c0059'},
{name: 'theme-color', content: '#2c0059'},
{property: 'og:image', content:'/og-image.png'}
]
}
},

css: [
'@/assets/styles/vendor.scss',
'@/assets/styles/app.scss'
],

content: {
documentDriven: false,
highlight: {
// preload: [
// 'bash',
// 'yaml',
// 'sql',
// 'java',
// 'dockerfile',
// 'hcl',
// 'python',
// 'twig',
// 'groovy',
// 'json5',
// ],
theme: 'github-dark'
},
navigation: {
fields: ["_file"]
},
markdown: {
remarkPlugins: {
'remark-flexible-markers': {
markerClassName: 'type-mark'
},
'remark-code-import': {
instance: codeImport
},
}
},
},

router: {
trailingSlash: false,
options: {
strict: true
}
},

devServer: {
port: 3001
},

vue: {
compilerOptions: {
isCustomElement: (tag) => {
return tag === "rapi-doc";
}
}
},

gtag: {
id: 'G-EYVNS03HHR',
initialConsent: false
},

runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://kestra.io',
}
},

// if using nuxt generate
nitro: {
compressPublicAssets: true,
prerender: {
routes: ['/rss.xml'],
},
},

routeRules: {
// 2023-04-17 : defines old site redirects
'/features/usages.html': {redirect: '/use-cases'},
'/features/features.html': {redirect: '/features'},
'/features/enterprise.html': {redirect: '/enterprise'},
'/company/privacy-policy.html': {redirect: '/privacy-policy'},
'/company/cookie-policy.html': {redirect: '/cookie-policy'},
'/company/contact.html': {redirect: '/contact-us'},
'/company/careers.html': {redirect: '/careers'},
'/company/company/about-us.html': {redirect: '/about-us'},
'/community.html': {redirect: '/community'},
'/slack': {redirect: 'https://api.kestra.io/v1/communities/slack/redirect'},
},

build: {
transpile: ['vue3-count-to']
},

multiCache: {
data: {
enabled: true,
}
},

devtools: {
timeline: {
enabled: true
}
})
}
})
Loading

1 comment on commit 243aae1

@vercel
Copy link

@vercel vercel bot commented on 243aae1 Aug 2, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io.vercel.app
kestra-io-git-main-kestra.vercel.app
kestra-io-kestra.vercel.app

Please sign in to comment.