Skip to content

Commit ea8258d

Browse files
committed
build: Upgrade packages
1 parent 840ed81 commit ea8258d

32 files changed

Lines changed: 3416 additions & 4666 deletions

.storybook/main.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
const path = require('path');
2-
const toPath = (filePath) => path.join(process.cwd(), filePath);
3-
const { mergeConfig } = require('vite');
1+
import { mergeConfig } from 'vite';
42

5-
module.exports = {
6-
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
3+
export default {
4+
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
75
addons: [
86
'@storybook/addon-links',
9-
'@storybook/addon-essentials',
10-
'@chromatic-com/storybook'
7+
'@chromatic-com/storybook',
118
],
12-
core: {
13-
builder: '@storybook/builder-vite',
14-
},
159
typescript: {
1610
check: false,
1711
checkOptions: {},
@@ -23,10 +17,10 @@ module.exports = {
2317
},
2418
},
2519
viteFinal: async (config) => {
26-
return mergeConfig(config);
20+
return mergeConfig(config, {});
2721
},
2822
framework: {
29-
name: '@storybook/react-webpack5',
23+
name: '@storybook/react-vite',
3024
options: {},
3125
},
32-
};
26+
};

package.json

Lines changed: 47 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beeinventor/dasiot-react-component-lib",
3-
"version": "1.9.0",
3+
"version": "1.10.0",
44
"module": "lib/index.js",
55
"types": "lib/index.d.ts",
66
"type": "module",
@@ -39,66 +39,62 @@
3939
"peerDependencies": {
4040
"@emotion/react": "^11.0.0",
4141
"@emotion/styled": "^11.0.0",
42-
"@mui/icons-material": "^6.0.0",
43-
"@mui/material": "^6.0.0",
42+
"@mui/icons-material": "^6.0.0 || ^7.0.0",
43+
"@mui/material": "^6.0.0 || ^7.0.0",
4444
"react": "^18.0.0",
4545
"react-dom": "^18.0.0"
4646
},
4747
"devDependencies": {
48-
"@babel/core": "^7.26.0",
49-
"@babel/preset-env": "^7.26.0",
50-
"@babel/preset-react": "^7.25.9",
51-
"@babel/preset-typescript": "^7.26.0",
52-
"@chromatic-com/storybook": "^3.2.0",
53-
"@emotion/react": "^11.13.3",
54-
"@emotion/styled": "^11.13.0",
55-
"@eslint/js": "^9.13.0",
56-
"@mui/icons-material": "^6.1.5",
57-
"@mui/material": "^6.1.5",
58-
"@rollup/plugin-commonjs": "^28.0.1",
59-
"@rollup/plugin-node-resolve": "^15.3.0",
60-
"@rollup/plugin-terser": "^0.4.4",
61-
"@rollup/plugin-typescript": "^12.1.1",
48+
"@babel/core": "^7.29.0",
49+
"@babel/preset-env": "^7.29.2",
50+
"@babel/preset-react": "^7.28.5",
51+
"@babel/preset-typescript": "^7.28.5",
52+
"@chromatic-com/storybook": "^5.1.1",
53+
"@emotion/react": "^11.14.0",
54+
"@emotion/styled": "^11.14.1",
55+
"@eslint/js": "^10.0.1",
56+
"@mui/icons-material": "^7.3.9",
57+
"@mui/material": "^7.3.9",
58+
"@rollup/plugin-commonjs": "^29.0.2",
59+
"@rollup/plugin-node-resolve": "^16.0.3",
60+
"@rollup/plugin-terser": "^1.0.0",
61+
"@rollup/plugin-typescript": "^12.3.0",
6262
"@rollup/plugin-url": "^8.0.2",
63-
"@storybook/addon-actions": "^8.3.6",
64-
"@storybook/addon-essentials": "^8.3.6",
65-
"@storybook/addon-links": "^8.3.6",
66-
"@storybook/builder-vite": "^8.3.6",
67-
"@storybook/react": "^8.3.6",
68-
"@storybook/react-webpack5": "^8.3.6",
69-
"@testing-library/jest-dom": "^6.6.2",
70-
"@testing-library/react": "^16.0.1",
71-
"@testing-library/user-event": "^14.5.2",
72-
"@types/jest": "^29.5.14",
73-
"@types/node": "^20.17.2",
74-
"@types/react": "^18.3.12",
75-
"@types/react-dom": "^18.3.1",
76-
"@typescript-eslint/eslint-plugin": "^8.12.1",
77-
"@typescript-eslint/parser": "^8.12.1",
78-
"babel-loader": "^9.2.1",
79-
"eslint": "^9.13.0",
80-
"eslint-config-prettier": "^9.1.0",
81-
"eslint-plugin-prettier": "^5.2.1",
82-
"eslint-plugin-react": "^7.37.2",
83-
"eslint-plugin-storybook": "^0.10.1",
84-
"globals": "^15.11.0",
85-
"prettier": "^3.3.3",
86-
"react": "^18.3.1",
87-
"react-dom": "^18.3.1",
88-
"rollup": "^4.24.2",
89-
"rollup-plugin-dts": "^6.1.1",
63+
"@storybook/addon-links": "^10.3.3",
64+
"@storybook/react": "^10.3.3",
65+
"@storybook/react-vite": "^10.3.3",
66+
"@testing-library/jest-dom": "github:testing-library/jest-dom",
67+
"@testing-library/react": "^16.3.2",
68+
"@testing-library/user-event": "^14.6.1",
69+
"@types/jest": "^30.0.0",
70+
"@types/node": "^25.5.0",
71+
"@types/react": "^19.2.14",
72+
"@types/react-dom": "^19.2.3",
73+
"@typescript-eslint/eslint-plugin": "^8.57.2",
74+
"@typescript-eslint/parser": "^8.57.2",
75+
"eslint": "^10.1.0",
76+
"eslint-config-prettier": "^10.1.8",
77+
"eslint-plugin-prettier": "^5.5.5",
78+
"eslint-plugin-react": "^7.37.5",
79+
"eslint-plugin-storybook": "^10.3.3",
80+
"globals": "^17.4.0",
81+
"prettier": "^3.8.1",
82+
"react": "^19.2.4",
83+
"react-dom": "^19.2.4",
84+
"rollup": "^4.60.1",
85+
"rollup-plugin-dts": "^6.4.1",
9086
"rollup-plugin-peer-deps-external": "^2.2.4",
91-
"rollup-plugin-typescript2": "^0.36.0",
92-
"storybook": "^8.3.6",
93-
"tslib": "^2.8.0",
94-
"typescript": "^5.6.3",
95-
"typescript-eslint": "^8.12.1",
96-
"vite": "^5.4.12"
87+
"rollup-plugin-typescript2": "^0.37.0",
88+
"storybook": "^10.3.3",
89+
"tslib": "^2.8.1",
90+
"typescript": "^6.0.2",
91+
"typescript-eslint": "^8.57.2",
92+
"vite": "^8.0.3"
9793
},
9894
"publishConfig": {
9995
"@beeinventor:registry": "https://npm.pkg.github.com"
10096
},
10197
"optionalDependencies": {
10298
"fsevents": "^2.3.3"
10399
}
104-
}
100+
}

0 commit comments

Comments
 (0)