@dargmuesli/nuxt-vio 3.2.3 → 3.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/nuxt.config.ts +5 -3
  2. package/package.json +27 -10
package/nuxt.config.ts CHANGED
@@ -34,7 +34,9 @@ export default defineNuxtConfig(
34
34
  },
35
35
  },
36
36
  devtools: {
37
- enabled: process.env.NODE_ENV !== 'production',
37
+ enabled:
38
+ process.env.NODE_ENV !== 'production' &&
39
+ !process.env.NUXT_PUBLIC_IS_TESTING,
38
40
  timeline: {
39
41
  enabled: true,
40
42
  },
@@ -46,8 +48,8 @@ export default defineNuxtConfig(
46
48
  '@nuxtjs/html-validator',
47
49
  '@nuxtjs/i18n',
48
50
  '@nuxtjs/tailwindcss',
51
+ '@nuxtseo/module',
49
52
  '@pinia/nuxt',
50
- 'nuxt-seo-kit-module',
51
53
  ],
52
54
  nitro: {
53
55
  compressPublicAssets: true,
@@ -150,7 +152,7 @@ export default defineNuxtConfig(
150
152
  debug: process.env.NODE_ENV === 'development',
151
153
  failOnError: true,
152
154
  },
153
- seoKit: {
155
+ seo: {
154
156
  splash: false,
155
157
  },
156
158
  site: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,7 +8,7 @@
8
8
  "engines": {
9
9
  "node": "20"
10
10
  },
11
- "packageManager": "pnpm@8.6.12",
11
+ "packageManager": "pnpm@8.7.0",
12
12
  "files": [
13
13
  "assets",
14
14
  "components",
@@ -39,9 +39,21 @@
39
39
  "lint:ts": "nuxt typecheck",
40
40
  "lint": "pnpm lint:js && pnpm lint:ts && pnpm lint:style",
41
41
  "prepare": "nuxt prepare .playground",
42
- "preview": "nuxt preview .playground"
42
+ "preview": "nuxt preview .playground",
43
+ "start": "PORT=3001 node .playground/.output/server/index.mjs",
44
+ "test:e2e": "playwright test",
45
+ "test:e2e:dev": "cross-env NUXT_PUBLIC_IS_TESTING=1 WAIT_ON_TIMEOUT=100000 pnpm test:e2e",
46
+ "test:e2e:prod": "cross-env NUXT_PUBLIC_IS_TESTING=1 WAIT_ON_TIMEOUT=10000 NODE_ENV=production pnpm test:e2e",
47
+ "test:e2e:docker:build": "docker build -t test-e2e_base --build-arg UID=$(id -u) --build-arg GID=$(id -g) --target test-e2e_base ..",
48
+ "test:e2e:docker:run": "docker run --rm -v \"$PWD/..:/srv/app\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_base",
49
+ "test:e2e:docker:br": "pnpm test:e2e:docker:build && pnpm test:e2e:docker:run",
50
+ "test:e2e:docker:dev": "pnpm test:e2e:docker:br pnpm --dir src run test:e2e:dev",
51
+ "test:e2e:docker:dev:update": "pnpm test:e2e:docker:dev --update-snapshots",
52
+ "test:e2e:docker:prod": "pnpm test:e2e:docker:br pnpm --dir src run test:e2e:prod",
53
+ "test:e2e:docker:prod:update": "pnpm test:e2e:docker:prod --update-snapshots"
43
54
  },
44
55
  "dependencies": {
56
+ "@axe-core/playwright": "4.7.3",
45
57
  "@dargmuesli/nuxt-cookie-control": "6.4.1",
46
58
  "@http-util/status-i18n": "0.8.1",
47
59
  "@nuxt/image": "1.0.0-rc.1",
@@ -49,8 +61,10 @@
49
61
  "@nuxtjs/html-validator": "1.5.2",
50
62
  "@nuxtjs/i18n": "8.0.0-rc.3",
51
63
  "@nuxtjs/tailwindcss": "6.8.0",
64
+ "@nuxtseo/module": "2.0.0-beta.19",
52
65
  "@pinia/nuxt": "0.4.11",
53
- "@tailwindcss/forms": "0.5.5",
66
+ "@playwright/test": "1.37.1",
67
+ "@tailwindcss/forms": "0.5.6",
54
68
  "@tailwindcss/typography": "0.5.9",
55
69
  "@types/cookie": "0.5.1",
56
70
  "@types/lodash-es": "4.17.8",
@@ -66,8 +80,7 @@
66
80
  "is-https": "4.0.0",
67
81
  "jose": "4.14.4",
68
82
  "lodash-es": "4.17.21",
69
- "marked": "7.0.4",
70
- "nuxt-seo-kit-module": "2.0.0-beta.13",
83
+ "marked": "7.0.5",
71
84
  "pinia": "2.1.6",
72
85
  "sweetalert2": "11.7.27",
73
86
  "vue-gtag": "2.0.1",
@@ -75,17 +88,18 @@
75
88
  },
76
89
  "devDependencies": {
77
90
  "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.3",
78
- "@nuxtjs/eslint-config-typescript": "12.0.0",
91
+ "@nuxtjs/eslint-config-typescript": "12.1.0",
79
92
  "@types/marked": "5.0.1",
93
+ "cross-env": "7.0.3",
80
94
  "eslint": "8.48.0",
81
95
  "eslint-config-prettier": "9.0.0",
82
- "eslint-plugin-compat": "4.1.4",
96
+ "eslint-plugin-compat": "4.2.0",
83
97
  "eslint-plugin-nuxt": "4.0.0",
84
98
  "eslint-plugin-prettier": "5.0.0",
85
99
  "eslint-plugin-yml": "1.8.0",
86
100
  "lint-staged": "14.0.1",
87
- "nuxt": "3.7.0",
88
- "prettier": "3.0.2",
101
+ "nuxt": "3.6.5",
102
+ "prettier": "3.0.3",
89
103
  "prettier-plugin-tailwindcss": "0.5.3",
90
104
  "stylelint": "15.10.3",
91
105
  "stylelint-config-recommended-vue": "1.5.0",
@@ -93,5 +107,8 @@
93
107
  "stylelint-no-unsupported-browser-features": "7.0.0",
94
108
  "tailwindcss": "3.3.3",
95
109
  "vue": "3.3.4"
110
+ },
111
+ "peerDependencies": {
112
+ "playwright-core": "1.37.1"
96
113
  }
97
114
  }