Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: deps mismatch for vite-plugin-pages-sitemap (#3191)
Liyas Thomas3b217d78e7b5
diff --git a/packages/hoppscotch-selfhost-web/package.json b/packages/hoppscotch-selfhost-web/package.jsonindex e63437ca3..36b72811e 100644--- a/packages/hoppscotch-selfhost-web/package.json+++ b/packages/hoppscotch-selfhost-web/package.json@@ -66,7 +66,7 @@"vite-plugin-html-config": "^1.0.10","vite-plugin-inspect": "^0.7.4","vite-plugin-pages": "^0.26.0",- "vite-plugin-pages-sitemap": "^1.4.0",+ "vite-plugin-pages-sitemap": "^1.4.5","vite-plugin-pwa": "^0.13.1","vite-plugin-static-copy": "^0.12.0","vite-plugin-vue-layouts": "^0.7.0",diff --git a/packages/hoppscotch-selfhost-web/vite.config.ts b/packages/hoppscotch-selfhost-web/vite.config.tsindex 14c1a50a4..fb5268a53 100644--- a/packages/hoppscotch-selfhost-web/vite.config.ts+++ b/packages/hoppscotch-selfhost-web/vite.config.ts@@ -78,15 +78,14 @@ export default defineConfig({routeStyle: "nuxt",dirs: "../hoppscotch-common/src/pages",importMode: "async",- onRoutesGenerated(routes) {- return generateSitemap({+ onRoutesGenerated: (routes) =>+ generateSitemap({routes,nuxtStyle: true,allowRobots: true,dest: ".sitemap-gen",hostname: ENV.VITE_BASE_URL,- })- },+ }),}),StaticCopy({targets: [diff --git a/packages/hoppscotch-ui/package.json b/packages/hoppscotch-ui/package.jsonindex 36c6a920d..79c5afeff 100644--- a/packages/hoppscotch-ui/package.json+++ b/packages/hoppscotch-ui/package.json@@ -76,7 +76,7 @@"vite-plugin-html-config": "^1.0.10","vite-plugin-inspect": "^0.7.4","vite-plugin-pages": "^0.26.0",- "vite-plugin-pages-sitemap": "^1.4.0",+ "vite-plugin-pages-sitemap": "^1.4.5","vite-plugin-pwa": "^0.13.1","vite-plugin-vue-layouts": "^0.7.0","vite-plugin-windicss": "^1.8.8",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e098d4b88..3919b203a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -749,8 +749,8 @@ importers:specifier: ^0.26.0version: 0.26.0(@vue/[email protected])([email protected])vite-plugin-pages-sitemap:- specifier: ^1.4.0- version: 1.4.0+ specifier: ^1.4.5+ version: 1.4.5vite-plugin-pwa:specifier: ^0.13.1@@ -986,8 +986,8 @@ importers:specifier: ^0.26.0version: 0.26.0([email protected])vite-plugin-pages-sitemap:- specifier: ^1.4.0- version: 1.4.0+ specifier: ^1.4.5+ version: 1.4.5vite-plugin-pwa:specifier: ^0.13.1@@ -1327,8 +1327,8 @@ importers:specifier: ^0.26.0version: 0.26.0(@vue/[email protected])([email protected])vite-plugin-pages-sitemap:- specifier: ^1.4.0- version: 1.4.0+ specifier: ^1.4.5+ version: 1.4.5vite-plugin-pwa:specifier: ^0.13.1@@ -21853,8 +21853,8 @@ packages:- supports-colordev: true- resolution: {integrity: sha512-8GlmNSeObvDVUdmgutfWnGBZGsn3Zb8IXCjRODFB0tOhQqAQPZRwXrFha6ZLjvF4DgVJI3sW2FfiXa1wFxJvmg==}+ resolution: {integrity: sha512-AcEoJ+0D0P1CwR1LjzBznHs6yNQVP7ha7l6cl/VHrHFcQXbVyKc+QOmLi1a3eONy+aDA3K01pZVK8TzTIufq/w==}dev: true