@segmentify/ui 1.0.1 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "1.0.1",
3
+ "version": "2.0.0",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,12 +26,33 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
+ "scripts": {
30
+ "dev": "vite",
31
+ "build:css": "tailwindcss -i src/index.css -o dist/ui.css",
32
+ "build": "pnpm run build:css && vite build --emptyOutDir=false && node scripts/clean-declarations.mjs && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
33
+ "postbuild": "node ./scripts/verify-dist.mjs",
34
+ "lint": "eslint .",
35
+ "lint:fix": "npm run lint -- --fix",
36
+ "format": "prettier --write \"**/*.{ts,tsx,md,mjs,cjs}\"",
37
+ "type-check": "tsc --noEmit",
38
+ "preview": "vite preview",
39
+ "storybook": "storybook dev -p 6006",
40
+ "build-storybook": "storybook build",
41
+ "test:storybook": "vitest --project=storybook --run",
42
+ "coverage": "vitest --project=storybook --run --coverage",
43
+ "prepare": "husky",
44
+ "knip": "knip",
45
+ "changeset": "changeset",
46
+ "version-packages": "changeset version",
47
+ "release": "changeset publish"
48
+ },
29
49
  "peerDependencies": {
30
50
  "@tanstack/react-query": "^5.90.19",
31
51
  "lucide-react": ">=0.562.0",
32
52
  "react": "^18.0.0 || ^19.0.0",
33
53
  "react-dom": "^18.0.0 || ^19.0.0",
34
54
  "react-hook-form": "^7.0.0",
55
+ "react-intl": ">=6.0.0 <11",
35
56
  "recharts": "^2.15.0",
36
57
  "sonner": "^2.0.7"
37
58
  },
@@ -116,6 +137,7 @@
116
137
  "react": "^19.2.0",
117
138
  "react-dom": "^19.2.0",
118
139
  "react-hook-form": "7.86.0",
140
+ "react-intl": "^10.1.8",
119
141
  "recharts": "2.15.4",
120
142
  "sonner": "^2.0.8",
121
143
  "storybook": "^10.5.10",
@@ -134,24 +156,5 @@
134
156
  "*.{json,js,ts,jsx,tsx,html}": [
135
157
  "prettier --write --ignore-unknown"
136
158
  ]
137
- },
138
- "scripts": {
139
- "dev": "vite",
140
- "build:css": "tailwindcss -i src/index.css -o dist/ui.css",
141
- "build": "pnpm run build:css && vite build --emptyOutDir=false && node scripts/clean-declarations.mjs && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
142
- "postbuild": "node ./scripts/verify-dist.mjs",
143
- "lint": "eslint .",
144
- "lint:fix": "npm run lint -- --fix",
145
- "format": "prettier --write \"**/*.{ts,tsx,md,mjs,cjs}\"",
146
- "type-check": "tsc --noEmit",
147
- "preview": "vite preview",
148
- "storybook": "storybook dev -p 6006",
149
- "build-storybook": "storybook build",
150
- "test:storybook": "vitest --project=storybook --run",
151
- "coverage": "vitest --project=storybook --run --coverage",
152
- "knip": "knip",
153
- "changeset": "changeset",
154
- "version-packages": "changeset version",
155
- "release": "changeset publish"
156
159
  }
157
- }
160
+ }