@stackonward/google-tag-manager-nuxt 0.2.0 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @stackonward/google-tag-manager-nuxt
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Import the Nuxt Scripts Google Tag Manager composable explicitly so enabled containers work from packed dependencies, and verify that path with the generated consumer release gate.
8
+
9
+ ## 0.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Publish pnpm-normalized tarballs through the repository-owned release pipeline and reject local workspace protocols before registry upload.
14
+ - Updated dependencies
15
+ - @stackonward/analytics-core@0.2.1
16
+ - @stackonward/analytics-nuxt@0.1.2
17
+ - @stackonward/google-tag-manager@0.1.1
18
+
3
19
  ## 0.2.0
4
20
 
5
21
  ### Minor Changes
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "0.2.0",
7
+ "version": "0.2.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.3",
10
10
  "unbuild": "unknown"
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  createGoogleTagManagerTransport
3
3
  } from "@stackonward/google-tag-manager";
4
+ import { useScriptGoogleTagManager } from "#imports";
4
5
  import { defineNuxtPlugin, useNuxtApp, useRuntimeConfig } from "nuxt/app";
5
6
  import { createGoogleTagManagerLifecycleParticipant } from "../google-tag-manager-lifecycle.js";
6
7
  export default defineNuxtPlugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackonward/google-tag-manager-nuxt",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Consent-aware Google Tag Manager transport and analytics composition module for Nuxt",
5
5
  "type": "module",
6
6
  "main": "./dist/module.mjs",
@@ -18,12 +18,6 @@
18
18
  "CHANGELOG.md"
19
19
  ],
20
20
  "sideEffects": false,
21
- "scripts": {
22
- "build": "nuxt-module-build build",
23
- "prepack": "pnpm build",
24
- "typecheck": "tsc --noEmit",
25
- "test": "vitest run"
26
- },
27
21
  "publishConfig": {
28
22
  "access": "public"
29
23
  },
@@ -40,10 +34,10 @@
40
34
  ],
41
35
  "license": "MIT",
42
36
  "dependencies": {
43
- "@stackonward/analytics-core": "workspace:^",
44
- "@stackonward/analytics-nuxt": "workspace:^",
45
- "@stackonward/google-tag-manager": "workspace:^",
46
- "zod": "^3.24.0"
37
+ "zod": "^3.24.0",
38
+ "@stackonward/analytics-nuxt": "^0.1.2",
39
+ "@stackonward/google-tag-manager": "^0.1.1",
40
+ "@stackonward/analytics-core": "^0.2.1"
47
41
  },
48
42
  "peerDependencies": {
49
43
  "@nuxt/scripts": ">=1.3.0 <2",
@@ -63,5 +57,10 @@
63
57
  },
64
58
  "engines": {
65
59
  "node": ">=20"
60
+ },
61
+ "scripts": {
62
+ "build": "nuxt-module-build build",
63
+ "typecheck": "tsc --noEmit",
64
+ "test": "vitest run"
66
65
  }
67
- }
66
+ }