@applitools/eyes-storybook 3.55.7 → 3.55.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,120 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.55.9](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.8...js/eyes-storybook@3.55.9) (2025-07-15)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/tunnel-client bumped to 1.9.1
9
+ #### Bug Fixes
10
+
11
+ * tunnel client zip should be published ([#3099](https://github.com/Applitools-Dev/sdk/issues/3099)) ([455b10c](https://github.com/Applitools-Dev/sdk/commit/455b10ca1866d93085faba2089b40984c8329ca4))
12
+ * @applitools/core bumped to 4.42.1
13
+ #### Bug Fixes
14
+
15
+ * tunnel client zip should be published ([#3099](https://github.com/Applitools-Dev/sdk/issues/3099)) ([455b10c](https://github.com/Applitools-Dev/sdk/commit/455b10ca1866d93085faba2089b40984c8329ca4))
16
+
17
+
18
+
19
+
20
+ ## [3.55.8](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.7...js/eyes-storybook@3.55.8) (2025-07-15)
21
+
22
+
23
+ ### Performance Improvements
24
+
25
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * @applitools/dom-snapshot bumped to 4.12.1
31
+ #### Performance Improvements
32
+
33
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
34
+
35
+
36
+
37
+ * @applitools/req bumped to 1.7.15
38
+ #### Performance Improvements
39
+
40
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
41
+ * @applitools/driver bumped to 1.22.1
42
+ #### Performance Improvements
43
+
44
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
45
+ * @applitools/spec-driver-webdriver bumped to 1.3.1
46
+
47
+ * @applitools/spec-driver-puppeteer bumped to 1.5.1
48
+
49
+ * @applitools/screenshoter bumped to 3.11.7
50
+ #### Performance Improvements
51
+
52
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
53
+
54
+
55
+
56
+ * @applitools/nml-client bumped to 1.9.7
57
+ #### Performance Improvements
58
+
59
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
60
+
61
+
62
+
63
+ * @applitools/tunnel-client bumped to 1.9.0
64
+ #### Features
65
+
66
+ * enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
67
+
68
+
69
+
70
+ * @applitools/ufg-client bumped to 1.16.14
71
+ #### Performance Improvements
72
+
73
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
74
+
75
+
76
+
77
+ * @applitools/core-base bumped to 1.25.6
78
+ #### Performance Improvements
79
+
80
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
81
+
82
+
83
+
84
+ * @applitools/ec-client bumped to 1.11.0
85
+ #### Features
86
+
87
+ * enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
88
+
89
+
90
+ #### Performance Improvements
91
+
92
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
93
+
94
+
95
+
96
+ * @applitools/spec-driver-selenium bumped to 1.6.1
97
+
98
+ * @applitools/core bumped to 4.42.0
99
+ #### Features
100
+
101
+ * enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
102
+
103
+
104
+ #### Performance Improvements
105
+
106
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
107
+
108
+
109
+
110
+ * @applitools/eyes bumped to 1.35.2
111
+ #### Performance Improvements
112
+
113
+ * yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
114
+
115
+
116
+
117
+
3
118
  ## [3.55.7](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.6...js/eyes-storybook@3.55.7) (2025-07-07)
4
119
 
5
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.55.7",
3
+ "version": "3.55.9",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -53,14 +53,14 @@
53
53
  "up:framework": "cd test/fixtures/storybook-versions/${APPLITOOLS_FRAMEWORK_VERSION} && npm ci"
54
54
  },
55
55
  "dependencies": {
56
- "@applitools/core": "4.41.0",
57
- "@applitools/driver": "1.22.0",
58
- "@applitools/eyes": "1.35.1",
56
+ "@applitools/core": "4.42.1",
57
+ "@applitools/driver": "1.22.1",
58
+ "@applitools/eyes": "1.35.2",
59
59
  "@applitools/functional-commons": "1.6.0",
60
60
  "@applitools/logger": "2.1.5",
61
61
  "@applitools/monitoring-commons": "1.0.19",
62
- "@applitools/spec-driver-puppeteer": "1.5.0",
63
- "@applitools/ufg-client": "1.16.13",
62
+ "@applitools/spec-driver-puppeteer": "1.5.1",
63
+ "@applitools/ufg-client": "1.16.14",
64
64
  "@applitools/utils": "1.9.0",
65
65
  "boxen": "4.2.0",
66
66
  "chalk": "3.0.0",
@@ -1,3 +1,5 @@
1
+ const {getStorybookFrameworks} = require('./utils/frameworks');
2
+
1
3
  function extractEnvironment() {
2
4
  const versions = {};
3
5
  try {
@@ -8,8 +10,19 @@ function extractEnvironment() {
8
10
  }
9
11
  let sdk;
10
12
  try {
11
- const {name, version} = require('../package.json');
12
- sdk = {lang: 'js', name, currentVersion: version};
13
+ const {
14
+ name,
15
+ version,
16
+ dependencies,
17
+ devDependencies,
18
+ peerDependencies,
19
+ } = require('../package.json');
20
+ const {frameworksCommaSeparated: framework, dependencyFrameworks} = getStorybookFrameworks(
21
+ dependencies,
22
+ devDependencies,
23
+ peerDependencies,
24
+ );
25
+ sdk = {lang: 'js', name, currentVersion: version, framework, dependencyFrameworks};
13
26
  } catch {
14
27
  // NOTE: ignore error
15
28
  }
@@ -0,0 +1,99 @@
1
+ const thirdPartyFrameworks = ['storybook-solidjs-vite', 'storybook-framework-qwik'];
2
+
3
+ const storybookFrameworks = [
4
+ '@storybook/angular',
5
+ '@storybook/ember',
6
+ '@storybook/html-vite',
7
+ '@storybook/nextjs-vite',
8
+ '@storybook/nextjs',
9
+ '@storybook/preact-vite',
10
+ '@storybook/react-native-web-vite',
11
+ '@storybook/react-vite',
12
+ '@storybook/react-webpack5',
13
+ '@storybook/server-webpack5',
14
+ '@storybook/svelte-vite',
15
+ '@storybook/sveltekit',
16
+ '@storybook/vue3-vite',
17
+ '@storybook/web-components-vite',
18
+ ];
19
+
20
+ const storybookRenderers = [
21
+ '@storybook/html',
22
+ '@storybook/preact',
23
+ '@storybook/react',
24
+ '@storybook/server',
25
+ '@storybook/svelte',
26
+ '@storybook/vue3',
27
+ '@storybook/web-components',
28
+ ];
29
+
30
+ // Superset list of frameworks (ignoring vite, webpack, kit, etc.)
31
+ const frameworksSuperset = [
32
+ 'angular',
33
+ 'ember',
34
+ 'html',
35
+ 'nextjs',
36
+ 'preact',
37
+ 'react',
38
+ 'react-native-web',
39
+ 'server',
40
+ 'svelte',
41
+ 'sveltekit',
42
+ 'vue3',
43
+ 'web-components',
44
+ 'solidjs',
45
+ 'qwik',
46
+ ];
47
+
48
+ const mapFrameworksToSuperset = {
49
+ '@storybook/angular': 'angular',
50
+ '@storybook/ember': 'ember',
51
+ '@storybook/html-vite': 'html',
52
+ '@storybook/nextjs-vite': 'nextjs',
53
+ '@storybook/nextjs': 'nextjs',
54
+ '@storybook/preact-vite': 'preact',
55
+ '@storybook/react-native-web-vite': 'react-native-web',
56
+ '@storybook/react-vite': 'react',
57
+ '@storybook/react-webpack5': 'react',
58
+ '@storybook/server-webpack5': 'server',
59
+ '@storybook/svelte-vite': 'svelte',
60
+ '@storybook/sveltekit': 'sveltekit',
61
+ '@storybook/vue3-vite': 'vue3',
62
+ '@storybook/web-components-vite': 'web-components',
63
+ '@storybook/html': 'html',
64
+ '@storybook/preact': 'preact',
65
+ '@storybook/react': 'react',
66
+ '@storybook/server': 'server',
67
+ '@storybook/svelte': 'svelte',
68
+ '@storybook/vue3': 'vue3',
69
+ '@storybook/web-components': 'web-components',
70
+ 'storybook-solidjs-vite': 'solidjs',
71
+ 'storybook-framework-qwik': 'qwik',
72
+ };
73
+
74
+ const reduceFrameworks = fw => {
75
+ const reducedSet = new Set();
76
+ fw.forEach(element => {
77
+ const mapped = mapFrameworksToSuperset[element];
78
+ if (mapped) reducedSet.add(mapped);
79
+ });
80
+ return Array.from(reducedSet);
81
+ };
82
+
83
+ const frameworksSet = new Set([
84
+ ...thirdPartyFrameworks,
85
+ ...storybookFrameworks,
86
+ ...storybookRenderers,
87
+ ]);
88
+
89
+ function getStorybookFrameworks(dependencies = {}, devDependencies = {}, peerDependencies = {}) {
90
+ const allDeps = Object.assign({}, dependencies, devDependencies, peerDependencies);
91
+ const dependencyFrameworks = Object.keys(allDeps).filter(dep => frameworksSet.has(dep));
92
+ const superSet = reduceFrameworks(dependencyFrameworks);
93
+ return {frameworksCommaSeparated: superSet.join(','), dependencyFrameworks};
94
+ }
95
+
96
+ module.exports = {
97
+ frameworksSuperset,
98
+ getStorybookFrameworks,
99
+ };