@dargmuesli/nuxt-vio-testing 20.5.0 → 20.5.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.
@@ -36,6 +36,5 @@ export const PAGE_READY = async ({
36
36
  }
37
37
  }
38
38
  export const SITE_URL =
39
- process.env.SITE_URL ||
40
39
  process.env.NUXT_PUBLIC_SITE_URL ||
41
40
  `https://${process.env.HOST || 'localhost'}:${process.env.PORT || '3000'}`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "devDependencies": {
3
3
  "@axe-core/playwright": "4.11.0",
4
4
  "@eslint/js": "9.39.2",
5
- "@playwright/test": "1.58.0",
5
+ "@playwright/test": "1.58.1",
6
6
  "@types/node": "24.10.9",
7
7
  "cross-env": "10.1.0",
8
8
  "eslint": "9.39.2",
@@ -10,7 +10,7 @@
10
10
  "eslint-plugin-prettier": "5.5.5",
11
11
  "lodash-es": "4.17.23",
12
12
  "typescript": "5.9.3",
13
- "typescript-eslint": "8.53.1",
13
+ "typescript-eslint": "8.54.0",
14
14
  "ufo": "1.6.3"
15
15
  },
16
16
  "engines": {
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "name": "@dargmuesli/nuxt-vio-testing",
27
27
  "peerDependencies": {
28
- "playwright-core": "1.58.0"
28
+ "playwright-core": "1.58.1"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
@@ -43,16 +43,16 @@
43
43
  "test:e2e:docker:br": "pnpm run test:e2e:docker:build && pnpm run test:e2e:docker:run",
44
44
  "test:e2e:docker:build": "sudo docker build -t test-e2e_development --build-arg UID=$(id -u) --build-arg GID=$(id -g) --target test-e2e_development ..",
45
45
  "test:e2e:docker:run": "sudo docker run --rm -v \"$PWD/..:/srv/app\" -v \"jonas-thelemann_playwright_data:/srv/app/node_modules\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_development",
46
- "test:e2e:docker:server:dev": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:dev",
46
+ "test:e2e:docker:server:dev": "pnpm run test:e2e:docker:br pnpm run --dir tests test:e2e:server:dev",
47
47
  "test:e2e:docker:server:dev:update": "pnpm run test:e2e:docker:server:dev --update-snapshots",
48
- "test:e2e:docker:server:node": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:node",
48
+ "test:e2e:docker:server:node": "pnpm run test:e2e:docker:br pnpm run --dir tests test:e2e:server:node",
49
49
  "test:e2e:docker:server:node:update": "pnpm run test:e2e:docker:server:node --update-snapshots",
50
- "test:e2e:docker:server:static": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:static",
50
+ "test:e2e:docker:server:static": "pnpm run test:e2e:docker:br pnpm run --dir tests test:e2e:server:static",
51
51
  "test:e2e:docker:server:static:update": "pnpm run test:e2e:docker:server:static --update-snapshots",
52
- "test:e2e:server:dev": "cross-env PORT=3000 SITE_URL=http://localhost:3000 VIO_SERVER=dev pnpm run test:e2e",
52
+ "test:e2e:server:dev": "cross-env PORT=3000 NUXT_PUBLIC_SITE_URL=http://localhost:3000 VIO_SERVER=dev pnpm run test:e2e",
53
53
  "test:e2e:server:node": "cross-env NODE_ENV=production NUXT_PUBLIC_I18N_BASE_URL=http://localhost:3001 NUXT_PUBLIC_SITE_URL=http://localhost:3001 PORT=3001 VIO_SERVER=node pnpm run test:e2e",
54
- "test:e2e:server:static": "cross-env NODE_ENV=production PORT=3002 SITE_URL=https://localhost:3002 VIO_SERVER=static pnpm run test:e2e"
54
+ "test:e2e:server:static": "cross-env NODE_ENV=production PORT=3002 NUXT_PUBLIC_SITE_URL=https://localhost:3002 VIO_SERVER=static pnpm run test:e2e"
55
55
  },
56
56
  "type": "module",
57
- "version": "20.5.0"
57
+ "version": "20.5.2"
58
58
  }
@@ -86,7 +86,7 @@ export default defineConfig({
86
86
 
87
87
  /* Run your local dev server before starting the tests */
88
88
  webServer: {
89
- command: `pnpm --dir ../src run start:${process.env.VIO_SERVER || 'dev'}`,
89
+ command: `pnpm run --dir ../src start:${process.env.VIO_SERVER || 'dev'}`,
90
90
  env: {
91
91
  NUXT_PUBLIC_VIO_IS_TESTING: 'true',
92
92
  },