diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 5507e1d5..f2653843 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -42,7 +42,7 @@ jobs: run: | IS_DIRTY=1 - #php app/packages.php + php app/packages.php { git add . && git commit -a -m "Updating package files"; } || IS_DIRTY=0 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 0e87e266..da063b5f 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,6 +1,8 @@ const fs = require('fs'); const path = require('path'); +const { viteBundler, defaultTheme } = require('vuepress') + require('dotenv').config(); const hostname = 'laravel-lang.com'; @@ -15,8 +17,9 @@ module.exports = { ['meta', { name: 'twitter:image', content: `https://${ hostname }/images/social-logo.png` }] ], - theme: '@vuepress/theme-default', - themeConfig: { + bundler: viteBundler(), + + theme: defaultTheme({ hostname, base: '/', @@ -85,7 +88,7 @@ module.exports = { ] } ] - }, + }), plugins: [ [ diff --git a/package.json b/package.json index ec18a06f..f5144883 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,11 @@ "docs" ], "devDependencies": { - "@vuepress/plugin-docsearch": "2.0.0-beta.35", - "@vuepress/plugin-theme-data": "2.0.0-beta.35", + "@vuepress/plugin-docsearch": "^2.0.0-beta.42", + "@vuepress/plugin-theme-data": "^2.0.0-beta.42", "@vueuse/core": "^7.5.5", "dotenv": "^15.0.0", - "vuepress": "2.0.0-beta.35", + "vuepress": "^2.0.0-beta.42", "vuepress-plugin-seo": "^0.2.0" } }