Skip to content

Commit 7b9bdd0

Browse files
committed
1 parent 3381a5b commit 7b9bdd0

23 files changed

+10318
-12268
lines changed

.browserslistrc

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

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"plugin:@typescript-eslint/recommended",
66
"plugin:prettier/recommended",
77
"plugin:react/recommended",
8-
"plugin:react-hooks/recommended"
8+
"plugin:react-hooks/recommended",
9+
"plugin:react/jsx-runtime"
910
],
1011
"parserOptions": {
1112
"ecmaVersion": 2020,

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Use Node.js v16
17+
- name: Use Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
21-
- name: yarn install, build, and test
20+
node-version: latest
21+
- name: pnpm install, build, and test
2222
run: |
23-
yarn --frozen-lockfile
24-
yarn typecheck
25-
yarn build
26-
yarn test --ci --coverage
27-
yarn lint
23+
pnpm --frozen-lockfile install
24+
pnpm build
25+
pnpm test -w false --coverage
26+
pnpm lint
2827
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
2928
env:
3029
CI: true

.husky/pre-commit

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

.prettierrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2+
"bracketSpacing": false,
3+
"singleAttributePerLine": true,
24
"singleQuote": true
35
}

.size-snapshot.json

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

.storybook/main.js

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

.storybook/main.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import type {StorybookConfig} from '@storybook/react-vite';
2+
3+
const config: StorybookConfig = {
4+
stories: ['../stories/**/*.stories.tsx'],
5+
addons: [
6+
'@storybook/addon-links',
7+
'@storybook/addon-essentials',
8+
'@storybook/addon-onboarding',
9+
'@storybook/addon-interactions',
10+
],
11+
framework: {
12+
name: '@storybook/react-vite',
13+
options: {},
14+
},
15+
docs: {
16+
autodocs: 'tag',
17+
},
18+
};
19+
20+
export default config;

.storybook/preview.js

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

.storybook/preview.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import type {Preview} from '@storybook/react';
2+
3+
const preview: Preview = {
4+
parameters: {
5+
actions: {argTypesRegex: '^on[A-Z].*'},
6+
controls: {
7+
matchers: {
8+
color: /(background|color)$/i,
9+
date: /Date$/i,
10+
},
11+
},
12+
},
13+
};
14+
15+
export default preview;

0 commit comments

Comments
 (0)