Skip to content

Commit c6601fa

Browse files
authored
Merge pull request #73 from BeeInventor/develop
Upgrade packages
2 parents ffa5b39 + 4b9428d commit c6601fa

22 files changed

+6767
-8426
lines changed

.eslintrc.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/build-storybook-demo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: '16'
16-
- uses: pnpm/action-setup@v2
15+
node-version: '20'
16+
- uses: pnpm/action-setup@v4
1717
with:
18-
version: ^7.33.3
18+
version: 9
1919
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
2020
run: |
2121
pnpm install --frozen-lockfile

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

.storybook/main.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ const { mergeConfig } = require('vite');
44

55
module.exports = {
66
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
7-
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
7+
addons: [
8+
'@storybook/addon-links',
9+
'@storybook/addon-essentials',
10+
'@chromatic-com/storybook'
11+
],
812
core: {
913
builder: '@storybook/builder-vite',
1014
},
@@ -19,17 +23,10 @@ module.exports = {
1923
},
2024
},
2125
viteFinal: async (config) => {
22-
return mergeConfig(config, {
23-
optimizeDeps: {
24-
include: ['storybook-dark-mode'],
25-
},
26-
});
26+
return mergeConfig(config);
2727
},
2828
framework: {
2929
name: '@storybook/react-webpack5',
3030
options: {},
3131
},
32-
docs: {
33-
autodocs: true,
34-
},
3532
};

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const decorators = [
1313
];
1414

1515
export const parameters = {
16-
actions: { argTypesRegex: '^on[A-Z].*' },
1716
controls: {
1817
matchers: {
1918
date: /Date$/,
@@ -37,3 +36,4 @@ export const parameters = {
3736
],
3837
},
3938
};
39+
export const tags = ['autodocs'];

0 commit comments

Comments
 (0)