Update deps

This commit is contained in:
kakkokari-gtyih 2024-01-28 12:41:15 +09:00
parent f6096deffa
commit a83d183170
3 changed files with 1065 additions and 1565 deletions

View File

@ -21,7 +21,9 @@ const repositoryUrl = 'https://github.com/misskey-dev/misskey-hub-next';
// 言語定義は /assets/data/locales.ts に移動しました // 言語定義は /assets/data/locales.ts に移動しました
function getRouteRules(): NuxtConfig['routeRules'] { function getRouteRules(): NuxtConfig['routeRules'] | undefined {
if (process.env.NODE_ENV === 'development' || process.prerender) return undefined;
// 言語ごとに割り当てる必要のないRouteRules // 言語ごとに割り当てる必要のないRouteRules
const staticRules: NuxtConfig['routeRules'] = { const staticRules: NuxtConfig['routeRules'] = {
'/ja/blog/**': { isr: true }, '/ja/blog/**': { isr: true },
@ -170,6 +172,9 @@ export default defineNuxtConfig({
'@/server/plugins/appendComment.ts', '@/server/plugins/appendComment.ts',
'@/server/plugins/i18nRedirector.ts', '@/server/plugins/i18nRedirector.ts',
], ],
prerender: {
failOnError: false,
}
}, },
hooks: { hooks: {
'build:before': async (...args) => { 'build:before': async (...args) => {

View File

@ -10,7 +10,7 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/parser": "^7.23.6", "@babel/parser": "^7.23.6",
"@nuxt/content": "^2.10.0", "@nuxt/content": "npm:@nuxt/content-edge@latest",
"@nuxtjs/color-mode": "^3.3.2", "@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/i18n": "8.0.0", "@nuxtjs/i18n": "8.0.0",
"@rollup/plugin-yaml": "^4.1.2", "@rollup/plugin-yaml": "^4.1.2",
@ -27,7 +27,7 @@
"mfm-js": "^0.23.3", "mfm-js": "^0.23.3",
"misskey-js": "2024.2.0-beta.3", "misskey-js": "2024.2.0-beta.3",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"nuxt": "^3.9.0", "nuxt": "^3.9.3",
"postcss": "^8.4.32", "postcss": "^8.4.32",
"sass": "^1.69.5", "sass": "^1.69.5",
"schema-dts": "^1.1.2", "schema-dts": "^1.1.2",

File diff suppressed because it is too large Load Diff