chop-logic-components 3.3.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/logo.jpeg CHANGED
Binary file
package/dist/logo.png CHANGED
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/ChopLogic/chop-logic-components.git"
6
6
  },
7
- "version": "3.3.0",
7
+ "version": "3.5.0",
8
8
  "description": "Reusable React components and hooks for the Chop Logic project",
9
9
  "type": "module",
10
10
  "main": "dist/index.cjs.js",
@@ -17,11 +17,17 @@
17
17
  "scripts": {
18
18
  "start": "storybook dev -p 6006 --no-open",
19
19
  "build": "tsc && vite build",
20
- "build:storybook": "storybook build -- -o storybook-static --quiet",
20
+ "build:storybook": "storybook build",
21
21
  "prepare": "npm run build && husky",
22
- "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
23
- "lint": "npx eslint",
24
- "lint:fix": "npx eslint --fix --quiet",
22
+ "format": "npm run format:biome && npm run format:prettier",
23
+ "format:biome": "biome format --write",
24
+ "format:prettier": "prettier --write \"**/*.{scss,mdx}\"",
25
+ "lint": "npm run lint:biome && npm run lint:prettier",
26
+ "lint:biome": "biome check",
27
+ "lint:prettier": "prettier --check \"**/*.{scss,mdx}\"",
28
+ "lint:errors": "biome check --diagnostic-level error --max-diagnostics 100",
29
+ "lint:warnings": "biome check --diagnostic-level warn --max-diagnostics 100",
30
+ "lint:fix": "biome check --write",
25
31
  "typecheck": "tsc --pretty --noEmit",
26
32
  "test": "vitest",
27
33
  "test:ci": "vitest run --passWithNoTests",
@@ -32,10 +38,14 @@
32
38
  "*.(ts|tsx)": [
33
39
  "bash -c 'npm run typecheck'"
34
40
  ],
35
- "*.{js,jsx,ts,tsx,json,css,scss,md}": [
36
- "npm run lint:fix",
37
- "prettier --write",
41
+ "*.{js,jsx,ts,tsx,json,md}": [
42
+ "biome format --write",
43
+ "biome check --write",
44
+ "biome check --diagnostic-level error",
38
45
  "npm run test:ci"
46
+ ],
47
+ "*.{scss,mdx}": [
48
+ "prettier --write"
39
49
  ]
40
50
  },
41
51
  "keywords": [
@@ -51,38 +61,27 @@
51
61
  "url": "https://github.com/ChopLogic/chop-logic-components/issues"
52
62
  },
53
63
  "homepage": "https://choplogic.github.io/chop-logic-components",
54
- "peerDependencies": {
55
- "react": "^19.0.0",
56
- "react-dom": "^19.0.0"
57
- },
58
64
  "devDependencies": {
65
+ "@biomejs/biome": "^2.2.6",
59
66
  "@commitlint/cli": "^19.7.1",
60
67
  "@commitlint/config-conventional": "^19.7.1",
61
- "@eslint/js": "^9.20.0",
62
- "@storybook/addon-docs": "^9.1.10",
63
- "@storybook/react-vite": "^9.1.10",
68
+ "@storybook/addon-docs": "^10.0.6",
69
+ "@storybook/react-vite": "^10.0.6",
64
70
  "@testing-library/jest-dom": "^6.6.3",
65
71
  "@testing-library/react": "^16.2.0",
66
72
  "@types/node": "^22.13.0",
67
73
  "@types/react": "^19.0.8",
68
74
  "@types/react-dom": "^19.0.3",
69
75
  "@vitest/coverage-v8": "^3.0.5",
70
- "eslint": "^9.20.0",
71
- "eslint-plugin-react": "^7.37.4",
72
- "eslint-plugin-react-hooks": "^5.1.0",
73
- "eslint-plugin-react-refresh": "^0.4.18",
74
- "eslint-plugin-simple-import-sort": "^12.1.1",
75
- "eslint-plugin-storybook": "^9.1.10",
76
76
  "globals": "^15.14.0",
77
77
  "husky": "^9.1.7",
78
78
  "husky-init": "^8.0.0",
79
79
  "jsdom": "^26.0.0",
80
- "prettier": "^3.4.2",
80
+ "prettier": "^3.6.2",
81
81
  "remark-gfm": "^4.0.1",
82
82
  "sass": "^1.87.0",
83
- "storybook": "^9.1.10",
83
+ "storybook": "^10.0.6",
84
84
  "typescript": "^5.7.3",
85
- "typescript-eslint": "^8.23.0",
86
85
  "vite": "^6.0.11",
87
86
  "vite-plugin-dts": "^4.5.0",
88
87
  "vite-plugin-lib-inject-css": "^2.2.2",
@@ -90,5 +89,9 @@
90
89
  },
91
90
  "overrides": {
92
91
  "storybook": "$storybook"
92
+ },
93
+ "peerDependencies": {
94
+ "react": "^19.2.0",
95
+ "react-dom": "^19.2.0"
93
96
  }
94
97
  }