@nuxt/scripts 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/b4275645-e497-405e-b7c0-87516033342e.json +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/types.d.ts +4 -0
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/ba7f19ad-4701-4a37-b1b2-908f0cc701a8.json +0 -1
package/dist/client/200.html
CHANGED
|
@@ -260,4 +260,4 @@
|
|
|
260
260
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DMNuDhJC.js">
|
|
261
261
|
<script type="module" src="/__nuxt-scripts/_nuxt/BvlfuC5v.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
262
262
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
263
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"
|
|
263
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"b4275645-e497-405e-b7c0-87516033342e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -260,4 +260,4 @@
|
|
|
260
260
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DMNuDhJC.js">
|
|
261
261
|
<script type="module" src="/__nuxt-scripts/_nuxt/BvlfuC5v.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
262
262
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
263
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"
|
|
263
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"b4275645-e497-405e-b7c0-87516033342e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"b4275645-e497-405e-b7c0-87516033342e","timestamp":1718164133594}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"b4275645-e497-405e-b7c0-87516033342e","timestamp":1718164133594,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -260,4 +260,4 @@
|
|
|
260
260
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DMNuDhJC.js">
|
|
261
261
|
<script type="module" src="/__nuxt-scripts/_nuxt/BvlfuC5v.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
262
262
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
263
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"
|
|
263
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"b4275645-e497-405e-b7c0-87516033342e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/runtime/types.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import type { YouTubePlayerInput } from './registry/youtube-player.js';
|
|
|
18
18
|
import type { PlausibleAnalyticsInput } from './registry/plausible-analytics.js';
|
|
19
19
|
import type { NpmInput } from './registry/npm.js';
|
|
20
20
|
import type { LemonSqueezyInput } from './registry/lemon-squeezy.js';
|
|
21
|
+
import type { GoogleAdsenseInput } from './registry/google-adsense.js';
|
|
22
|
+
import type { ClarityInput } from './registry/clarity.js';
|
|
21
23
|
import type { InferInput as GoogleTagManagerInput } from '#build/nuxt-scripts/tpc/google-tag-manager';
|
|
22
24
|
import type { InferInput as GoogleAnalyticsInput } from '#build/nuxt-scripts/tpc/google-analytics';
|
|
23
25
|
export type NuxtUseScriptOptions<T = any> = Omit<UseScriptOptions<T>, 'trigger'> & {
|
|
@@ -74,10 +76,12 @@ export interface NuxtAppScript {
|
|
|
74
76
|
}[];
|
|
75
77
|
}
|
|
76
78
|
export interface ScriptRegistry {
|
|
79
|
+
clarity?: ClarityInput;
|
|
77
80
|
cloudflareWebAnalytics?: CloudflareWebAnalyticsInput;
|
|
78
81
|
metaPixel?: MetaPixelInput;
|
|
79
82
|
fathomAnalytics?: FathomAnalyticsInput;
|
|
80
83
|
plausibleAnalytics?: PlausibleAnalyticsInput;
|
|
84
|
+
googleAdsense?: GoogleAdsenseInput;
|
|
81
85
|
googleAnalytics?: GoogleAnalyticsInput;
|
|
82
86
|
googleMaps?: GoogleMapsInput;
|
|
83
87
|
lemonSqueezy?: LemonSqueezyInput;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"ba7f19ad-4701-4a37-b1b2-908f0cc701a8","timestamp":1718161614633,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|