nuxt-yandex-metrika 1.3.0 → 1.3.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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "1.3.0",
7
+ "version": "1.3.1",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -35,7 +35,7 @@ const module$1 = defineNuxtModule({
35
35
  options,
36
36
  {
37
37
  id: "xxx",
38
- debug: process.env.NODE_ENV !== "production",
38
+ debug: import.meta.env.NODE_ENV !== "production",
39
39
  delay: 0,
40
40
  cdn: false,
41
41
  verification: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-yandex-metrika",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Add Yandex Metrika to your Nuxt 3 application.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,16 +24,6 @@
24
24
  "files": [
25
25
  "dist"
26
26
  ],
27
- "scripts": {
28
- "prepack": "nuxt-module-build build",
29
- "dev": "nuxi dev playground",
30
- "dev:build": "nuxi build playground build",
31
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
32
- "release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
33
- "prettier": "prettier --write .",
34
- "lint": "eslint --fix .",
35
- "prepare": "husky install"
36
- },
37
27
  "publishConfig": {
38
28
  "access": "public"
39
29
  },
@@ -68,5 +58,12 @@
68
58
  "git add"
69
59
  ]
70
60
  },
71
- "packageManager": "pnpm@10.26.2"
72
- }
61
+ "scripts": {
62
+ "dev": "nuxi dev playground",
63
+ "dev:build": "nuxi build playground build",
64
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
65
+ "release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
66
+ "prettier": "prettier --write .",
67
+ "lint": "eslint --fix ."
68
+ }
69
+ }