@argos-ci/storybook 3.0.2 → 4.0.0

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.
@@ -9,7 +9,7 @@ import {
9
9
 
10
10
  // src/utils/metadata.ts
11
11
  import { readVersionFromPackage } from "@argos-ci/util";
12
- import { createRequire } from "node:module";
12
+ import { createRequire } from "module";
13
13
  var require2 = createRequire(import.meta.url);
14
14
  async function getArgosStorybookVersion() {
15
15
  const pkgPath = require2.resolve("@argos-ci/storybook/package.json");
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  // src/utils/metadata.ts
8
8
  import { readVersionFromPackage } from "@argos-ci/util";
9
- import { createRequire } from "node:module";
9
+ import { createRequire } from "module";
10
10
  var require2 = createRequire(import.meta.url);
11
11
  async function getArgosStorybookVersion() {
12
12
  const pkgPath = require2.resolve("@argos-ci/storybook/package.json");
@@ -192,7 +192,7 @@ var ArgosReporter = class {
192
192
  };
193
193
 
194
194
  // src/vitest-plugin.ts
195
- import { resolve } from "node:path";
195
+ import { resolve } from "path";
196
196
  var createArgosScreenshotCommand = (pluginOptions) => {
197
197
  const { applyGlobals, ...screenshotOptions } = pluginOptions ?? {};
198
198
  return async (ctx, testContext) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/storybook",
3
3
  "description": "Visual testing for Storybook test runner.",
4
- "version": "3.0.2",
4
+ "version": "4.0.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -47,35 +47,35 @@
47
47
  "./package.json": "./package.json"
48
48
  },
49
49
  "engines": {
50
- "node": ">=18.16.0"
50
+ "node": ">=20.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@argos-ci/playwright": "5.0.11",
54
- "@argos-ci/util": "2.3.3"
53
+ "@argos-ci/playwright": "6.0.0",
54
+ "@argos-ci/util": "3.0.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@argos-ci/cli": "2.5.10",
58
- "@argos-ci/core": "3.2.3",
57
+ "@argos-ci/cli": "3.0.0",
58
+ "@argos-ci/core": "4.0.0",
59
59
  "@argos-ci/util": "workspace:*",
60
- "@storybook/addon-docs": "^9.0.18",
61
- "@storybook/addon-links": "^9.0.18",
62
- "@storybook/addon-themes": "^9.0.18",
63
- "@storybook/addon-vitest": "^9.0.18",
64
- "@storybook/react-vite": "^9.0.18",
60
+ "@storybook/addon-docs": "^9.1.0",
61
+ "@storybook/addon-links": "^9.1.0",
62
+ "@storybook/addon-themes": "^9.1.0",
63
+ "@storybook/addon-vitest": "^9.1.0",
64
+ "@storybook/react-vite": "^9.1.0",
65
65
  "@storybook/test-runner": "^0.23.0",
66
- "@types/react": "^19.1.0",
67
- "@types/react-dom": "^19.1.0",
66
+ "@types/react": "^19.1.9",
67
+ "@types/react-dom": "^19.1.7",
68
68
  "@vitest/browser": "^3.2.4",
69
69
  "@vitest/coverage-v8": "^3.2.4",
70
70
  "@vitest/ui": "^3.2.4",
71
71
  "http-server": "^14.1.1",
72
- "playwright": "^1.51.1",
72
+ "playwright": "^1.54.2",
73
73
  "prop-types": "^15.8.1",
74
- "react": "^19.1.0",
75
- "react-dom": "^19.1.0",
76
- "storybook": "^9.0.18",
74
+ "react": "^19.1.1",
75
+ "react-dom": "^19.1.1",
76
+ "storybook": "^9.1.0",
77
77
  "vitest": "catalog:",
78
- "wait-on": "^8.0.3"
78
+ "wait-on": "^8.0.4"
79
79
  },
80
80
  "scripts": {
81
81
  "build": "tsup && cp ./src/test-runner.cjs ./dist",
@@ -97,5 +97,5 @@
97
97
  "check-format": "prettier --check --ignore-unknown --ignore-path=./.gitignore --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
98
98
  "lint": "eslint ."
99
99
  },
100
- "gitHead": "d29290c86988fd44f71543402c9c04096494a64e"
100
+ "gitHead": "807e4a9f3c4bfddd4197ed7394b032a39bc1c58e"
101
101
  }