From f44b212ef595479823d7593c978965f0b6b7f8d4 Mon Sep 17 00:00:00 2001 From: Victor Bo <10667379@qq.com> Date: Tue, 21 Nov 2023 14:55:10 +0800 Subject: [PATCH] fix: fixed build docs error --- .github/workflows/deployment.yml | 5 ++- docs/package.json | 2 +- pnpm-lock.yaml | 69 ++++---------------------------- 3 files changed, 12 insertions(+), 64 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index f83331d..b8bfe19 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -23,8 +23,11 @@ jobs: - name: Install run: nci + - name: Packages + run: nr build + - name: Build - run: 'nr build:docs' + run: nr build:docs - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/docs/package.json b/docs/package.json index 9e96406..114b757 100644 --- a/docs/package.json +++ b/docs/package.json @@ -41,7 +41,7 @@ "unocss": "^0.57.6", "vite": "^5.0.0", "vite-plugin-externals": "^0.6.2", - "vitepress": "1.0.0-rc.24", + "vitepress": "1.0.0-rc.29", "vue": "^3.3.8" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 576aa87..968a9f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,8 +115,8 @@ importers: specifier: ^0.6.2 version: 0.6.2(vite@5.0.0) vitepress: - specifier: 1.0.0-rc.24 - version: 1.0.0-rc.24(@algolia/client-search@4.20.0)(@types/node@20.9.3)(postcss@8.4.31)(sass@1.69.5)(search-insights@2.11.0)(typescript@5.3.2) + specifier: 1.0.0-rc.29 + version: 1.0.0-rc.29(@algolia/client-search@4.20.0)(@types/node@20.9.3)(postcss@8.4.31)(sass@1.69.5)(search-insights@2.11.0)(typescript@5.3.2) vue: specifier: ^3.3.8 version: 3.3.8(typescript@5.3.2) @@ -2035,17 +2035,6 @@ packages: - rollup dev: true - /@vitejs/plugin-vue@4.3.1(vite@4.5.0)(vue@3.3.8): - resolution: {integrity: sha512-tUBEtWcF7wFtII7ayNiLNDTCE1X1afySEo+XNVMNkFXaThENyCowIEX095QqbJZGTgoOcSVDJGlnde2NG4jtbQ==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: ^4.0.0 - vue: ^3.2.25 - dependencies: - vite: 4.5.0(@types/node@20.9.3)(sass@1.69.5) - vue: 3.3.8(typescript@5.3.2) - dev: true - /@vitejs/plugin-vue@4.5.0(vite@5.0.0)(vue@3.3.8): resolution: {integrity: sha512-a2WSpP8X8HTEww/U00bU4mX1QpLINNuz/2KMNpLsdu3BzOpak3AGI1CJYBTXcc4SPhaD0eNRUp7IyQK405L5dQ==} engines: {node: ^14.18.0 || >=16.0.0} @@ -4674,14 +4663,6 @@ packages: glob: 10.3.10 dev: true - /rollup@3.29.4: - resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.3 - dev: true - /rollup@4.5.0: resolution: {integrity: sha512-41xsWhzxqjMDASCxH5ibw1mXk+3c4TNI2UjKbLxe6iEzrSQnqOzmmK8/3mufCPbzHNJ2e04Fc1ddI35hHy+8zg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -5307,43 +5288,6 @@ packages: vite: 5.0.0(@types/node@20.9.3)(sass@1.69.5) dev: true - /vite@4.5.0(@types/node@20.9.3)(sass@1.69.5): - resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 20.9.3 - esbuild: 0.18.20 - postcss: 8.4.31 - rollup: 3.29.4 - sass: 1.69.5 - optionalDependencies: - fsevents: 2.3.3 - dev: true - /vite@5.0.0(@types/node@20.9.3)(sass@1.69.5): resolution: {integrity: sha512-ESJVM59mdyGpsiNAeHQOR/0fqNoOyWPYesFto8FFZugfmhdHx8Fzd8sF3Q/xkVhZsyOxHfdM7ieiVAorI9RjFw==} engines: {node: ^18.0.0 || >=20.0.0} @@ -5381,8 +5325,8 @@ packages: fsevents: 2.3.3 dev: true - /vitepress@1.0.0-rc.24(@algolia/client-search@4.20.0)(@types/node@20.9.3)(postcss@8.4.31)(sass@1.69.5)(search-insights@2.11.0)(typescript@5.3.2): - resolution: {integrity: sha512-RpnL8cnOGwiRlBbrYQUm9sYkJbtyOt/wYXk2diTcokY4yvks/5lq9LuSt+MURWB6ZqwpSNHvTmxgaSfLoG0/OA==} + /vitepress@1.0.0-rc.29(@algolia/client-search@4.20.0)(@types/node@20.9.3)(postcss@8.4.31)(sass@1.69.5)(search-insights@2.11.0)(typescript@5.3.2): + resolution: {integrity: sha512-6sKmyEvH16SgMqkHzRwwadt9Uju13AOIqouzOVEg3Rk6X9mds6jLsq2GxnAJvg0s6bl/0Qs/cw+f8SNki82ltw==} hasBin: true peerDependencies: markdown-it-mathjax3: ^4.3.2 @@ -5396,16 +5340,17 @@ packages: '@docsearch/css': 3.5.2 '@docsearch/js': 3.5.2(@algolia/client-search@4.20.0)(search-insights@2.11.0) '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 4.3.1(vite@4.5.0)(vue@3.3.8) + '@vitejs/plugin-vue': 4.5.0(vite@5.0.0)(vue@3.3.8) '@vue/devtools-api': 6.5.1 '@vueuse/core': 10.6.1(vue@3.3.8) '@vueuse/integrations': 10.6.1(focus-trap@7.5.4)(vue@3.3.8) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 6.2.0 + mrmime: 1.0.1 postcss: 8.4.31 shiki: 0.14.5 - vite: 4.5.0(@types/node@20.9.3)(sass@1.69.5) + vite: 5.0.0(@types/node@20.9.3)(sass@1.69.5) vue: 3.3.8(typescript@5.3.2) transitivePeerDependencies: - '@algolia/client-search'