@nuxt/scripts 1.0.0-beta.3 → 1.0.0-beta.31
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/README.md +3 -3
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{DdVDSbUA.js → 6CwTUC2b.js} +1 -1
- package/dist/client/_nuxt/{CD5B-xvT.js → B71AlSZ1.js} +1 -1
- package/dist/client/_nuxt/{Ds2G8aQM.js → BYGJV5dd.js} +1 -1
- package/dist/client/_nuxt/V4W-T8W6.js +162 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/70b59a3e-a025-4a77-a25a-dfadf5b1749d.json +1 -0
- package/dist/client/_nuxt/entry.C5SUNdim.css +1 -0
- package/dist/client/_nuxt/error-404.1K8v8Su2.css +1 -0
- package/dist/client/_nuxt/error-500.B9qvKpQm.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +6 -18
- package/dist/module.d.ts +164 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +908 -645
- package/dist/registry.d.ts +6 -0
- package/dist/registry.mjs +244 -78
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +16 -9
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +57 -30
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +16 -9
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +22 -39
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +69 -72
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +22 -39
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +25 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.d.vue.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue.d.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +22 -26
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +9 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +62 -53
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +9 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +26 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +48 -45
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +26 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +15 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +47 -37
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +15 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +77 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +209 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +77 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +23 -32
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +25 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.d.ts +13 -0
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.js +8 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.d.ts +13 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.js +3 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.d.ts +26 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.js +42 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.d.vue.ts +87 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue +85 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue.d.ts +87 -0
- package/dist/runtime/components/ScriptCrisp.vue +1 -1
- package/dist/runtime/components/ScriptGoogleAdsense.vue +1 -1
- package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
- package/dist/runtime/components/ScriptGravatar.vue +46 -0
- package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
- package/dist/runtime/components/ScriptInstagramEmbed.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptInstagramEmbed.vue +5 -2
- package/dist/runtime/components/ScriptInstagramEmbed.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptIntercom.vue +4 -3
- package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +43 -32
- package/dist/runtime/components/ScriptPayPalButtons.vue +48 -79
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +43 -32
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +37 -23
- package/dist/runtime/components/ScriptPayPalMessages.vue +46 -50
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +37 -23
- package/dist/runtime/components/ScriptStripePricingTable.vue +2 -2
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +9 -0
- package/dist/runtime/components/ScriptVimeoPlayer.vue +13 -10
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +9 -0
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptXEmbed.vue +6 -3
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.vue +11 -5
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +2 -2
- package/dist/runtime/composables/useScript.js +13 -6
- package/dist/runtime/composables/useScriptEventPage.js +2 -2
- package/dist/runtime/composables/useScriptTriggerConsent.d.ts +10 -0
- package/dist/runtime/composables/useScriptTriggerConsent.js +33 -20
- package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
- package/dist/runtime/registry/bing-uet.d.ts +20 -0
- package/dist/runtime/registry/bing-uet.js +29 -0
- package/dist/runtime/registry/bluesky-embed.d.ts +116 -0
- package/dist/runtime/registry/bluesky-embed.js +72 -0
- package/dist/runtime/registry/clarity.d.ts +10 -15
- package/dist/runtime/registry/clarity.js +22 -31
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
- package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
- package/dist/runtime/registry/crisp.d.ts +10 -40
- package/dist/runtime/registry/crisp.js +2 -33
- package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
- package/dist/runtime/registry/databuddy-analytics.js +20 -45
- package/dist/runtime/registry/fathom-analytics.d.ts +7 -26
- package/dist/runtime/registry/fathom-analytics.js +2 -24
- package/dist/runtime/registry/google-adsense.d.ts +3 -11
- package/dist/runtime/registry/google-adsense.js +2 -11
- package/dist/runtime/registry/google-analytics.d.ts +3 -5
- package/dist/runtime/registry/google-analytics.js +3 -8
- package/dist/runtime/registry/google-maps.d.ts +3 -9
- package/dist/runtime/registry/google-maps.js +2 -8
- package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
- package/dist/runtime/registry/google-recaptcha.js +4 -12
- package/dist/runtime/registry/google-sign-in.d.ts +2 -13
- package/dist/runtime/registry/google-sign-in.js +2 -22
- package/dist/runtime/registry/google-tag-manager.d.ts +3 -28
- package/dist/runtime/registry/google-tag-manager.js +4 -27
- package/dist/runtime/registry/gravatar.d.ts +26 -0
- package/dist/runtime/registry/gravatar.js +33 -0
- package/dist/runtime/registry/hotjar.d.ts +4 -6
- package/dist/runtime/registry/hotjar.js +2 -5
- package/dist/runtime/registry/instagram-embed.d.ts +3 -18
- package/dist/runtime/registry/instagram-embed.js +4 -19
- package/dist/runtime/registry/intercom.d.ts +4 -12
- package/dist/runtime/registry/intercom.js +2 -12
- package/dist/runtime/registry/matomo-analytics.d.ts +3 -12
- package/dist/runtime/registry/matomo-analytics.js +3 -12
- package/dist/runtime/registry/meta-pixel.d.ts +4 -6
- package/dist/runtime/registry/meta-pixel.js +2 -4
- package/dist/runtime/registry/mixpanel-analytics.d.ts +22 -0
- package/dist/runtime/registry/mixpanel-analytics.js +46 -0
- package/dist/runtime/registry/npm.d.ts +3 -7
- package/dist/runtime/registry/npm.js +2 -9
- package/dist/runtime/registry/paypal.d.ts +4 -25
- package/dist/runtime/registry/paypal.js +3 -66
- package/dist/runtime/registry/plausible-analytics.js +18 -13
- package/dist/runtime/registry/posthog.d.ts +10 -12
- package/dist/runtime/registry/posthog.js +7 -14
- package/dist/runtime/registry/reddit-pixel.d.ts +5 -6
- package/dist/runtime/registry/reddit-pixel.js +2 -4
- package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
- package/dist/runtime/registry/rybbit-analytics.js +10 -20
- package/dist/runtime/registry/schemas.d.ts +982 -0
- package/dist/runtime/registry/schemas.js +937 -0
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/segment.js +2 -5
- package/dist/runtime/registry/snapchat-pixel.d.ts +4 -33
- package/dist/runtime/registry/snapchat-pixel.js +2 -20
- package/dist/runtime/registry/stripe.d.ts +3 -4
- package/dist/runtime/registry/stripe.js +2 -4
- package/dist/runtime/registry/tiktok-pixel.d.ts +4 -7
- package/dist/runtime/registry/tiktok-pixel.js +2 -6
- package/dist/runtime/registry/umami-analytics.d.ts +2 -31
- package/dist/runtime/registry/umami-analytics.js +2 -36
- package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
- package/dist/runtime/registry/vercel-analytics.js +84 -0
- package/dist/runtime/registry/vimeo-player.d.ts +2 -2
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-embed.d.ts +3 -17
- package/dist/runtime/registry/x-embed.js +3 -18
- package/dist/runtime/registry/x-pixel.d.ts +4 -7
- package/dist/runtime/registry/x-pixel.js +2 -5
- package/dist/runtime/registry/youtube-player.d.ts +7 -7
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/server/{sw-handler.d.ts → bluesky-embed-image.d.ts} +1 -1
- package/dist/runtime/server/bluesky-embed-image.js +7 -0
- package/dist/runtime/server/bluesky-embed.d.ts +16 -0
- package/dist/runtime/server/bluesky-embed.js +59 -0
- package/dist/runtime/server/google-maps-geocode-proxy.d.ts +2 -0
- package/dist/runtime/server/google-maps-geocode-proxy.js +34 -0
- package/dist/runtime/server/google-static-maps-proxy.js +2 -13
- package/dist/runtime/server/gravatar-proxy.d.ts +2 -0
- package/dist/runtime/server/gravatar-proxy.js +46 -0
- package/dist/runtime/server/instagram-embed-asset.js +8 -41
- package/dist/runtime/server/instagram-embed-image.js +6 -53
- package/dist/runtime/server/instagram-embed.d.ts +16 -0
- package/dist/runtime/server/instagram-embed.js +173 -35
- package/dist/runtime/server/proxy-handler.js +144 -113
- package/dist/runtime/server/utils/image-proxy.d.ts +12 -0
- package/dist/runtime/server/utils/image-proxy.js +70 -0
- package/dist/runtime/server/utils/privacy.d.ts +1 -2
- package/dist/runtime/server/utils/privacy.js +54 -34
- package/dist/runtime/server/x-embed-image.js +5 -49
- package/dist/runtime/server/x-embed.js +3 -2
- package/dist/runtime/types.d.ts +74 -40
- package/dist/runtime/utils/pure.d.ts +1 -5
- package/dist/runtime/utils/pure.js +0 -67
- package/dist/runtime/utils.d.ts +4 -3
- package/dist/runtime/utils.js +24 -10
- package/dist/shared/scripts.D7e2ENu6.mjs +211 -0
- package/dist/stats.d.mts +202 -0
- package/dist/stats.d.ts +202 -0
- package/dist/stats.mjs +3860 -0
- package/dist/types-source.d.mts +17 -0
- package/dist/types-source.d.ts +17 -0
- package/dist/types-source.mjs +3614 -0
- package/package.json +52 -38
- package/dist/client/_nuxt/D-kOnTuH.js +0 -162
- package/dist/client/_nuxt/builds/meta/f1474569-6922-450d-bc3f-4fd5f3e1391a.json +0 -1
- package/dist/client/_nuxt/entry.D45OuV0w.css +0 -1
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
- package/dist/runtime/components/ScriptPayPalMarks.vue +0 -69
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
- package/dist/runtime/plugins/sw-register.client.d.ts +0 -2
- package/dist/runtime/plugins/sw-register.client.js +0 -12
- package/dist/runtime/server/sw-handler.js +0 -25
- package/dist/runtime/sw/proxy-sw.template.d.ts +0 -1
- package/dist/runtime/sw/proxy-sw.template.js +0 -54
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.31",
|
|
5
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
6
6
|
"author": {
|
|
7
|
-
"website": "https://harlanzw.com",
|
|
8
7
|
"name": "Harlan Wilton",
|
|
9
|
-
"email": "harlan@harlanzw.com"
|
|
8
|
+
"email": "harlan@harlanzw.com",
|
|
9
|
+
"url": "https://harlanzw.com"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"repository": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"types": "./dist/types.d.mts",
|
|
23
23
|
"import": "./dist/module.mjs"
|
|
24
24
|
},
|
|
25
|
-
"./registry": "./dist/registry.mjs"
|
|
25
|
+
"./registry": "./dist/registry.mjs",
|
|
26
|
+
"./stats": "./dist/stats.mjs",
|
|
27
|
+
"./types-source": "./dist/types-source.mjs"
|
|
26
28
|
},
|
|
27
29
|
"main": "./dist/module.mjs",
|
|
28
|
-
"
|
|
29
|
-
"dist"
|
|
30
|
-
],
|
|
30
|
+
"types": "./dist/types.d.mts",
|
|
31
31
|
"typesVersions": {
|
|
32
32
|
"*": {
|
|
33
33
|
".": [
|
|
@@ -35,9 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"registry": [
|
|
37
37
|
"./dist/registry.d.mts"
|
|
38
|
+
],
|
|
39
|
+
"stats": [
|
|
40
|
+
"./dist/stats.d.mts"
|
|
41
|
+
],
|
|
42
|
+
"types-source": [
|
|
43
|
+
"./dist/types-source.d.mts"
|
|
38
44
|
]
|
|
39
45
|
}
|
|
40
46
|
},
|
|
47
|
+
"files": [
|
|
48
|
+
"dist"
|
|
49
|
+
],
|
|
41
50
|
"build": {
|
|
42
51
|
"externals": [
|
|
43
52
|
"@unhead/vue",
|
|
@@ -67,10 +76,10 @@
|
|
|
67
76
|
"@googlemaps/markerclusterer": {
|
|
68
77
|
"optional": true
|
|
69
78
|
},
|
|
70
|
-
"@
|
|
79
|
+
"@paypal/paypal-js": {
|
|
71
80
|
"optional": true
|
|
72
81
|
},
|
|
73
|
-
"@
|
|
82
|
+
"@stripe/stripe-js": {
|
|
74
83
|
"optional": true
|
|
75
84
|
},
|
|
76
85
|
"@types/google.maps": {
|
|
@@ -87,70 +96,75 @@
|
|
|
87
96
|
}
|
|
88
97
|
},
|
|
89
98
|
"dependencies": {
|
|
90
|
-
"@nuxt/devtools-kit": "^3.2.
|
|
91
|
-
"@nuxt/kit": "^4.
|
|
99
|
+
"@nuxt/devtools-kit": "^3.2.4",
|
|
100
|
+
"@nuxt/kit": "^4.4.2",
|
|
92
101
|
"@vueuse/core": "^14.2.1",
|
|
93
102
|
"consola": "^3.4.2",
|
|
94
103
|
"defu": "^6.1.4",
|
|
95
|
-
"h3": "^1.15.
|
|
104
|
+
"h3": "^1.15.9",
|
|
96
105
|
"magic-string": "^0.30.21",
|
|
97
106
|
"ofetch": "^1.5.1",
|
|
98
107
|
"ohash": "^2.0.11",
|
|
99
|
-
"oxc-parser": "^0.
|
|
108
|
+
"oxc-parser": "^0.121.0",
|
|
100
109
|
"oxc-walker": "^0.7.0",
|
|
101
110
|
"pathe": "^2.0.3",
|
|
102
111
|
"pkg-types": "^2.3.0",
|
|
103
112
|
"sirv": "^3.0.2",
|
|
104
|
-
"std-env": "^
|
|
113
|
+
"std-env": "^4.0.0",
|
|
105
114
|
"ufo": "^1.6.3",
|
|
115
|
+
"ultrahtml": "^1.6.0",
|
|
106
116
|
"unplugin": "^3.0.0",
|
|
107
117
|
"unstorage": "^1.17.4",
|
|
108
|
-
"valibot": "^1.
|
|
118
|
+
"valibot": "^1.3.1"
|
|
109
119
|
},
|
|
110
120
|
"devDependencies": {
|
|
111
|
-
"@
|
|
112
|
-
"@nuxt/
|
|
121
|
+
"@antfu/eslint-config": "^7.7.3",
|
|
122
|
+
"@nuxt/devtools-ui-kit": "^3.2.4",
|
|
113
123
|
"@nuxt/module-builder": "^1.0.2",
|
|
114
124
|
"@nuxt/test-utils": "^4.0.0",
|
|
115
125
|
"@nuxtjs/partytown": "^2.0.0",
|
|
116
|
-
"@paypal/paypal-js": "^9.
|
|
126
|
+
"@paypal/paypal-js": "^9.4.1",
|
|
127
|
+
"@types/jest-image-snapshot": "^6.4.1",
|
|
117
128
|
"@types/semver": "^7.7.1",
|
|
118
|
-
"@
|
|
129
|
+
"@types/youtube": "^0.1.2",
|
|
130
|
+
"@typescript-eslint/typescript-estree": "^8.57.1",
|
|
119
131
|
"@vue/test-utils": "^2.4.6",
|
|
120
|
-
"bumpp": "^
|
|
121
|
-
"
|
|
122
|
-
"eslint": "^
|
|
123
|
-
"
|
|
124
|
-
"
|
|
132
|
+
"bumpp": "^11.0.1",
|
|
133
|
+
"eslint": "^10.0.3",
|
|
134
|
+
"eslint-plugin-harlanzw": "^0.9.0",
|
|
135
|
+
"happy-dom": "^20.8.4",
|
|
136
|
+
"jest-image-snapshot": "^6.5.2",
|
|
125
137
|
"knitwork": "^1.3.0",
|
|
126
|
-
"nuxt": "^4.
|
|
138
|
+
"nuxt": "^4.4.2",
|
|
127
139
|
"playwright-core": "^1.58.2",
|
|
128
|
-
"posthog-js": "^1.
|
|
129
|
-
"shiki": "^
|
|
130
|
-
"typescript": "5.9.3",
|
|
131
|
-
"vitest": "^4.0
|
|
132
|
-
"vue": "^3.5.
|
|
133
|
-
"vue-router": "^5.0.
|
|
134
|
-
"vue-tsc": "^3.2.
|
|
135
|
-
"@nuxt/scripts": "1.0.0-beta.
|
|
140
|
+
"posthog-js": "^1.363.1",
|
|
141
|
+
"shiki": "^4.0.2",
|
|
142
|
+
"typescript": "^5.9.3",
|
|
143
|
+
"vitest": "^4.1.0",
|
|
144
|
+
"vue": "^3.5.30",
|
|
145
|
+
"vue-router": "^5.0.4",
|
|
146
|
+
"vue-tsc": "^3.2.6",
|
|
147
|
+
"@nuxt/scripts": "1.0.0-beta.31"
|
|
136
148
|
},
|
|
137
149
|
"resolutions": {
|
|
138
150
|
"@nuxt/scripts": "workspace:*"
|
|
139
151
|
},
|
|
140
152
|
"scripts": {
|
|
141
153
|
"build": "pnpm dev:prepare && pnpm prepack",
|
|
154
|
+
"generate:types": "pnpm dlx tsx scripts/generate-registry-types.ts",
|
|
142
155
|
"client:build": "nuxi generate client",
|
|
143
156
|
"client:dev": "nuxi dev client --port 3300",
|
|
144
157
|
"dev": "nuxi dev playground",
|
|
145
158
|
"dev:ssl": "nuxi dev playground --https",
|
|
159
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && pnpm prepare:fixtures",
|
|
146
160
|
"prepare:fixtures": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/cdn && nuxi prepare test/fixtures/extend-registry && nuxi prepare test/fixtures/partytown && nuxi prepare test/fixtures/first-party",
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"bump": "bumpp package.json --commit --push --tag",
|
|
150
|
-
"release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\"",
|
|
161
|
+
"typecheck": "nuxt typecheck",
|
|
162
|
+
"release": "pnpm build && bumpp --output=CHANGELOG.md",
|
|
151
163
|
"lint": "eslint .",
|
|
152
164
|
"lint:fix": "eslint . --fix",
|
|
153
|
-
"test": "
|
|
165
|
+
"test": "vitest",
|
|
166
|
+
"test:run": "vitest run",
|
|
167
|
+
"test:e2e-dev": "vitest run --project e2e-dev",
|
|
154
168
|
"test:types": "vitest run --project typecheck"
|
|
155
169
|
}
|
|
156
170
|
}
|