Skip to content

Commit f612c77

Browse files
authored
Merge pull request #198 from Kartore/updates
Update packages
2 parents eb0f681 + b0e7b60 commit f612c77

File tree

529 files changed

+24278
-25045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

529 files changed

+24278
-25045
lines changed

.github/workflows/chromatic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install dependencies
3939
run: pnpm install --frozen-lockfile
4040

41-
- uses: chromaui/action@v11.10.2
41+
- uses: chromaui/action@v11
4242
with:
4343
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
4444
token: ${{ secrets.GITHUB_TOKEN }}

.prettierrc

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

.storybook/main.ts

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
import type { StorybookConfig } from '@storybook/react-vite';
22

33
const config: StorybookConfig = {
4-
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
5-
addons: [
6-
'@storybook/addon-links',
7-
'@storybook/addon-essentials',
8-
'@storybook/addon-interactions',
9-
'@storybook/addon-themes',
10-
'@chromatic-com/storybook',
11-
],
12-
build: {
13-
test: {
14-
disabledAddons: ['@storybook/addon-docs', '@storybook/addon-essentials/docs'],
15-
},
16-
},
17-
framework: {
18-
name: '@storybook/react-vite',
19-
options: {},
20-
},
21-
docs: {},
4+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
5+
addons: [
6+
'@storybook/addon-links',
7+
'@storybook/addon-essentials',
8+
'@storybook/addon-interactions',
9+
'@storybook/addon-themes',
10+
'@chromatic-com/storybook',
11+
],
12+
build: {
13+
test: {
14+
disabledAddons: [
15+
'@storybook/addon-docs',
16+
'@storybook/addon-essentials/docs',
17+
],
18+
},
19+
},
20+
framework: {
21+
name: '@storybook/react-vite',
22+
options: {},
23+
},
24+
docs: {},
2225
};
2326

2427
export default config;

.storybook/preview.tsx

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,53 @@ import '~/main.css';
33
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
44

55
export const customDecorator: Decorator = (Story) => {
6-
const client = new QueryClient({
7-
defaultOptions: {
8-
queries: {
9-
retry: false,
10-
},
11-
},
12-
});
6+
const client = new QueryClient({
7+
defaultOptions: {
8+
queries: {
9+
retry: false,
10+
},
11+
},
12+
});
1313

14-
return (
15-
<QueryClientProvider client={client}>
16-
<Story />
17-
</QueryClientProvider>
18-
);
14+
return (
15+
<QueryClientProvider client={client}>
16+
<Story />
17+
</QueryClientProvider>
18+
);
1919
};
2020

2121
const preview: Preview = {
22-
decorators: [customDecorator],
23-
parameters: {
24-
controls: {
25-
matchers: {
26-
color: /(background|color)$/i,
27-
date: /Date$/i,
28-
},
29-
},
30-
viewport: {
31-
viewports: {
32-
small: { name: 'Small', styles: { width: '640px', height: '800px' } },
33-
large: { name: 'Large', styles: { width: '1024px', height: '1000px' } },
34-
},
35-
},
36-
backgrounds: {
37-
values: [
38-
{ name: 'light', value: '#fff' },
39-
{ name: 'dark', value: '#1E293B' },
40-
],
41-
},
42-
chromatic: {
43-
modes: {
44-
mobile: {
45-
viewport: 'small',
46-
},
47-
desktop: {
48-
viewport: 'large',
49-
},
50-
},
51-
},
52-
},
22+
decorators: [customDecorator],
23+
parameters: {
24+
controls: {
25+
matchers: {
26+
color: /(background|color)$/i,
27+
date: /Date$/i,
28+
},
29+
},
30+
viewport: {
31+
viewports: {
32+
small: { name: 'Small', styles: { width: '640px', height: '800px' } },
33+
large: { name: 'Large', styles: { width: '1024px', height: '1000px' } },
34+
},
35+
},
36+
backgrounds: {
37+
values: [
38+
{ name: 'light', value: '#fff' },
39+
{ name: 'dark', value: '#1E293B' },
40+
],
41+
},
42+
chromatic: {
43+
modes: {
44+
mobile: {
45+
viewport: 'small',
46+
},
47+
desktop: {
48+
viewport: 'large',
49+
},
50+
},
51+
},
52+
},
5353
};
5454

5555
export default preview;

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 20.10.0
1+
nodejs 22.14.0

biome.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true,
23+
"correctness": {
24+
"noUnusedImports": "error",
25+
"noUnusedVariables": "warn"
26+
},
27+
"suspicious": {
28+
"noArrayIndexKey": "off"
29+
},
30+
"a11y": {
31+
"noLabelWithoutControl": "off",
32+
"useKeyWithClickEvents": "warn",
33+
"useKeyWithMouseEvents": "warn",
34+
"noSvgWithoutTitle": "off"
35+
},
36+
"nursery": {
37+
"useSortedClasses": {
38+
"level": "error",
39+
"fix": "safe",
40+
"options": {}
41+
}
42+
}
43+
}
44+
},
45+
"javascript": {
46+
"formatter": {
47+
"quoteStyle": "single"
48+
}
49+
}
50+
}

chromatic.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"projectId": "Project:6605599af65216c23ea1e228",
3-
"zip": true
2+
"projectId": "Project:6605599af65216c23ea1e228",
3+
"zip": true
44
}

eslint.config.js

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

0 commit comments

Comments
 (0)