Skip to content

Commit aef4ab9

Browse files
committed
chore: package updates
1 parent d5893fd commit aef4ab9

File tree

6 files changed

+1684
-3741
lines changed

6 files changed

+1684
-3741
lines changed

.storybook/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const config: StorybookConfig = {
1111
name: "@storybook/react-webpack5",
1212
options: {
1313
builder: {
14-
// biome-ignore lint/style/useNamingConvention: <explanation>
1514
useSWC: true,
1615
},
1716
},

biome.json

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
33
"files": {
44
"ignore": [
55
"**/dist/**",
66
"**/storybook-static/**",
77
"**/coverage/**",
8-
"**/.next/**"
8+
"**/.next/**",
9+
"**/node_modules/**"
910
]
1011
},
1112
"organizeImports": {
@@ -36,14 +37,34 @@
3637
"all": true,
3738
"style": {
3839
"noDefaultExport": "off",
39-
"useFilenamingConvention": "off"
40-
},
41-
"correctness": {
42-
"noNodejsModules": "off"
40+
"useFilenamingConvention": "off",
41+
"useNamingConvention": {
42+
"level": "error",
43+
"options": {
44+
"strictCase": false
45+
}
46+
}
4347
},
4448
"performance": {
4549
"noReExportAll": "off",
4650
"noBarrelFile": "off"
51+
},
52+
"suspicious": {
53+
"noReactSpecificProps": "off",
54+
"noConsole": {
55+
"fix": "none",
56+
"level": "warn"
57+
},
58+
"noConsoleLog": {
59+
"fix": "none",
60+
"level": "warn"
61+
}
62+
},
63+
"correctness": {
64+
"useImportExtensions": "off",
65+
"noUndeclaredDependencies": "off",
66+
"noUnusedVariables": "off",
67+
"noNodejsModules": "off"
4768
}
4869
}
4970
},

lefthook.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
pre-commit:
2-
parallel: true
2+
parallel: false
33
commands:
44
lint:
55
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched && git add -u
6-
types:
6+
typecheck:
77
run: pnpm tsc
8+
build:
9+
run: pnpm build
810
test:
9-
run: pnpm vitest --run
11+
run: pnpm test:ci

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,39 +51,39 @@
5151
"node": ">=18.0.0"
5252
},
5353
"devDependencies": {
54-
"@biomejs/biome": "^1.8.3",
54+
"@biomejs/biome": "1.9.2",
5555
"@ryansonshine/commitizen": "4.2.8",
5656
"@ryansonshine/cz-conventional-changelog": "3.3.4",
57-
"@storybook/addon-essentials": "8.2.7",
58-
"@storybook/addon-interactions": "8.2.7",
59-
"@storybook/addon-links": "8.2.7",
57+
"@storybook/addon-essentials": "8.3.2",
58+
"@storybook/addon-interactions": "8.3.2",
59+
"@storybook/addon-links": "8.3.2",
6060
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
61-
"@storybook/blocks": "8.2.7",
62-
"@storybook/react": "8.2.7",
63-
"@storybook/react-webpack5": "8.2.7",
64-
"@storybook/test": "8.2.7",
65-
"@testing-library/jest-dom": "6.4.8",
66-
"@testing-library/react": "16.0.0",
67-
"@types/node": "22.1.0",
68-
"@types/react": "18.3.3",
61+
"@storybook/blocks": "8.3.2",
62+
"@storybook/react": "8.3.2",
63+
"@storybook/react-webpack5": "8.3.2",
64+
"@storybook/test": "8.3.2",
65+
"@testing-library/jest-dom": "6.5.0",
66+
"@testing-library/react": "16.0.1",
67+
"@types/node": "22.5.5",
68+
"@types/react": "18.3.8",
6969
"@types/react-dom": "18.3.0",
7070
"@types/react-test-renderer": "18.3.0",
71-
"@vitest/coverage-v8": "2.0.5",
72-
"concurrently": "8.2.2",
73-
"jsdom": "24.1.1",
74-
"lefthook": "^1.7.11",
71+
"@vitest/coverage-v8": "2.1.1",
72+
"concurrently": "9.0.1",
73+
"jsdom": "25.0.1",
74+
"lefthook": "1.7.16",
7575
"prop-types": "15.8.1",
7676
"react": "18.3.1",
7777
"react-dom": "18.3.1",
7878
"react-test-renderer": "18.3.1",
7979
"release-it": "17.6.0",
80-
"storybook": "8.2.7",
80+
"storybook": "8.3.2",
8181
"ts-node": "10.9.2",
8282
"tsconfig-paths": "4.2.0",
83-
"tsup": "8.2.4",
84-
"tsx": "4.16.5",
85-
"typescript": "5.5.4",
86-
"vitest": "2.0.5"
83+
"tsup": "8.3.0",
84+
"tsx": "4.19.1",
85+
"typescript": "5.6.2",
86+
"vitest": "2.1.1"
8787
},
8888
"peerDependencies": {
8989
"react": ">=17",

0 commit comments

Comments
 (0)