@public-ui/visual-tests 4.1.0 → 4.1.1-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/visual-tests",
3
- "version": "4.1.0",
3
+ "version": "4.1.1-rc.1",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -27,16 +27,16 @@
27
27
  "dependencies": {
28
28
  "@axe-core/playwright": "4.11.1",
29
29
  "axe-html-reporter": "2.2.11",
30
+ "http-server": "14.1.1",
30
31
  "portfinder": "1.0.38",
31
- "serve": "14.2.5",
32
- "@public-ui/sample-react": "4.1.0"
32
+ "@public-ui/sample-react": "4.1.1-rc.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/eslint-parser": "7.28.6",
36
36
  "@eslint/js": "9.39.3",
37
37
  "@playwright/test": "1.58.2",
38
38
  "eslint": "9.39.3",
39
- "globals": "17.3.0",
39
+ "globals": "17.4.0",
40
40
  "knip": "5.85.0",
41
41
  "prettier": "3.8.1",
42
42
  "prettier-plugin-organize-imports": "4.3.0"
@@ -73,7 +73,7 @@ export default defineConfig({
73
73
 
74
74
  /* Run your local dev server before starting the tests */
75
75
  webServer: {
76
- command: `npx serve -p ${PORT}`,
76
+ command: `npx http-server -p ${PORT}`,
77
77
  cwd: path.resolve(BUILD_PATH),
78
78
  url: BASE_URL,
79
79
  reuseExistingServer: false,
package/src/index.js CHANGED
@@ -77,7 +77,7 @@ void (async () => {
77
77
 
78
78
  if (process.env.KOLIBRI_CLEANUP === '0') {
79
79
  console.log('Skipping cleanup up build folder.');
80
- console.log(`You can serve this build with "npx serve ${buildPath}".`);
80
+ console.log(`You can serve this build with "npx http-server ${buildPath}".`);
81
81
  } else {
82
82
  console.log('Cleaning up build folder …');
83
83
  fs.rmSync(buildPath, { recursive: true, force: true });