diff --git a/docs/.vitepress/config/shared.ts b/docs/.vitepress/config/shared.ts index f162c276f..57e50a913 100644 --- a/docs/.vitepress/config/shared.ts +++ b/docs/.vitepress/config/shared.ts @@ -14,6 +14,8 @@ export default defineConfig({ ['meta', { property: 'og:site_name', content: 'OpenAPI TypeScript' }], ['meta', { property: 'og:image', content: '/logo.png' }], ['meta', { property: 'og:url', content: 'https://heyapi.vercel.app' }], + ['script', {}, 'window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };'], + ['script', { defer: '', src: '/_vercel/insights/script.js' }], ], themeConfig: { logo: '/logo.png', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9b8b1a7e9..ca343ca99 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8419,6 +8419,7 @@ packages: /pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} + requiresBuild: true dev: true /piscina@4.4.0: @@ -9166,6 +9167,7 @@ packages: /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true + requiresBuild: true dev: true /semver@6.3.1: