@nuxt/scripts 0.11.8 → 0.11.10
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 -11
- package/dist/client/404.html +1 -11
- package/dist/client/_nuxt/C0osJU87.js +1 -0
- package/dist/client/_nuxt/DvGN_dxb.js +1 -0
- package/dist/client/_nuxt/DzYp5PzF.js +21 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/55b6d2d9-3309-4bdb-b3a7-e1a28ac5a730.json +1 -0
- package/dist/client/_nuxt/entry.bAQEPFjX.css +1 -0
- package/dist/client/_nuxt/error-404.eZgLTnTW.css +1 -0
- package/dist/client/_nuxt/error-500.B1rSPQ5Q.css +1 -0
- package/dist/client/_nuxt/o0sZgK8d.js +1 -0
- package/dist/client/index.html +1 -11
- package/dist/module.json +2 -3
- package/dist/module.mjs +24 -35
- package/dist/runtime/components/ScriptCrisp.vue.d.ts +1 -3
- package/dist/runtime/components/ScriptGoogleAdsense.vue.d.ts +1 -4
- package/dist/runtime/components/ScriptGoogleMaps.vue.d.ts +5 -10
- package/dist/runtime/components/ScriptIntercom.vue.d.ts +1 -3
- package/dist/runtime/components/ScriptLemonSqueezy.vue.d.ts +1 -3
- package/dist/runtime/components/ScriptLoadingIndicator.vue.d.ts +1 -4
- package/dist/runtime/components/ScriptStripePricingTable.vue.d.ts +1 -3
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +5 -7
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +5 -13
- package/dist/runtime/registry/meta-pixel.d.ts +4 -2
- package/dist/runtime/registry/rybbit-analytics.d.ts +6 -0
- package/dist/runtime/registry/rybbit-analytics.js +14 -2
- package/package.json +29 -37
- package/dist/client/_nuxt/BNOvKpxj.js +0 -21
- package/dist/client/_nuxt/D2xoTE-m.js +0 -1
- package/dist/client/_nuxt/DZpw5SEC.js +0 -1
- package/dist/client/_nuxt/builds/meta/74284f3b-1037-4522-9dce-e62d39b7a1ca.json +0 -1
- package/dist/client/_nuxt/entry.DExDtQtx.css +0 -1
- package/dist/client/_nuxt/error-404.i3o1HkNe.css +0 -1
- package/dist/client/_nuxt/error-500.CGX2FgfP.css +0 -1
- package/dist/client/_nuxt/qUtuIAKL.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{content:"";display:block;inset:0;position:absolute}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v15/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v15/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v16/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v16/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E")}.carbon-chevron-down,.carbon\:book{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:book{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7zM6 10h7v2H6zm0 5h7v2H6zm0 5h7v2H6z'/%3E%3Cpath fill='currentColor' d='M28 5H4a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M4 7h11v18H4Zm13 18V7h11v18Z'/%3E%3C/svg%3E")}.carbon\:debug{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29.83 20l.34-2l-5.17-.85v-4.38l5.06-1.36l-.51-1.93l-4.83 1.29A9 9 0 0 0 20 5V2h-2v2.23a8.8 8.8 0 0 0-4 0V2h-2v3a9 9 0 0 0-4.71 5.82L2.46 9.48L2 11.41l5 1.36v4.38L1.84 18l.32 2L7 19.18a8.9 8.9 0 0 0 .82 3.57l-4.53 4.54l1.42 1.42l4.19-4.2a9 9 0 0 0 14.2 0l4.19 4.2l1.42-1.42l-4.54-4.54a8.9 8.9 0 0 0 .83-3.57ZM15 25.92A7 7 0 0 1 9 19v-6h6ZM9.29 11a7 7 0 0 1 13.42 0ZM23 19a7 7 0 0 1-6 6.92V13h6Z'/%3E%3C/svg%3E")}.carbon\:debug,.carbon\:script{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:script{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.83 26l2.58-2.58L20 22l-4 4l4 4l1.42-1.41zm8.34 0l-2.58 2.58L26 30l4-4l-4-4l-1.42 1.41z'/%3E%3Cpath fill='currentColor' d='M14 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v6h2v-8a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h6Zm4-23.6l5.6 5.6H18Z'/%3E%3C/svg%3E")}.i-carbon\:arrow-up-right,[i-carbon\:arrow-up-right=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.logos\:github-icon{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 250' display='inline-block' vertical-align='middle' width='1.24em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='%23161614' d='M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46c6.397 1.185 8.746-2.777 8.746-6.158c0-3.052-.12-13.135-.174-23.83c-35.61 7.742-43.124-15.103-43.124-15.103c-5.823-14.795-14.213-18.73-14.213-18.73c-11.613-7.944.876-7.78.876-7.78c12.853.902 19.621 13.19 19.621 13.19c11.417 19.568 29.945 13.911 37.249 10.64c1.149-8.272 4.466-13.92 8.127-17.116c-28.431-3.236-58.318-14.212-58.318-63.258c0-13.975 5-25.394 13.188-34.358c-1.329-3.224-5.71-16.242 1.24-33.874c0 0 10.749-3.44 35.21 13.121c10.21-2.836 21.16-4.258 32.038-4.307c10.878.049 21.837 1.47 32.066 4.307c24.431-16.56 35.165-13.12 35.165-13.12c6.967 17.63 2.584 30.65 1.255 33.873c8.207 8.964 13.173 20.383 13.173 34.358c0 49.163-29.944 59.988-58.447 63.157c4.591 3.972 8.682 11.762 8.682 23.704c0 17.126-.148 30.91-.148 35.126c0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002C256 57.307 198.691 0 128.001 0m-80.06 182.34c-.282.636-1.283.827-2.194.39c-.929-.417-1.45-1.284-1.15-1.922c.276-.655 1.279-.838 2.205-.399c.93.418 1.46 1.293 1.139 1.931m6.296 5.618c-.61.566-1.804.303-2.614-.591c-.837-.892-.994-2.086-.375-2.66c.63-.566 1.787-.301 2.626.591c.838.903 1 2.088.363 2.66m4.32 7.188c-.785.545-2.067.034-2.86-1.104c-.784-1.138-.784-2.503.017-3.05c.795-.547 2.058-.055 2.861 1.075c.782 1.157.782 2.522-.019 3.08m7.304 8.325c-.701.774-2.196.566-3.29-.49c-1.119-1.032-1.43-2.496-.726-3.27c.71-.776 2.213-.558 3.315.49c1.11 1.03 1.45 2.505.701 3.27m9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033c-1.448-.439-2.395-1.613-2.103-2.626c.301-1.01 1.747-1.484 3.207-1.028c1.446.436 2.396 1.602 2.095 2.622m10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95c-1.53.034-2.769-.82-2.786-1.86c0-1.065 1.202-1.932 2.733-1.958c1.522-.03 2.768.818 2.768 1.868m10.555-.405c.182 1.03-.875 2.088-2.387 2.37c-1.485.271-2.861-.365-3.05-1.386c-.184-1.056.893-2.114 2.376-2.387c1.514-.263 2.868.356 3.061 1.403'/%3E%3C/svg%3E") no-repeat;background-color:transparent;background-size:100% 100%;display:inline-block;height:1.2em;vertical-align:middle;width:1.24em}.n-badge{background-color:rgba(var(--nui-c-context),.1);border-radius:.25rem;font-size:.75rem;line-height:1rem;margin-left:.125rem;margin-right:.125rem;padding:.125rem .375rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity))}.n-button-icon{font-size:1.1em;margin-left:-.2em;margin-right:.2em}.n-icon-button{align-items:center;aspect-ratio:1/1;border-radius:.25rem;display:flex;height:1.6em;justify-content:center;opacity:.5;width:1.6em}.n-button-base{align-items:center;border-color:#9ca3af33;border-radius:.25rem;border-width:1px;display:inline-flex;gap:.25rem;opacity:.8;padding:.25em 1em;touch-action:manipulation;--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color,rgba(0,0,0,.05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);outline:2px solid transparent!important;outline-offset:2px!important}.n-icon{flex:none}.n-border-base{border-color:#9ca3af33}.hover\:n-button-hover:hover{--un-border-opacity:1!important;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))!important;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));opacity:1}.n-bg-active{background-color:#9ca3af0d}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgb(21 21 21/var(--un-bg-opacity))}.n-bg-base{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.hover\:n-bg-active:hover,.n-icon-button:hover{background-color:#9ca3af0d}.n-icon-button:hover{opacity:1}.active\:n-button-active:active{background-color:rgba(var(--nui-c-context),.05);--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.1)}.hover\:n-link-hover:hover{--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));-webkit-text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;--un-line-opacity:1!important;opacity:1!important;text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-visible\:n-focus-base:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5)}.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.top-6{top:1.5rem}.z-10{z-index:10}.z-2{z-index:2}.grid{display:grid}.mx-auto{margin-left:auto;margin-right:auto}.mb-2,.mb2,[mb2=""]{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml--1px{margin-left:-1px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-\[2px\]{margin-right:2px}.mt1{margin-top:.25rem}.inline-block{display:inline-block}.hidden{display:none}.h-4{height:1rem}.h-6{height:1.5rem}.h-auto{height:auto}.h-full{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-h-full{max-height:100%}.max-w-520px{max-width:520px}.max-w-6{max-width:1.5rem}.min-h-screen{min-height:100vh}.w-4{width:1rem}.w-full{width:100%}.flex,[flex=""],[flex~="~"]{display:flex}.flex-inline{display:inline-flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.translate-y--1,[translate-y--1=""]{--un-translate-y:-.25rem}.transform,.translate-y--1,[translate-y--1=""]{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-start{align-items:flex-start}.items-end,[items-end=""]{align-items:flex-end}.flex-items-center,.items-center,[items-center=""]{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-gap2,.gap-2,[gap-2=""]{gap:.5rem}.gap-1{gap:.25rem}.gap-1\.5,[gap-1\.5=""]{gap:.375rem}.gap-3,[flex~=gap-3]{gap:.75rem}.gap-7{gap:1.75rem}.space-x-3>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--un-space-x-reverse)));margin-right:calc(.75rem*var(--un-space-x-reverse))}.space-x-5>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1.25rem*(1 - var(--un-space-x-reverse)));margin-right:calc(1.25rem*var(--un-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(.5rem*var(--un-space-y-reverse));margin-top:calc(.5rem*(1 - var(--un-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(.75rem*var(--un-space-y-reverse));margin-top:calc(.75rem*(1 - var(--un-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border{border-width:1px}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-black\/5{border-color:#0000000d}.dark .dark\:border-white\/10{border-color:#ffffff1a}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border-none{border-style:none}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246/var(--un-bg-opacity))}.bg-gray-50\/50{background-color:#f9fafb80}.bg-green-50{--un-bg-opacity:1;background-color:rgb(240 253 244/var(--un-bg-opacity))}.bg-light-200{--un-bg-opacity:1;background-color:rgb(250 250 250/var(--un-bg-opacity))}.bg-red-100{--un-bg-opacity:1;background-color:rgb(254 226 226/var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.bg-yellow-100{--un-bg-opacity:1;background-color:rgb(254 249 195/var(--un-bg-opacity))}.dark .dark\:bg-\[\#020420\]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark .dark\:bg-dark-700{--un-bg-opacity:1;background-color:rgb(27 27 27/var(--un-bg-opacity))}.dark .dark\:bg-white\/5{background-color:#ffffff0d}.hover\:bg-gray-800\/50:hover{background-color:#1f293780}.p-4{padding:1rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4,.px4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-\[2px\]{padding-bottom:2px;padding-top:2px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pt-12{padding-top:3rem}.pt-4{padding-top:1rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-\[80px\]{font-size:80px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-6xl{font-size:3.75rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.dark .dark\:text-white,.dark [dark\:text-white=""]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}.text-\[\#020420\]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.text-black,[text-black=""]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.text-blue-300{--un-text-opacity:1;color:rgb(147 197 253/var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128/var(--un-text-opacity))}.text-gray-700{--un-text-opacity:1;color:rgb(55 65 81/var(--un-text-opacity))}.text-green-700{--un-text-opacity:1;color:rgb(21 128 61/var(--un-text-opacity))}.text-red-700{--un-text-opacity:1;color:rgb(185 28 28/var(--un-text-opacity))}.text-yellow-700{--un-text-opacity:1;color:rgb(161 98 7/var(--un-text-opacity))}.hover\:text-\[\#00DC82\]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold,[font-semibold=""]{font-weight:600}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.hover\:underline:hover,.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0\.1{opacity:.001}.op100{opacity:1}.op35{opacity:.35}.op50,.opacity-50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.opacity-40{opacity:.4}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.hover\:opacity-70:hover{opacity:.7}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.n-disabled\:n-disabled[disabled],[disabled] .n-disabled\:n-disabled{filter:saturate(0);opacity:.6;pointer-events:none}@media (min-width:640px){.sm\:right-6{right:1.5rem}.sm\:text-\[110px\]{font-size:110px}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-8xl{font-size:6rem;line-height:1}}@media (min-width:1024px){.lg\:flex{display:flex}}details[data-v-0d7b3b46],summary[data-v-0d7b3b46]{border-style:none}summary[data-v-0d7b3b46]{list-style:none}details[open] summary[data-v-0d7b3b46]{border-style:none}details summary[data-v-0d7b3b46]::-webkit-details-marker{display:none}details[open] .chevron[data-v-0d7b3b46]{opacity:.75;transform:rotate(180deg)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-a79bffc7]{display:grid}.mb-2[data-v-a79bffc7]{margin-bottom:.5rem}.mb-4[data-v-a79bffc7]{margin-bottom:1rem}.max-w-520px[data-v-a79bffc7]{max-width:520px}.min-h-screen[data-v-a79bffc7]{min-height:100vh}.w-full[data-v-a79bffc7]{width:100%}.flex[data-v-a79bffc7]{display:flex}.place-content-center[data-v-a79bffc7]{place-content:center}.items-center[data-v-a79bffc7]{align-items:center}.justify-center[data-v-a79bffc7]{justify-content:center}.overflow-hidden[data-v-a79bffc7]{overflow:hidden}.bg-white[data-v-a79bffc7]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-a79bffc7]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-a79bffc7]{text-align:center}.text-\[80px\][data-v-a79bffc7]{font-size:80px}.text-2xl[data-v-a79bffc7]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-a79bffc7]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-a79bffc7]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-a79bffc7]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-a79bffc7]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-a79bffc7]{font-weight:500}.font-semibold[data-v-a79bffc7]{font-weight:600}.leading-none[data-v-a79bffc7]{line-height:1}.tracking-wide[data-v-a79bffc7]{letter-spacing:.025em}.font-sans[data-v-a79bffc7]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-a79bffc7]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-a79bffc7]{text-decoration-line:underline}.underline-offset-3[data-v-a79bffc7]{text-underline-offset:3px}.antialiased[data-v-a79bffc7]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-a79bffc7]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-a79bffc7]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-a79bffc7]{font-size:110px}.sm\:text-3xl[data-v-a79bffc7]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.grid[data-v-b4ff6067]{display:grid}.mb-2[data-v-b4ff6067]{margin-bottom:.5rem}.mb-4[data-v-b4ff6067]{margin-bottom:1rem}.max-w-520px[data-v-b4ff6067]{max-width:520px}.min-h-screen[data-v-b4ff6067]{min-height:100vh}.place-content-center[data-v-b4ff6067]{place-content:center}.overflow-hidden[data-v-b4ff6067]{overflow:hidden}.bg-white[data-v-b4ff6067]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-b4ff6067]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-b4ff6067]{text-align:center}.text-\[80px\][data-v-b4ff6067]{font-size:80px}.text-2xl[data-v-b4ff6067]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-b4ff6067]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-b4ff6067]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-b4ff6067]{font-weight:600}.leading-none[data-v-b4ff6067]{line-height:1}.tracking-wide[data-v-b4ff6067]{letter-spacing:.025em}.font-sans[data-v-b4ff6067]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-b4ff6067]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-b4ff6067]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-b4ff6067]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-b4ff6067]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-b4ff6067]{font-size:110px}.sm\:text-3xl[data-v-b4ff6067]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as a,f as s,h as u,i as r,g as o}from"./DzYp5PzF.js";function i(e){const n=e||s();return n.ssrContext?.head||n.runWithContext(()=>{if(u()){const t=r(o);if(!t)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return t}})}function c(e,n={}){const t=i(n.nuxt);return a(e,{head:t,...n})}export{c as u};
|
package/dist/client/index.html
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
-
<link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.DExDtQtx.css" crossorigin>
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BNOvKpxj.js">
|
|
5
|
-
<link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-404.i3o1HkNe.css">
|
|
6
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D2xoTE-m.js">
|
|
7
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DZpw5SEC.js">
|
|
8
|
-
<link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-500.CGX2FgfP.css">
|
|
9
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/qUtuIAKL.js">
|
|
10
|
-
<script type="module" src="/__nuxt-scripts/_nuxt/BNOvKpxj.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1748837176215,false]</script>
|
|
11
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-scripts",buildId:"74284f3b-1037-4522-9dce-e62d39b7a1ca",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.bAQEPFjX.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DzYp5PzF.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-404.eZgLTnTW.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C0osJU87.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/o0sZgK8d.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-500.B1rSPQ5Q.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DvGN_dxb.js"><script type="module" src="/__nuxt-scripts/_nuxt/DzYp5PzF.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1752738485628,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{version:"",defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"55b6d2d9-3309-4bdb-b3a7-e1a28ac5a730",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useNuxt, useLogger, addDevServerHandler, tryUseNuxt,
|
|
1
|
+
import { useNuxt, useLogger, addDevServerHandler, tryUseNuxt, logger as logger$1, defineNuxtModule, createResolver, addImports, addComponentsDir, addTypeTemplate, addPluginTemplate, addBuildPlugin, hasNuxtModule } from '@nuxt/kit';
|
|
2
2
|
import { resolvePackageJSON, readPackageJSON } from 'pkg-types';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import fsp from 'node:fs/promises';
|
|
@@ -157,7 +157,9 @@ function normalizeScriptData(src, assetsBaseURL = "/_scripts") {
|
|
|
157
157
|
// force an extension
|
|
158
158
|
].filter(Boolean).join("-");
|
|
159
159
|
const nuxt = tryUseNuxt();
|
|
160
|
-
|
|
160
|
+
const cdnURL = nuxt?.options.runtimeConfig?.app?.cdnURL || nuxt?.options.app?.cdnURL || "";
|
|
161
|
+
const baseURL = cdnURL || nuxt?.options.app.baseURL || "";
|
|
162
|
+
return { url: joinURL(joinURL(baseURL, assetsBaseURL), file), filename: file };
|
|
161
163
|
}
|
|
162
164
|
return { url: src };
|
|
163
165
|
}
|
|
@@ -251,9 +253,9 @@ function NuxtScriptBundleTransformer(options = {
|
|
|
251
253
|
let scriptSrcNode;
|
|
252
254
|
let src;
|
|
253
255
|
if (fnName === "useScript") {
|
|
254
|
-
if (node.arguments[0]
|
|
256
|
+
if (node.arguments[0]?.type === "Literal") {
|
|
255
257
|
scriptSrcNode = node.arguments[0];
|
|
256
|
-
} else if (node.arguments[0]
|
|
258
|
+
} else if (node.arguments[0]?.type === "ObjectExpression") {
|
|
257
259
|
const srcProperty = node.arguments[0].properties.find(
|
|
258
260
|
(p) => (p.key?.name === "src" || p.key?.value === "src") && p?.value.type === "Literal"
|
|
259
261
|
);
|
|
@@ -376,25 +378,6 @@ function NuxtScriptBundleTransformer(options = {
|
|
|
376
378
|
});
|
|
377
379
|
}
|
|
378
380
|
|
|
379
|
-
function extendTypes(module, template) {
|
|
380
|
-
const nuxt = useNuxt();
|
|
381
|
-
const { resolve } = createResolver(import.meta.url);
|
|
382
|
-
const fileName = `${module.replace("/", "-")}.d.ts`;
|
|
383
|
-
addTemplate({
|
|
384
|
-
filename: `modules/${fileName}`,
|
|
385
|
-
getContents: async () => {
|
|
386
|
-
const typesPath = relative(resolve(nuxt.options.rootDir, nuxt.options.buildDir, "module"), resolve("runtime/types"));
|
|
387
|
-
const s = await template({ typesPath });
|
|
388
|
-
return `// Generated by ${module}
|
|
389
|
-
${s}
|
|
390
|
-
export {}
|
|
391
|
-
`;
|
|
392
|
-
}
|
|
393
|
-
});
|
|
394
|
-
nuxt.hooks.hook("prepare:types", ({ references }) => {
|
|
395
|
-
references.push({ path: resolve(nuxt.options.buildDir, `modules/${fileName}`) });
|
|
396
|
-
});
|
|
397
|
-
}
|
|
398
381
|
const isStackblitz = provider === "stackblitz";
|
|
399
382
|
async function promptToInstall(name, installCommand, options) {
|
|
400
383
|
if (await resolvePackageJSON(name).catch(() => null))
|
|
@@ -535,8 +518,7 @@ const module = defineNuxtModule({
|
|
|
535
518
|
name: "@nuxt/scripts",
|
|
536
519
|
configKey: "scripts",
|
|
537
520
|
compatibility: {
|
|
538
|
-
nuxt: ">=3.16"
|
|
539
|
-
bridge: false
|
|
521
|
+
nuxt: ">=3.16"
|
|
540
522
|
}
|
|
541
523
|
},
|
|
542
524
|
defaults: {
|
|
@@ -612,8 +594,11 @@ const module = defineNuxtModule({
|
|
|
612
594
|
}
|
|
613
595
|
const registryScriptsWithImport = registryScripts.filter((i) => !!i.import?.name);
|
|
614
596
|
const newScripts = registryScriptsWithImport.filter((i) => !scripts.some((r) => r.import?.name === i.import.name));
|
|
615
|
-
|
|
616
|
-
|
|
597
|
+
addTypeTemplate({
|
|
598
|
+
filename: "module/nuxt-scripts.d.ts",
|
|
599
|
+
getContents: (data) => {
|
|
600
|
+
const typesPath = relative(resolve(data.nuxt.options.rootDir, data.nuxt.options.buildDir, "module"), resolve("runtime/types"));
|
|
601
|
+
let types = `
|
|
617
602
|
declare module '#app' {
|
|
618
603
|
interface NuxtApp {
|
|
619
604
|
$scripts: Record<${[...Object.keys(config.globals || {}), ...Object.keys(config.registry || {})].map((k) => `'${k}'`).concat(["string"]).join(" | ")}, (import('#nuxt-scripts/types').UseScriptContext<any>)>
|
|
@@ -624,21 +609,25 @@ declare module '#app' {
|
|
|
624
609
|
}
|
|
625
610
|
}
|
|
626
611
|
`;
|
|
627
|
-
|
|
628
|
-
|
|
612
|
+
if (newScripts.length) {
|
|
613
|
+
types = `${types}
|
|
629
614
|
declare module '#nuxt-scripts/types' {
|
|
630
615
|
type NuxtUseScriptOptions = Omit<import('${typesPath}').NuxtUseScriptOptions, 'use' | 'beforeInit'>
|
|
631
616
|
interface ScriptRegistry {
|
|
632
617
|
${newScripts.map((i) => {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
618
|
+
const key = i.import?.name.replace("useScript", "");
|
|
619
|
+
const keyLcFirst = key.substring(0, 1).toLowerCase() + key.substring(1);
|
|
620
|
+
return ` ${keyLcFirst}?: import('${i.import?.from}').${key}Input | [import('${i.import?.from}').${key}Input, NuxtUseScriptOptions]`;
|
|
621
|
+
}).join("\n")}
|
|
637
622
|
}
|
|
638
623
|
}`;
|
|
639
|
-
|
|
624
|
+
return types;
|
|
625
|
+
}
|
|
626
|
+
return `${types}
|
|
627
|
+
export {}`;
|
|
640
628
|
}
|
|
641
|
-
|
|
629
|
+
}, {
|
|
630
|
+
nuxt: true
|
|
642
631
|
});
|
|
643
632
|
if (Object.keys(config.globals || {}).length || Object.keys(config.registry || {}).length) {
|
|
644
633
|
addPluginTemplate({
|
|
@@ -32,9 +32,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
33
|
onError?: (() => any) | undefined;
|
|
34
34
|
onReady?: ((e: import("#nuxt-scripts/types").UseScriptContext<import("../registry/crisp.js").CrispApi>) => any) | undefined;
|
|
35
|
-
}>, {
|
|
36
|
-
trigger: ElementScriptTrigger;
|
|
37
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
36
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
37
|
export default _default;
|
|
40
38
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -24,10 +24,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
25
|
onError?: (() => any) | undefined;
|
|
26
26
|
onReady?: ((e: import("#nuxt-scripts/types").UseScriptContext<import("../registry/google-adsense.js").GoogleAdsenseApi>) => any) | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
dataAdFormat: "auto" | "rectangle" | "vertical" | "horizontal" | "fluid" | "autorelaxed";
|
|
29
|
-
dataFullWidthResponsive: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
28
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
29
|
export default _default;
|
|
33
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -94,17 +94,17 @@ declare function importLibrary(key: 'visualization'): Promise<google.maps.Visual
|
|
|
94
94
|
declare function importLibrary(key: string): Promise<any>;
|
|
95
95
|
declare var __VLS_1: {
|
|
96
96
|
placeholder: any;
|
|
97
|
-
}, __VLS_3: {},
|
|
97
|
+
}, __VLS_3: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
98
98
|
type __VLS_Slots = {} & {
|
|
99
99
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
100
100
|
} & {
|
|
101
101
|
loading?: (props: typeof __VLS_3) => any;
|
|
102
102
|
} & {
|
|
103
|
-
awaitingLoad?: (props: typeof
|
|
103
|
+
awaitingLoad?: (props: typeof __VLS_9) => any;
|
|
104
104
|
} & {
|
|
105
|
-
error?: (props: typeof
|
|
105
|
+
error?: (props: typeof __VLS_11) => any;
|
|
106
106
|
} & {
|
|
107
|
-
default?: (props: typeof
|
|
107
|
+
default?: (props: typeof __VLS_13) => any;
|
|
108
108
|
};
|
|
109
109
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
110
110
|
googleMaps: Ref<typeof google.maps | undefined, typeof google.maps | undefined>;
|
|
@@ -130,12 +130,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
130
130
|
readonly resolveQueryToLatLang: typeof resolveQueryToLatLang;
|
|
131
131
|
readonly importLibrary: typeof importLibrary;
|
|
132
132
|
}) => any) | undefined;
|
|
133
|
-
}>, {
|
|
134
|
-
trigger: ElementScriptTrigger;
|
|
135
|
-
centerMarker: boolean;
|
|
136
|
-
width: number | string;
|
|
137
|
-
height: number | string;
|
|
138
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
133
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
139
134
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
140
135
|
export default _default;
|
|
141
136
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -33,9 +33,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
33
33
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
34
|
onError?: (() => any) | undefined;
|
|
35
35
|
onReady?: ((e: import("#nuxt-scripts/types").UseScriptContext<import("../registry/intercom.js").IntercomApi>) => any) | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
trigger: ElementScriptTrigger;
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
37
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
40
38
|
export default _default;
|
|
41
39
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -12,9 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
13
|
onReady?: ((args_0: import("../types.js").UseScriptContext<import("../registry/lemon-squeezy.js").LemonSqueezyApi>) => any) | undefined;
|
|
14
14
|
onLemonSqueezyEvent?: ((args_0: never) => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
trigger: ElementScriptTrigger;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
16
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
17
|
export default _default;
|
|
20
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,8 +2,5 @@ type __VLS_Props = {
|
|
|
2
2
|
color?: string;
|
|
3
3
|
size?: number;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
color: string;
|
|
7
|
-
size: number;
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
6
|
export default _default;
|
|
@@ -23,9 +23,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
24
|
onError?: (() => any) | undefined;
|
|
25
25
|
onReady?: ((args_0: import("../types.js").UseScriptContext<Record<string | symbol, any>>) => any) | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
trigger: ElementScriptTrigger;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
27
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
28
|
export default _default;
|
|
31
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -37,17 +37,17 @@ type __VLS_Props = {
|
|
|
37
37
|
id?: number | undefined;
|
|
38
38
|
url?: string | undefined;
|
|
39
39
|
};
|
|
40
|
-
declare var __VLS_1: any, __VLS_3: {},
|
|
40
|
+
declare var __VLS_1: any, __VLS_3: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
41
41
|
type __VLS_Slots = {} & {
|
|
42
42
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
43
43
|
} & {
|
|
44
44
|
loading?: (props: typeof __VLS_3) => any;
|
|
45
45
|
} & {
|
|
46
|
-
awaitingLoad?: (props: typeof
|
|
46
|
+
awaitingLoad?: (props: typeof __VLS_9) => any;
|
|
47
47
|
} & {
|
|
48
|
-
error?: (props: typeof
|
|
48
|
+
error?: (props: typeof __VLS_11) => any;
|
|
49
49
|
} & {
|
|
50
|
-
default?: (props: typeof
|
|
50
|
+
default?: (props: typeof __VLS_13) => any;
|
|
51
51
|
};
|
|
52
52
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
53
53
|
play: () => Promise<void> | undefined;
|
|
@@ -115,9 +115,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
115
115
|
onCamerachange?: ((event: import("@vimeo/player").VimeoCameraProps, player: Vimeo.Player) => any) | undefined;
|
|
116
116
|
onEnterpictureinpicture?: ((event: never, player: Vimeo.Player) => any) | undefined;
|
|
117
117
|
onLeavepictureinpicture?: ((event: never, player: Vimeo.Player) => any) | undefined;
|
|
118
|
-
}>, {
|
|
119
|
-
trigger: ElementScriptTrigger;
|
|
120
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
118
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
121
119
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
122
120
|
export default _default;
|
|
123
121
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -22,17 +22,17 @@ type __VLS_Props = {
|
|
|
22
22
|
};
|
|
23
23
|
declare var __VLS_1: {
|
|
24
24
|
placeholder: any;
|
|
25
|
-
}, __VLS_3: {},
|
|
25
|
+
}, __VLS_3: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
26
26
|
type __VLS_Slots = {} & {
|
|
27
27
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
28
28
|
} & {
|
|
29
29
|
loading?: (props: typeof __VLS_3) => any;
|
|
30
30
|
} & {
|
|
31
|
-
awaitingLoad?: (props: typeof
|
|
31
|
+
awaitingLoad?: (props: typeof __VLS_9) => any;
|
|
32
32
|
} & {
|
|
33
|
-
error?: (props: typeof
|
|
33
|
+
error?: (props: typeof __VLS_11) => any;
|
|
34
34
|
} & {
|
|
35
|
-
default?: (props: typeof
|
|
35
|
+
default?: (props: typeof __VLS_13) => any;
|
|
36
36
|
};
|
|
37
37
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
38
38
|
player: Ref<YT.Player | undefined, YT.Player | undefined>;
|
|
@@ -48,15 +48,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
48
48
|
"onState-change"?: ((e: YT.OnStateChangeEvent, target: YT.Player) => any) | undefined;
|
|
49
49
|
"onPlayback-quality-change"?: ((e: YT.OnPlaybackQualityChangeEvent, target: YT.Player) => any) | undefined;
|
|
50
50
|
"onPlayback-rate-change"?: ((e: YT.OnPlaybackRateChangeEvent, target: YT.Player) => any) | undefined;
|
|
51
|
-
}>, {
|
|
52
|
-
trigger: ElementScriptTrigger;
|
|
53
|
-
width: number;
|
|
54
|
-
height: number;
|
|
55
|
-
playerVars: YT.PlayerVars;
|
|
56
|
-
cookies: boolean;
|
|
57
|
-
thumbnailSize: YoutubeThumbnailSize;
|
|
58
|
-
webp: boolean;
|
|
59
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
52
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
61
53
|
export default _default;
|
|
62
54
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,7 +5,7 @@ interface EventObjectProperties {
|
|
|
5
5
|
content_ids?: string[];
|
|
6
6
|
content_name?: string;
|
|
7
7
|
content_type?: string;
|
|
8
|
-
contents
|
|
8
|
+
contents?: {
|
|
9
9
|
id: string;
|
|
10
10
|
quantity: number;
|
|
11
11
|
}[];
|
|
@@ -18,7 +18,9 @@ interface EventObjectProperties {
|
|
|
18
18
|
value?: number;
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}
|
|
21
|
-
type
|
|
21
|
+
type ConsentAction = 'grant' | 'revoke';
|
|
22
|
+
type FbqArgs = ['track', StandardEvents, EventObjectProperties?] | ['trackCustom', string, EventObjectProperties?] | ['trackSingle', string, StandardEvents, EventObjectProperties?] | ['trackSingleCustom', string, string, EventObjectProperties?] | ['init', string] | ['init', number, Record<string, any>?] | ['consent', ConsentAction] | [string, ...any[]];
|
|
23
|
+
type FbqFns = (...args: FbqArgs) => void;
|
|
22
24
|
export interface MetaPixelApi {
|
|
23
25
|
fbq: FbqFns & {
|
|
24
26
|
push: FbqFns;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts/types';
|
|
2
2
|
export declare const RybbitAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
3
3
|
readonly siteId: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
4
|
+
readonly autoTrackPageview: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
4
5
|
readonly trackSpa: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
5
6
|
readonly trackQuery: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
7
|
+
readonly trackOutbound: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
8
|
+
readonly trackErrors: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
9
|
+
readonly sessionReplay: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
10
|
+
readonly webVitals: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
6
11
|
readonly skipPatterns: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
7
12
|
readonly maskPatterns: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
8
13
|
readonly debounce: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
14
|
+
readonly apiKey: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
9
15
|
}, undefined>;
|
|
10
16
|
export type RybbitAnalyticsInput = RegistryScriptInput<typeof RybbitAnalyticsOptions, false>;
|
|
11
17
|
export interface RybbitAnalyticsApi {
|
|
@@ -3,11 +3,17 @@ import { array, boolean, number, object, optional, string, union } from "#nuxt-s
|
|
|
3
3
|
export const RybbitAnalyticsOptions = object({
|
|
4
4
|
siteId: union([string(), number()]),
|
|
5
5
|
// required
|
|
6
|
+
autoTrackPageview: optional(boolean()),
|
|
6
7
|
trackSpa: optional(boolean()),
|
|
7
8
|
trackQuery: optional(boolean()),
|
|
9
|
+
trackOutbound: optional(boolean()),
|
|
10
|
+
trackErrors: optional(boolean()),
|
|
11
|
+
sessionReplay: optional(boolean()),
|
|
12
|
+
webVitals: optional(boolean()),
|
|
8
13
|
skipPatterns: optional(array(string())),
|
|
9
14
|
maskPatterns: optional(array(string())),
|
|
10
|
-
debounce: optional(number())
|
|
15
|
+
debounce: optional(number()),
|
|
16
|
+
apiKey: optional(string())
|
|
11
17
|
});
|
|
12
18
|
export function useScriptRybbitAnalytics(_options) {
|
|
13
19
|
return useRegistryScript("rybbitAnalytics", (options) => {
|
|
@@ -15,11 +21,17 @@ export function useScriptRybbitAnalytics(_options) {
|
|
|
15
21
|
scriptInput: {
|
|
16
22
|
"src": "https://app.rybbit.io/api/script.js",
|
|
17
23
|
"data-site-id": String(options?.siteId),
|
|
24
|
+
"data-auto-track-pageview": options?.autoTrackPageview,
|
|
18
25
|
"data-track-spa": options?.trackSpa,
|
|
19
26
|
"data-track-query": options?.trackQuery,
|
|
27
|
+
"data-track-outbound": options?.trackOutbound,
|
|
28
|
+
"data-track-errors": options?.trackErrors,
|
|
29
|
+
"data-session-replay": options?.sessionReplay,
|
|
30
|
+
"data-web-vitals": options?.webVitals,
|
|
20
31
|
"data-skip-patterns": options?.skipPatterns ? JSON.stringify(options.skipPatterns) : void 0,
|
|
21
32
|
"data-mask-patterns": options?.maskPatterns ? JSON.stringify(options.maskPatterns) : void 0,
|
|
22
|
-
"data-debounce": options?.debounce ? options.debounce.toString() : void 0
|
|
33
|
+
"data-debounce": options?.debounce ? options.debounce.toString() : void 0,
|
|
34
|
+
"data-api-key": options?.apiKey
|
|
23
35
|
},
|
|
24
36
|
schema: import.meta.dev ? RybbitAnalyticsOptions : void 0,
|
|
25
37
|
scriptOptions: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.10",
|
|
5
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
6
6
|
"author": {
|
|
7
7
|
"website": "https://harlanzw.com",
|
|
@@ -58,8 +58,7 @@
|
|
|
58
58
|
"@types/google.maps": "^3.58.1",
|
|
59
59
|
"@types/vimeo__player": "^2.18.3",
|
|
60
60
|
"@types/youtube": "^0.1.0",
|
|
61
|
-
"@unhead/vue": "^2.0.3"
|
|
62
|
-
"nuxt": "^3.16.2"
|
|
61
|
+
"@unhead/vue": "^2.0.3"
|
|
63
62
|
},
|
|
64
63
|
"peerDependenciesMeta": {
|
|
65
64
|
"@stripe/stripe-js": {
|
|
@@ -76,8 +75,8 @@
|
|
|
76
75
|
}
|
|
77
76
|
},
|
|
78
77
|
"dependencies": {
|
|
79
|
-
"@nuxt/kit": "^
|
|
80
|
-
"@vueuse/core": "^13.
|
|
78
|
+
"@nuxt/kit": "^4.0.0",
|
|
79
|
+
"@vueuse/core": "^13.5.0",
|
|
81
80
|
"consola": "^3.4.2",
|
|
82
81
|
"defu": "^6.1.4",
|
|
83
82
|
"h3": "^1.15.3",
|
|
@@ -85,48 +84,41 @@
|
|
|
85
84
|
"ofetch": "^1.4.1",
|
|
86
85
|
"ohash": "^2.0.11",
|
|
87
86
|
"pathe": "^2.0.3",
|
|
88
|
-
"pkg-types": "^2.
|
|
87
|
+
"pkg-types": "^2.2.0",
|
|
89
88
|
"sirv": "^3.0.1",
|
|
90
89
|
"std-env": "^3.9.0",
|
|
91
90
|
"ufo": "^1.6.1",
|
|
92
91
|
"unplugin": "^2.3.5",
|
|
93
|
-
"unstorage": "^1.16.
|
|
92
|
+
"unstorage": "^1.16.1",
|
|
94
93
|
"valibot": "^1.1.0"
|
|
95
94
|
},
|
|
96
95
|
"devDependencies": {
|
|
97
|
-
"@nuxt/devtools-kit": "^2.
|
|
98
|
-
"@nuxt/devtools-ui-kit": "^2.
|
|
99
|
-
"@nuxt/eslint-config": "^1.
|
|
96
|
+
"@nuxt/devtools-kit": "^2.6.2",
|
|
97
|
+
"@nuxt/devtools-ui-kit": "^2.6.2",
|
|
98
|
+
"@nuxt/eslint-config": "^1.5.2",
|
|
100
99
|
"@nuxt/module-builder": "^1.0.1",
|
|
101
|
-
"@nuxt/test-utils": "3.19.
|
|
100
|
+
"@nuxt/test-utils": "3.19.2",
|
|
102
101
|
"@types/semver": "^7.7.0",
|
|
103
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
104
|
-
"acorn-loose": "^8.5.
|
|
105
|
-
"bumpp": "^10.
|
|
106
|
-
"changelogen": "^0.6.
|
|
107
|
-
"eslint": "9.
|
|
108
|
-
"eslint-plugin-n": "^17.
|
|
109
|
-
"happy-dom": "^
|
|
102
|
+
"@typescript-eslint/typescript-estree": "^8.37.0",
|
|
103
|
+
"acorn-loose": "^8.5.2",
|
|
104
|
+
"bumpp": "^10.2.0",
|
|
105
|
+
"changelogen": "^0.6.2",
|
|
106
|
+
"eslint": "9.31.0",
|
|
107
|
+
"eslint-plugin-n": "^17.21.0",
|
|
108
|
+
"happy-dom": "^18.0.1",
|
|
110
109
|
"knitwork": "^1.2.0",
|
|
111
|
-
"nuxt": "^
|
|
112
|
-
"playwright-core": "^1.
|
|
113
|
-
"shiki": "3.
|
|
114
|
-
"typescript": "5.8.
|
|
115
|
-
"vitest": "^3.
|
|
116
|
-
"vue": "^3.5.
|
|
110
|
+
"nuxt": "^4.0.0",
|
|
111
|
+
"playwright-core": "^1.54.1",
|
|
112
|
+
"shiki": "3.8.0",
|
|
113
|
+
"typescript": "5.8.3",
|
|
114
|
+
"vitest": "^3.2.4",
|
|
115
|
+
"vue": "^3.5.17",
|
|
117
116
|
"vue-router": "^4.5.1",
|
|
118
|
-
"vue-tsc": "^
|
|
119
|
-
"@nuxt/scripts": "0.11.
|
|
117
|
+
"vue-tsc": "^3.0.1",
|
|
118
|
+
"@nuxt/scripts": "0.11.10"
|
|
120
119
|
},
|
|
121
120
|
"resolutions": {
|
|
122
|
-
"@nuxt/
|
|
123
|
-
"@nuxt/scripts": "workspace:*",
|
|
124
|
-
"@unhead/vue": "^2.0.10",
|
|
125
|
-
"nuxt": "^3.17.4",
|
|
126
|
-
"typescript": "^5.8.3",
|
|
127
|
-
"unhead": "^2.0.10",
|
|
128
|
-
"vue": "^3.5.16",
|
|
129
|
-
"vue-router": "^4.5.1"
|
|
121
|
+
"@nuxt/scripts": "workspace:*"
|
|
130
122
|
},
|
|
131
123
|
"scripts": {
|
|
132
124
|
"build": "pnpm dev:prepare && pnpm prepack",
|
|
@@ -134,14 +126,14 @@
|
|
|
134
126
|
"client:dev": "nuxi dev client --port 3300",
|
|
135
127
|
"dev": "nuxi dev playground",
|
|
136
128
|
"dev:ssl": "nuxi dev playground --https",
|
|
137
|
-
"
|
|
129
|
+
"prepare:fixtures": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/cdn && nuxi prepare test/fixtures/extend-registry",
|
|
130
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && pnpm run prepare:fixtures",
|
|
138
131
|
"typecheck": "vue-tsc --noEmit",
|
|
139
132
|
"bump": "bumpp package.json --commit --push --tag",
|
|
140
133
|
"release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\" && pnpm publish",
|
|
141
134
|
"lint": "eslint .",
|
|
142
135
|
"lint:fix": "eslint . --fix",
|
|
143
|
-
"test": "pnpm dev:prepare && vitest --run
|
|
144
|
-
"test:runtime": "cd test/fixtures/basic && vitest --run",
|
|
136
|
+
"test": "pnpm dev:prepare && vitest --run",
|
|
145
137
|
"test:types": "echo 'broken due to type regeneration, use pnpm typecheck' && npx nuxi typecheck"
|
|
146
138
|
}
|
|
147
139
|
}
|