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 }}
 | 
					          apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
 | 
				
			||||||
          accountId: ${{ secrets.ACCOUNT_ID }}
 | 
					          accountId: ${{ secrets.ACCOUNT_ID }}
 | 
				
			||||||
          projectName: conlang-phundrak-com
 | 
					          projectName: conlang-phundrak-com
 | 
				
			||||||
          directory: content/.vuepress/dist/
 | 
					          directory: docs/.vuepress/dist/
 | 
				
			||||||
          githubToken: ${{ secrets.TOKEN }}
 | 
					          githubToken: ${{ secrets.TOKEN }}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,12 +1,15 @@
 | 
				
			|||||||
import { defaultTheme } from '@vuepress/theme-default';
 | 
					import { defaultTheme } from '@vuepress/theme-default';
 | 
				
			||||||
import { defineUserConfig } from 'vuepress';
 | 
					import { defineUserConfig } from 'vuepress';
 | 
				
			||||||
import { viteBundler } from '@vuepress/bundler-vite';
 | 
					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';
 | 
					import head from './head';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const isProd = process.env.NODE_ENV === 'production';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default defineUserConfig({
 | 
					export default defineUserConfig({
 | 
				
			||||||
  lang: 'en-US',
 | 
					  lang: 'en-GB',
 | 
				
			||||||
  title: "Phundrak's Conlangs",
 | 
					  title: "Phundrak's Conlangs",
 | 
				
			||||||
  head: head,
 | 
					  head: head,
 | 
				
			||||||
  description: 'Documentation of the constructed languages made by Phundrak',
 | 
					  description: 'Documentation of the constructed languages made by Phundrak',
 | 
				
			||||||
@ -19,11 +22,19 @@ export default defineUserConfig({
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  plugins: [
 | 
					  plugins: [
 | 
				
			||||||
    searchProPlugin({
 | 
					    slimsearchPlugin({
 | 
				
			||||||
      indexContent: true,
 | 
					      indexContent: true,
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  bundler: viteBundler({}),
 | 
					  bundler: isProd
 | 
				
			||||||
 | 
					    ? viteBundler({})
 | 
				
			||||||
 | 
					    : viteBundler({
 | 
				
			||||||
 | 
					        viteOptions: {
 | 
				
			||||||
 | 
					          server: {
 | 
				
			||||||
 | 
					            allowedHosts: true,
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					      }),
 | 
				
			||||||
  theme: defaultTheme({
 | 
					  theme: defaultTheme({
 | 
				
			||||||
    sidebarDepth: 5,
 | 
					    sidebarDepth: 5,
 | 
				
			||||||
    repo: 'https://labs.phundrak.com/phundrak/conlang.phundrak.com',
 | 
					    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",
 | 
					  "license": "AGPL-3.0",
 | 
				
			||||||
  "private": true,
 | 
					  "private": true,
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@vuepress/bundler-vite": "2.0.0-rc.14",
 | 
					    "@vuepress/bundler-vite": "2.0.0-rc.19",
 | 
				
			||||||
    "@vuepress/plugin-umami-analytics": "2.0.0-rc.41",
 | 
					    "@vuepress/plugin-slimsearch": "^2.0.0-rc.74",
 | 
				
			||||||
    "@vuepress/theme-default": "2.0.0-rc.41",
 | 
					    "@vuepress/plugin-umami-analytics": "^2.0.0-rc.74",
 | 
				
			||||||
    "vuepress": "2.0.0-rc.14",
 | 
					    "@vuepress/theme-default": "^2.0.0-rc.36",
 | 
				
			||||||
    "vuepress-plugin-search-pro": "2.0.0-rc.52"
 | 
					    "sass-embedded": "^1.83.4",
 | 
				
			||||||
 | 
					    "vuepress": "2.0.0-rc.19"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "less": "^4.2.0",
 | 
					    "less": "^4.2.0",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user