Skip to content

Commit b2fc526

Browse files
authored
6.x updates (#176)
1 parent 04a45eb commit b2fc526

16 files changed

Lines changed: 2006 additions & 8115 deletions

.eslintrc.cjs

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

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
workflow_dispatch:
88
pull_request:
99

10-
env:
11-
NODE_NO_WARNINGS: 1
12-
1310
jobs:
1411
build:
1512
runs-on: ubuntu-latest
@@ -18,10 +15,10 @@ jobs:
1815
- name: Setup node
1916
uses: actions/setup-node@v4
2017
with:
21-
node-version: 20
18+
node-version: 22
2219
- uses: pnpm/action-setup@v2
2320
with:
24-
version: 9
21+
version: 10
2522
- name: Get pnpm store directory
2623
shell: bash
2724
run: |

.github/workflows/gh-pages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Setup node
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 22
1818
- uses: pnpm/action-setup@v2
1919
with:
20-
version: 9
20+
version: 10
2121
- name: Get pnpm store directory
2222
shell: bash
2323
run: |

.github/workflows/publish.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
release:
55
types: [published]
66

7-
env:
8-
NODE_NO_WARNINGS: 1
9-
107
jobs:
118
publish:
129
permissions:
@@ -17,11 +14,11 @@ jobs:
1714
- name: Setup node
1815
uses: actions/setup-node@v4
1916
with:
20-
node-version: 20
17+
node-version: 22
2118
registry-url: "https://registry.npmjs.org"
2219
- uses: pnpm/action-setup@v2
2320
with:
24-
version: 9
21+
version: 10
2522
- name: Get pnpm store directory
2623
shell: bash
2724
run: |

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engineStrict: true

.prettierrc

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

.storybook/main.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import type { StorybookConfig } from "@storybook/react-vite";
22
const config: StorybookConfig = {
33
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
4-
addons: [
5-
"@storybook/addon-essentials",
6-
"@storybook/addon-controls"
7-
],
4+
addons: ["@storybook/addon-essentials", "@storybook/addon-controls"],
85

96
framework: {
107
name: "@storybook/react-vite",
@@ -14,7 +11,7 @@ const config: StorybookConfig = {
1411
docs: {},
1512

1613
typescript: {
17-
reactDocgen: "react-docgen-typescript"
18-
}
14+
reactDocgen: "react-docgen-typescript",
15+
},
1916
};
2017
export default config;

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const preview: Preview = {
1414
},
1515
},
1616

17-
tags: ["autodocs"]
17+
tags: ["autodocs"],
1818
};
1919

2020
export default preview;

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"cSpell.words": [
3-
"legacyhat",
4-
"peaceiris"
5-
]
2+
"cSpell.words": ["legacyhat", "peaceiris"]
63
}

biome.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": ["storybook-static", "dist"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)