@bundle-stats/ui 4.6.2 → 4.6.3

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": "@bundle-stats/ui",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "description": "UI components for BundleStats projects.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -16,7 +16,7 @@
16
16
  "build-storybook": "storybook build -c ./build/storybook",
17
17
  "generate-chart-colors": "node scripts/generate-chart-colors.js",
18
18
  "generate-svg-sprite": "npx svg-sprite -s --si --no-svg-namespace-classnames src/assets/icons/*.svg && mv symbol/svg/sprite.symbol.svg src/assets/icons.svg",
19
- "lint": "../../node_modules/.bin/eslint . --resolve-plugins-relative-to ../../",
19
+ "lint": "eslint",
20
20
  "start": "cross-env NODE_ENV=development storybook dev -c ./build/storybook -p 8080",
21
21
  "test": "jest src --passWithNoTests"
22
22
  },
@@ -39,27 +39,27 @@
39
39
  "@babel/preset-env": "7.22.10",
40
40
  "@babel/preset-react": "7.22.5",
41
41
  "@babel/preset-typescript": "7.22.5",
42
- "@storybook/addon-essentials": "7.2.2",
42
+ "@storybook/addon-essentials": "7.3.2",
43
43
  "@storybook/preset-scss": "^1.0.3",
44
- "@storybook/react": "7.2.2",
45
- "@storybook/react-webpack5": "7.2.2",
46
- "@types/react": "18.2.20",
44
+ "@storybook/react": "7.3.2",
45
+ "@storybook/react-webpack5": "7.3.2",
46
+ "@types/react": "18.2.21",
47
47
  "babel-plugin-require-context-hook": "1.0.0",
48
48
  "classnames": "2.3.2",
49
49
  "colormap": "2.3.2",
50
50
  "cross-env": "7.0.3",
51
51
  "hex-rgb": "5.0.0",
52
52
  "identity-obj-proxy": "3.0.0",
53
- "jest": "29.6.2",
53
+ "jest": "29.6.3",
54
54
  "jest-date-mock": "1.0.8",
55
- "jest-environment-jsdom": "29.6.2",
55
+ "jest-environment-jsdom": "29.6.3",
56
56
  "lodash": "4.17.21",
57
57
  "prop-types": "15.8.1",
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
60
60
  "react-router-dom": "5.3.4",
61
61
  "rimraf": "5.0.1",
62
- "storybook": "7.2.2",
62
+ "storybook": "7.3.2",
63
63
  "typescript": "5.1.6",
64
64
  "typescript-plugin-css-modules": "5.0.1"
65
65
  },
@@ -72,11 +72,11 @@
72
72
  "react-router-dom": "^5.0.0"
73
73
  },
74
74
  "dependencies": {
75
- "@bundle-stats/utils": "^4.6.2",
75
+ "@bundle-stats/utils": "^4.6.3",
76
76
  "ariakit": "2.0.0-next.44",
77
77
  "modern-css-reset": "1.4.0",
78
78
  "query-string": "7.1.3",
79
79
  "use-query-params": "2.2.1"
80
80
  },
81
- "gitHead": "f02b8df3b54f2ef357f58283b941fed76dac9e06"
81
+ "gitHead": "e3cc103e129290f058a594b87d124d3628c10a51"
82
82
  }
@@ -2,8 +2,10 @@ import React from 'react';
2
2
  import { Meta, Story } from '@storybook/react';
3
3
  import { createJobs } from '@bundle-stats/utils';
4
4
 
5
- import baselineData from '../../../__mocks__/webpack-stats.baseline.json';
6
- import currentData from '../../../__mocks__/webpack-stats.current.json';
5
+ /* eslint-disable import/no-relative-packages */
6
+ import baselineData from '../../../../../fixtures/webpack-stats.baseline.json';
7
+ import currentData from '../../../../../fixtures/webpack-stats.current.json';
8
+ /* eslint-enable import/no-relative-packages */
7
9
  import { METRICS_WEBPACK_ASSETS } from '../../constants';
8
10
  import { getWrapperDecorator } from '../../stories';
9
11
  import { Summary } from '.';