@discourser/design-system 0.2.1 → 0.2.2

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.
Files changed (1) hide show
  1. package/package.json +13 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discourser/design-system",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Aesthetic-agnostic design system with Panda CSS and Ark UI",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -56,7 +56,7 @@
56
56
  "build:panda": "panda codegen",
57
57
  "build:lib": "tsup",
58
58
  "build:storybook": "pnpm docs:generate && storybook build",
59
- "prepare": "panda codegen",
59
+ "prepare": "panda codegen && husky",
60
60
  "lint": "eslint src --ext .ts,.tsx",
61
61
  "test": "vitest",
62
62
  "test:ui": "vitest --ui",
@@ -103,8 +103,10 @@
103
103
  "eslint": "^9.0.0",
104
104
  "eslint-plugin-react": "^7.35.0",
105
105
  "eslint-plugin-react-hooks": "^5.0.0",
106
+ "husky": "^9.1.7",
106
107
  "jest-axe": "^10.0.0",
107
108
  "jsdom": "^27.4.0",
109
+ "lint-staged": "^16.2.7",
108
110
  "prettier": "^3.3.1",
109
111
  "react": "^19.0.0",
110
112
  "react-dom": "^19.0.0",
@@ -127,5 +129,14 @@
127
129
  "repository": {
128
130
  "type": "git",
129
131
  "url": "https://github.com/Tasty-Maker-Studio/Discourser-Design-System.git"
132
+ },
133
+ "lint-staged": {
134
+ "*.{ts,tsx}": [
135
+ "eslint --fix",
136
+ "prettier --write"
137
+ ],
138
+ "*.{json,md}": [
139
+ "prettier --write"
140
+ ]
130
141
  }
131
142
  }