@dito-uai/components 5.1.0-alpha.29 → 5.1.0-alpha.30

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,8 +1,13 @@
1
1
  {
2
2
  "name": "@dito-uai/components",
3
- "version": "5.1.0-alpha.29",
4
- "descriptin": "Dito's design system component library, made in TSX",
3
+ "version": "5.1.0-alpha.30",
4
+ "description": "Dito's design system component library, made in TSX",
5
+ "license": "MIT",
5
6
  "repository": "git+https://github.com/ditointernet/dito-uai.git",
7
+ "homepage": "https://github.com/ditointernet/dito-uai#readme",
8
+ "bugs": {
9
+ "url": "https://github.com/ditointernet/dito-uai/issues"
10
+ },
6
11
  "publishConfig": {
7
12
  "access": "public"
8
13
  },
@@ -28,34 +33,77 @@
28
33
  }
29
34
  },
30
35
  "scripts": {
31
- "dev": "yarn build --watch",
32
- "semantic-release": "semantic-release",
33
- "build": "yarn bundle",
34
- "bundle": "yarn build:js & yarn build:types & yarn build:css",
36
+ "dev": "storybook dev -p 6006 --config-dir ./src/storybook/.storybook",
37
+ "build:storybook": "storybook build --config-dir ./src/storybook/.storybook --output-dir ./src/storybook/storybook-static",
38
+ "build:uai": "yarn build:js & yarn build:types & yarn build:css",
35
39
  "build:js": "tsup",
36
- "build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
37
- "build:css": "tailwindcss -i ./src/global.css -o ./dist/global.css --minify -v"
40
+ "build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist --project tsconfig.build.json",
41
+ "build:css": "tailwindcss -i ./src/global.css -o ./dist/global.css --minify -v",
42
+ "publish:uai": "semantic-release",
43
+ "format:ts": "prettier",
44
+ "format:ts:all": "yarn format:ts --check \"src/**/*.{ts,tsx}\"",
45
+ "format": "yarn format:ts:all",
46
+ "lint:ts": "eslint --cache",
47
+ "lint:ts:all": "yarn lint:ts \"src/**/*.{ts,tsx}\"",
48
+ "lint": "yarn lint:ts:all --fix",
49
+ "cz": "cz"
38
50
  },
39
- "packageManager": "yarn@4.1.1",
40
51
  "devDependencies": {
52
+ "@chromatic-com/storybook": "^1.3.3",
53
+ "@commitlint/cli": "^19.3.0",
54
+ "@commitlint/config-conventional": "13.1.0",
55
+ "@eslint/eslintrc": "^3.1.0",
56
+ "@eslint/js": "^9.8.0",
41
57
  "@semantic-release/commit-analyzer": "^13.0.0",
42
58
  "@semantic-release/exec": "6.0.3",
43
59
  "@semantic-release/git": "9.0.0",
44
60
  "@semantic-release/github": "^10.1.3",
45
61
  "@semantic-release/release-notes-generator": "^14.0.1",
62
+ "@storybook/addon-essentials": "^8.6.14",
63
+ "@storybook/addon-interactions": "^8.6.14",
64
+ "@storybook/addon-onboarding": "8.6.14",
65
+ "@storybook/blocks": "^8.6.14",
66
+ "@storybook/react": "8.6.14",
67
+ "@storybook/react-vite": "8.6.14",
68
+ "@storybook/test": "^8.6.14",
69
+ "@types/eslint__js": "^8.42.3",
70
+ "@types/postcss-flexbugs-fixes": "^5",
71
+ "@types/prop-types": "^15.7.12",
46
72
  "@types/react": "^18.3.3",
73
+ "@types/react-dom": "^18.3.0",
74
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
75
+ "@typescript-eslint/parser": "^8.0.0",
76
+ "@vitejs/plugin-react": "^4.3.1",
47
77
  "autoprefixer": "^10.4.19",
48
- "esbuild": "^0.23.0",
78
+ "chromatic": "^11.7.0",
79
+ "commitizen": "^4.3.0",
80
+ "commitlint": "^19.3.0",
81
+ "cz-conventional-changelog": "3.3.0",
82
+ "cz-customizable": "6.9.2",
83
+ "dotenv-cli": "^7.4.2",
84
+ "esbuild": "^0.12.15",
49
85
  "esbuild-plugin-svgr": "^2.1.0",
50
86
  "esbuild-plugin-tsc": "^0.4.0",
51
87
  "esbuild-ts-paths": "^1.1.3",
88
+ "eslint": "^9.8.0",
89
+ "eslint-config-prettier": "^9.1.0",
90
+ "eslint-plugin-prettier": "^5.2.1",
91
+ "eslint-plugin-tailwindcss": "^3.17.4",
92
+ "firebase-tools": "13.14.2",
93
+ "husky": "7.0.1",
94
+ "lint-staged": "15.2.7",
52
95
  "postcss": "^8.4.38",
96
+ "prettier": "^3.3.3",
97
+ "prop-types": "^15.8.1",
53
98
  "semantic-release": "^17",
99
+ "storybook": "8.6.14",
54
100
  "supports-color": "^9.4.0",
55
101
  "tailwindcss": "^3.4.13",
56
102
  "tsup": "^8.2.3",
57
103
  "typescript": "^5.5.4",
58
- "vite": "^5.3.5"
104
+ "typescript-eslint": "^8.0.0",
105
+ "vite": "^5.3.5",
106
+ "vite-tsconfig-paths": "^5.1.4"
59
107
  },
60
108
  "dependencies": {
61
109
  "@dito-uai/icons": "^1.8.0",
@@ -74,7 +122,6 @@
74
122
  "@radix-ui/react-tooltip": "^1.2.8",
75
123
  "@tailwindcss/forms": "^0.5.9",
76
124
  "@tailwindcss/typography": "^0.5.15",
77
- "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.15",
78
125
  "class-variance-authority": "^0.7.0",
79
126
  "clsx": "^2.1.1",
80
127
  "lucide-react": "^0.418.0",
@@ -97,5 +144,29 @@
97
144
  "react-dom": "^18.3.1",
98
145
  "react-hook-form": "^7.52.1",
99
146
  "zod": "^3.23.8"
100
- }
147
+ },
148
+ "engines": {
149
+ "node": ">= 20"
150
+ },
151
+ "config": {
152
+ "commitizen": {
153
+ "path": "cz-customizable",
154
+ "defaultType": "fix",
155
+ "defaultScope": "components"
156
+ },
157
+ "cz-customizable": {
158
+ "config": ".cz-config.cjs"
159
+ }
160
+ },
161
+ "husky": {
162
+ "hooks": {
163
+ "prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
164
+ }
165
+ },
166
+ "resolutions": {
167
+ "underscore.string": "npm:underscore.string@*",
168
+ "eslint": "npm:eslint@9.8.0",
169
+ "typescript-eslint": "npm:typescript-eslint@8.0.0"
170
+ },
171
+ "packageManager": "yarn@4.3.1"
101
172
  }
@@ -93,7 +93,7 @@ export const COLORS = {
93
93
  /** @type {import('tailwindcss').Config} */
94
94
  export default {
95
95
  mode: 'jit',
96
- content: ['./src/**/*.{ts,tsx}'],
96
+ content: ['./src/ui/**/*.{ts,tsx}'],
97
97
  theme: {
98
98
  screens: {
99
99
  sm: '480px',