chore: update vuepress
This commit is contained in:
		
							parent
							
								
									711bcac662
								
							
						
					
					
						commit
						a43a20a3a7
					
				
							
								
								
									
										2
									
								
								.github/workflows/deploy.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/deploy.yaml
									
									
									
									
										vendored
									
									
								
							@ -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 }}
 | 
			
		||||
 | 
			
		||||
@ -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
									
									
									
								
							
							
						
						
									
										4776
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										11
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								package.json
									
									
									
									
									
								
							@ -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",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user