1
0

chore: update vuepress

This commit is contained in:
Lucien Cartier-Tilet 2025-02-09 12:31:39 +01:00
parent 711bcac662
commit a43a20a3a7
4 changed files with 2806 additions and 2002 deletions

View File

@ -25,5 +25,5 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.ACCOUNT_ID }}
projectName: conlang-phundrak-com
directory: content/.vuepress/dist/
directory: docs/.vuepress/dist/
githubToken: ${{ secrets.TOKEN }}

View File

@ -1,12 +1,15 @@
import { defaultTheme } from '@vuepress/theme-default';
import { defineUserConfig } from 'vuepress';
import { viteBundler } from '@vuepress/bundler-vite';
import { searchProPlugin } from 'vuepress-plugin-search-pro';
import { umamiAnalyticsPlugin } from '@vuepress/plugin-umami-analytics';
import { slimsearchPlugin } from '@vuepress/plugin-slimsearch';
import head from './head';
const isProd = process.env.NODE_ENV === 'production';
export default defineUserConfig({
lang: 'en-US',
lang: 'en-GB',
title: "Phundrak's Conlangs",
head: head,
description: 'Documentation of the constructed languages made by Phundrak',
@ -19,11 +22,19 @@ export default defineUserConfig({
},
},
plugins: [
searchProPlugin({
slimsearchPlugin({
indexContent: true,
}),
],
bundler: viteBundler({}),
bundler: isProd
? viteBundler({})
: viteBundler({
viteOptions: {
server: {
allowedHosts: true,
},
},
}),
theme: defaultTheme({
sidebarDepth: 5,
repo: 'https://labs.phundrak.com/phundrak/conlang.phundrak.com',

4776
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,11 +8,12 @@
"license": "AGPL-3.0",
"private": true,
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/plugin-umami-analytics": "2.0.0-rc.41",
"@vuepress/theme-default": "2.0.0-rc.41",
"vuepress": "2.0.0-rc.14",
"vuepress-plugin-search-pro": "2.0.0-rc.52"
"@vuepress/bundler-vite": "2.0.0-rc.19",
"@vuepress/plugin-slimsearch": "^2.0.0-rc.74",
"@vuepress/plugin-umami-analytics": "^2.0.0-rc.74",
"@vuepress/theme-default": "^2.0.0-rc.36",
"sass-embedded": "^1.83.4",
"vuepress": "2.0.0-rc.19"
},
"dependencies": {
"less": "^4.2.0",