matter-labs / zksync-docs

Developer documentation site for zkSync community.
https://docs.zksync.io/
Apache License 2.0
5 stars 27 forks source link

chore(deps): update dependency nuxt-gtag to v3 #216

Open renovate[bot] opened 3 weeks ago

renovate[bot] commented 3 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nuxt-gtag ^2.1.0 -> ^3.0.1 age adoption passing confidence

Release Notes

johannschopplich/nuxt-gtag (nuxt-gtag) ### [`v3.0.1`](https://redirect.github.com/johannschopplich/nuxt-gtag/releases/tag/v3.0.1) [Compare Source](https://redirect.github.com/johannschopplich/nuxt-gtag/compare/v3.0.0...v3.0.1) #####    🚀 Features - Mock composables when module is disabled  -  by [@​johannschopplich](https://redirect.github.com/johannschopplich) in [https://github.com/johannschopplich/nuxt-gtag/issues/90](https://redirect.github.com/johannschopplich/nuxt-gtag/issues/90) [(a1f3a)](https://redirect.github.com/johannschopplich/nuxt-gtag/commit/a1f3a58) #####     [View changes on GitHub](https://redirect.github.com/johannschopplich/nuxt-gtag/compare/v3.0.0...v3.0.1) ### [`v3.0.0`](https://redirect.github.com/johannschopplich/nuxt-gtag/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/johannschopplich/nuxt-gtag/compare/v2.1.0...v3.0.0) #####    🚨 Breaking Changes - `initMode` for manual Gtag initialization  -  by [@​johannschopplich](https://redirect.github.com/johannschopplich) [(f9080)](https://redirect.github.com/johannschopplich/nuxt-gtag/commit/f908010) #####    ℹ️ Migration In v2.x and earlier, the `enabled` option was used to control manual initialization of the Google tag script. This option has been replaced with `initMode` in v3.x. To migrate your configuration, set the `initMode` option to `manual`: ```diff export default defineNuxtConfig({ modules: ['nuxt-gtag'], gtag: { - enabled: false, + initMode: 'manual', id: 'GX-XXXXXXXXXX' } }) ``` The `enabled` option is still available in v3.x, but is now used to disable the Google tag module for the current environment. This is useful if you want to disable the module in development or staging environments: ```ts export default defineNuxtConfig({ modules: ['nuxt-gtag'], gtag: { enabled: process.env.NODE_ENV === 'production', id: 'G-XXXXXXXXXX' } }) ``` #####     [View changes on GitHub](https://redirect.github.com/johannschopplich/nuxt-gtag/compare/v2.1.0...v3.0.0)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 3 weeks ago

Visit the preview URL for this PR (updated for commit cc45878):

https://zksync-docs-staging-5eb09--pr216-renovate-major-templ-4i9qylpq.web.app

(expires Wed, 09 Oct 2024 10:15:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bfaafba5fa82d4f63473aaa76a21fabf1fbb3a11