Skip to content

Commit 6f70405

Browse files
authored
feat: modernize the stack (#42)
* feat: modernize stack * fix: hotfix type issues * chore: update storybook * chore: update package-lock.json and update styled-components * chore: npm audit fix * fix: update testing CI
1 parent 3045c1a commit 6f70405

19 files changed

Lines changed: 8553 additions & 47736 deletions

.github/workflows/node.js.yml

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

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
cache: npm
20+
21+
- run: npm ci
22+
- run: npm test -- --run

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ coverage
1111
.DS_Store
1212
/.idea
1313
*.lock
14+
/dist

.husky/pre-commit

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

.storybook/main.js

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

.storybook/main.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { StorybookConfig } from "@storybook/react-vite";
2+
3+
const config: StorybookConfig = {
4+
stories: ["../stories/**/*.stories.tsx"],
5+
addons: ["@storybook/addon-essentials"],
6+
framework: {
7+
name: "@storybook/react-vite",
8+
options: {},
9+
},
10+
};
11+
12+
export default config;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addons } from "@storybook/addons";
1+
import { addons } from "@storybook/manager-api";
22

33
addons.setConfig({
44
isFullscreen: false,

0 commit comments

Comments
 (0)