@nuxt/scripts 0.6.5 → 0.7.0
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 +1 -1
- package/dist/client/200.html +9 -9
- package/dist/client/404.html +9 -9
- package/dist/client/_nuxt/{D3k5CjNA.js → BW5_3H_7.js} +1 -1
- package/dist/client/_nuxt/{D9Ze639F.js → CObySb1Z.js} +1 -1
- package/dist/client/_nuxt/Cdyv1BV6.js +31 -0
- package/dist/client/_nuxt/{D6UD5WyS.js → DPxoUSuY.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/b4af023e-aaec-4265-8ade-ce133bb4c4c3.json +1 -0
- package/dist/client/_nuxt/entry.FVeyw1Qn.css +1 -0
- package/dist/client/_nuxt/error-404.D8Cdd2Pl.css +1 -0
- package/dist/client/_nuxt/error-500.BENoupyF.css +1 -0
- package/dist/client/index.html +9 -9
- package/dist/module.d.mts +2 -10
- package/dist/module.d.ts +2 -10
- package/dist/module.json +2 -2
- package/dist/module.mjs +13 -4
- package/dist/runtime/components/ScriptCrisp.vue +10 -7
- package/dist/runtime/components/ScriptGoogleAdsense.vue +7 -7
- package/dist/runtime/components/ScriptGoogleMaps.vue +224 -66
- package/dist/runtime/components/ScriptIntercom.vue +10 -7
- package/dist/runtime/components/ScriptLemonSqueezy.vue +1 -1
- package/dist/runtime/components/ScriptStripePricingTable.vue +6 -6
- package/dist/runtime/components/ScriptVimeoPlayer.vue +62 -38
- package/dist/runtime/components/ScriptYouTubePlayer.vue +9 -9
- package/dist/runtime/composables/useScript.d.ts +6 -1
- package/dist/runtime/composables/useScript.js +8 -8
- package/dist/runtime/composables/useScriptEventPage.d.ts +2 -2
- package/dist/runtime/composables/useScriptEventPage.js +6 -5
- package/dist/runtime/registry/clarity.d.ts +1 -12
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +1 -3
- package/dist/runtime/registry/crisp.d.ts +1 -3
- package/dist/runtime/registry/fathom-analytics.d.ts +1 -3
- package/dist/runtime/registry/google-adsense.d.ts +1 -3
- package/dist/runtime/registry/google-analytics.d.ts +2 -10
- package/dist/runtime/registry/google-analytics.js +6 -3
- package/dist/runtime/registry/google-maps.d.ts +2 -4
- package/dist/runtime/registry/google-maps.js +1 -3
- package/dist/runtime/registry/google-tag-manager.d.ts +2 -10
- package/dist/runtime/registry/hotjar.d.ts +1 -3
- package/dist/runtime/registry/intercom.d.ts +1 -3
- package/dist/runtime/registry/lemon-squeezy.d.ts +1 -3
- package/dist/runtime/registry/matomo-analytics.d.ts +1 -3
- package/dist/runtime/registry/matomo-analytics.js +6 -2
- package/dist/runtime/registry/meta-pixel.d.ts +2 -3
- package/dist/runtime/registry/meta-pixel.js +5 -1
- package/dist/runtime/registry/npm.d.ts +1 -3
- package/dist/runtime/registry/plausible-analytics.d.ts +1 -3
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/stripe.d.ts +1 -3
- package/dist/runtime/registry/vimeo-player.d.ts +1 -3
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-pixel.d.ts +1 -3
- package/dist/runtime/registry/x-pixel.js +6 -2
- package/dist/runtime/registry/youtube-player.d.ts +1 -3
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/types.d.ts +5 -5
- package/dist/runtime/types.js +1 -1
- package/dist/runtime/utils.d.ts +2 -4
- package/package.json +41 -37
- package/dist/client/_nuxt/BA8oXX6l.js +0 -31
- package/dist/client/_nuxt/builds/meta/a5c6ec68-62ae-43af-96d0-bdd9f64f38b1.json +0 -1
- package/dist/client/_nuxt/entry.Cts5wDvr.css +0 -1
- package/dist/client/_nuxt/error-404.-RjlvToe.css +0 -1
- package/dist/client/_nuxt/error-500.Bz7LXgZy.css +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "0.7.0",
|
|
5
|
+
"packageManager": "pnpm@9.7.1",
|
|
6
6
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
7
7
|
"author": {
|
|
8
8
|
"website": "https://harlanzw.com",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "pnpm prepack",
|
|
38
|
+
"build": "pnpm dev:prepare && pnpm prepack",
|
|
39
39
|
"client:build": "nuxi generate client",
|
|
40
40
|
"client:dev": "nuxi dev client --port 3300",
|
|
41
41
|
"prepack": "nuxt-module-build build && npm run client:build",
|
|
@@ -48,15 +48,13 @@
|
|
|
48
48
|
"lint": "eslint .",
|
|
49
49
|
"lint:fix": "eslint . --fix",
|
|
50
50
|
"test": "vitest",
|
|
51
|
-
"test:types": "npx nuxi typecheck",
|
|
51
|
+
"test:types": "echo 'broken due to type regeneration, use pnpm typecheck' && npx nuxi typecheck",
|
|
52
52
|
"script:generate-tpc": "bun ./scripts/generateTpcScripts.ts && pnpm lint:fix"
|
|
53
53
|
},
|
|
54
54
|
"build": {
|
|
55
55
|
"externals": [
|
|
56
56
|
"@unhead/vue",
|
|
57
57
|
"@unhead/schema",
|
|
58
|
-
"#nuxt-scripts",
|
|
59
|
-
"#nuxt-scripts-validator",
|
|
60
58
|
"third-party-capital",
|
|
61
59
|
"knitwork",
|
|
62
60
|
"estree-walker",
|
|
@@ -69,61 +67,67 @@
|
|
|
69
67
|
"dependencies": {
|
|
70
68
|
"@nuxt/devtools-kit": "^1.3.9",
|
|
71
69
|
"@nuxt/devtools-ui-kit": "^1.3.9",
|
|
72
|
-
"@nuxt/kit": "^3.12.
|
|
73
|
-
"@types/google.maps": "^3.55.
|
|
70
|
+
"@nuxt/kit": "^3.12.4",
|
|
71
|
+
"@types/google.maps": "^3.55.12",
|
|
74
72
|
"@types/stripe-v3": "^3.1.33",
|
|
75
73
|
"@types/vimeo__player": "^2.18.3",
|
|
76
74
|
"@types/youtube": "^0.0.50",
|
|
77
|
-
"@unhead/vue": "^1.
|
|
78
|
-
"@vueuse/core": "^
|
|
75
|
+
"@unhead/vue": "^1.10.0",
|
|
76
|
+
"@vueuse/core": "^11.0.1",
|
|
79
77
|
"consola": "^3.2.3",
|
|
80
78
|
"defu": "^6.1.4",
|
|
81
79
|
"h3": "^1.12.0",
|
|
82
|
-
"magic-string": "^0.30.
|
|
80
|
+
"magic-string": "^0.30.11",
|
|
83
81
|
"mlly": "^1.7.1",
|
|
84
82
|
"ofetch": "^1.3.4",
|
|
85
83
|
"ohash": "^1.1.3",
|
|
86
84
|
"pathe": "^1.1.2",
|
|
87
85
|
"pkg-types": "^1.1.3",
|
|
88
|
-
"semver": "^7.6.
|
|
89
|
-
"shiki": "
|
|
86
|
+
"semver": "^7.6.3",
|
|
87
|
+
"shiki": "1.14.1",
|
|
90
88
|
"sirv": "^2.0.4",
|
|
91
89
|
"std-env": "^3.7.0",
|
|
92
|
-
"third-party-capital": "
|
|
93
|
-
"ufo": "^1.5.
|
|
94
|
-
"unimport": "^3.
|
|
95
|
-
"unplugin": "^1.
|
|
90
|
+
"third-party-capital": "2.3.0",
|
|
91
|
+
"ufo": "^1.5.4",
|
|
92
|
+
"unimport": "^3.10.1",
|
|
93
|
+
"unplugin": "^1.12.2",
|
|
96
94
|
"unstorage": "^1.10.2",
|
|
97
|
-
"valibot": "^0.
|
|
95
|
+
"valibot": "^0.38.0"
|
|
98
96
|
},
|
|
99
97
|
"devDependencies": {
|
|
100
98
|
"@nuxt/devtools-ui-kit": "^1.3.9",
|
|
101
|
-
"@nuxt/eslint-config": "^0.
|
|
102
|
-
"@nuxt/module-builder": "^0.8.
|
|
103
|
-
"@nuxt/test-utils": "3.
|
|
99
|
+
"@nuxt/eslint-config": "^0.5.1",
|
|
100
|
+
"@nuxt/module-builder": "^0.8.3",
|
|
101
|
+
"@nuxt/test-utils": "3.14.1",
|
|
104
102
|
"@types/semver": "^7.5.8",
|
|
105
|
-
"@typescript-eslint/typescript-estree": "^
|
|
106
|
-
"@unhead/schema": "^1.
|
|
103
|
+
"@typescript-eslint/typescript-estree": "^8.2.0",
|
|
104
|
+
"@unhead/schema": "^1.10.0",
|
|
107
105
|
"acorn-loose": "^8.4.0",
|
|
108
|
-
"bumpp": "^9.
|
|
106
|
+
"bumpp": "^9.5.1",
|
|
109
107
|
"changelogen": "^0.5.5",
|
|
110
|
-
"eslint": "9.
|
|
111
|
-
"eslint-plugin-n": "^17.
|
|
108
|
+
"eslint": "9.9.0",
|
|
109
|
+
"eslint-plugin-n": "^17.10.2",
|
|
112
110
|
"knitwork": "^1.1.0",
|
|
113
|
-
"nuxt": "^3.12.
|
|
111
|
+
"nuxt": "^3.12.4",
|
|
114
112
|
"nuxt-scripts-devtools": "workspace:*",
|
|
115
|
-
"playwright-core": "^1.
|
|
116
|
-
"typescript": "^5.5.
|
|
117
|
-
"vitest": "^2.0.
|
|
118
|
-
"vue": "^3.4.
|
|
119
|
-
"vue-router": "^4.4.
|
|
113
|
+
"playwright-core": "^1.46.1",
|
|
114
|
+
"typescript": "^5.5.4",
|
|
115
|
+
"vitest": "^2.0.5",
|
|
116
|
+
"vue": "^3.4.38",
|
|
117
|
+
"vue-router": "^4.4.3"
|
|
120
118
|
},
|
|
121
119
|
"resolutions": {
|
|
122
120
|
"@nuxt/scripts": "workspace:*",
|
|
123
|
-
"
|
|
121
|
+
"@unhead/dom": "1.10.0",
|
|
122
|
+
"@unhead/schema": "1.10.0",
|
|
123
|
+
"@unhead/shared": "1.10.0",
|
|
124
|
+
"@unhead/ssr": "1.10.0",
|
|
125
|
+
"@unhead/vue": "1.10.0",
|
|
126
|
+
"nuxt": "^3.12.4",
|
|
124
127
|
"nuxt-scripts-devtools": "workspace:*",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
+
"shiki": "1.10.3",
|
|
129
|
+
"unhead": "1.10.0",
|
|
130
|
+
"vue": "^3.4.38",
|
|
131
|
+
"vue-router": "^4.4.3"
|
|
128
132
|
}
|
|
129
|
-
}
|
|
133
|
+
}
|