Skip to content

Commit

Permalink
chore: package updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMikeladze committed Sep 23, 2024
1 parent d5893fd commit aef4ab9
Show file tree
Hide file tree
Showing 6 changed files with 1,684 additions and 3,741 deletions.
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const config: StorybookConfig = {
name: "@storybook/react-webpack5",
options: {
builder: {
// biome-ignore lint/style/useNamingConvention: <explanation>
useSWC: true,
},
},
Expand Down
33 changes: 27 additions & 6 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"files": {
"ignore": [
"**/dist/**",
"**/storybook-static/**",
"**/coverage/**",
"**/.next/**"
"**/.next/**",
"**/node_modules/**"
]
},
"organizeImports": {
Expand Down Expand Up @@ -36,14 +37,34 @@
"all": true,
"style": {
"noDefaultExport": "off",
"useFilenamingConvention": "off"
},
"correctness": {
"noNodejsModules": "off"
"useFilenamingConvention": "off",
"useNamingConvention": {
"level": "error",
"options": {
"strictCase": false
}
}
},
"performance": {
"noReExportAll": "off",
"noBarrelFile": "off"
},
"suspicious": {
"noReactSpecificProps": "off",
"noConsole": {
"fix": "none",
"level": "warn"
},
"noConsoleLog": {
"fix": "none",
"level": "warn"
}
},
"correctness": {
"useImportExtensions": "off",
"noUndeclaredDependencies": "off",
"noUnusedVariables": "off",
"noNodejsModules": "off"
}
}
},
Expand Down
8 changes: 5 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
pre-commit:
parallel: true
parallel: false
commands:
lint:
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched && git add -u
types:
typecheck:
run: pnpm tsc
build:
run: pnpm build
test:
run: pnpm vitest --run
run: pnpm test:ci
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,39 +51,39 @@
"node": ">=18.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "1.9.2",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "8.2.7",
"@storybook/addon-interactions": "8.2.7",
"@storybook/addon-links": "8.2.7",
"@storybook/addon-essentials": "8.3.2",
"@storybook/addon-interactions": "8.3.2",
"@storybook/addon-links": "8.3.2",
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
"@storybook/blocks": "8.2.7",
"@storybook/react": "8.2.7",
"@storybook/react-webpack5": "8.2.7",
"@storybook/test": "8.2.7",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@types/node": "22.1.0",
"@types/react": "18.3.3",
"@storybook/blocks": "8.3.2",
"@storybook/react": "8.3.2",
"@storybook/react-webpack5": "8.3.2",
"@storybook/test": "8.3.2",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@types/node": "22.5.5",
"@types/react": "18.3.8",
"@types/react-dom": "18.3.0",
"@types/react-test-renderer": "18.3.0",
"@vitest/coverage-v8": "2.0.5",
"concurrently": "8.2.2",
"jsdom": "24.1.1",
"lefthook": "^1.7.11",
"@vitest/coverage-v8": "2.1.1",
"concurrently": "9.0.1",
"jsdom": "25.0.1",
"lefthook": "1.7.16",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"release-it": "17.6.0",
"storybook": "8.2.7",
"storybook": "8.3.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.2.4",
"tsx": "4.16.5",
"typescript": "5.5.4",
"vitest": "2.0.5"
"tsup": "8.3.0",
"tsx": "4.19.1",
"typescript": "5.6.2",
"vitest": "2.1.1"
},
"peerDependencies": {
"react": ">=17",
Expand Down
Loading

0 comments on commit aef4ab9

Please sign in to comment.