@tenerife.music/ui 1.0.15 → 1.0.16

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,7 @@
1
1
  {
2
2
  "name": "@tenerife.music/ui",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
- "packageManager": "pnpm@10.18.2",
6
5
  "type": "module",
7
6
  "sideEffects": [
8
7
  "**/*.css",
@@ -39,46 +38,6 @@
39
38
  "publishConfig": {
40
39
  "access": "public"
41
40
  },
42
- "scripts": {
43
- "storybook": "storybook dev -p 6006",
44
- "format": "prettier . --write",
45
- "lint:fix": "./scripts/lint-local.sh",
46
- "typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
47
- "test": "vitest run",
48
- "ci:local": "./scripts/ci-local.sh",
49
- "test:ui": "vitest --ui",
50
- "ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
51
- "build": "tsup",
52
- "dev": "vite build --watch",
53
- "clean": "rimraf dist",
54
- "format:check": "prettier . --check",
55
- "lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
56
- "lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
57
- "lint:ci": "./scripts/lint-ci.sh",
58
- "lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
59
- "lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
60
- "precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
61
- "test:watch": "vitest",
62
- "test:coverage": "vitest run --coverage",
63
- "test:a11y": "vitest run a11y.test",
64
- "a11y:contrast": "tsx scripts/a11y-contrast-check.js",
65
- "build-storybook": "storybook build",
66
- "preview": "vite preview",
67
- "prepublishOnly": "npm run clean && npm run build && npm run typecheck",
68
- "validate": "npm run typecheck && npm run lint:check && npm run format:check",
69
- "theme:create": "tsx scripts/theme-cli.ts create",
70
- "theme:validate": "tsx scripts/theme-validate.ts",
71
- "ui:check": "tsx scripts/check-ui-consistency.ts",
72
- "tokens:export": "npx tsx scripts/export-tokens.ts",
73
- "commitlint": "commitlint",
74
- "prepare": "husky",
75
- "version:patch": "./scripts/publish.sh patch",
76
- "version:minor": "./scripts/publish.sh minor",
77
- "version:major": "./scripts/publish.sh major",
78
- "publish:patch": "./scripts/publish.sh patch",
79
- "publish:minor": "./scripts/publish.sh minor",
80
- "publish:major": "./scripts/publish.sh major"
81
- },
82
41
  "peerDependencies": {
83
42
  "react": "^18 || ^19",
84
43
  "react-dom": "^18 || ^19"
@@ -115,6 +74,7 @@
115
74
  "zustand": "^5.0.0"
116
75
  },
117
76
  "devDependencies": {
77
+ "@chromatic-com/storybook": "^4.1.3",
118
78
  "@commitlint/cli": "^20.1.0",
119
79
  "@commitlint/config-conventional": "^20.0.0",
120
80
  "@eslint/eslintrc": "^3.3.1",
@@ -125,33 +85,35 @@
125
85
  "@semantic-release/github": "^12.0.2",
126
86
  "@semantic-release/npm": "^13.1.2",
127
87
  "@semantic-release/release-notes-generator": "^14.1.0",
128
- "@storybook/addon-a11y": "^8.0.0",
129
- "@storybook/addon-essentials": "^8.0.0",
130
- "@storybook/addon-interactions": "^8.0.0",
131
- "@storybook/addon-links": "^8.0.0",
132
- "@storybook/addon-onboarding": "^8.0.0",
133
- "@storybook/blocks": "^8.0.0",
134
- "@storybook/react": "^8.0.0",
135
- "@storybook/react-vite": "^8.0.0",
136
- "@storybook/test": "^8.0.0",
137
- "@storybook/test-runner": "^0.18.0",
88
+ "@storybook/addon-a11y": "^10.1.9",
89
+ "@storybook/addon-docs": "^10.1.9",
90
+ "@storybook/addon-links": "^10.1.9",
91
+ "@storybook/addon-onboarding": "^10.1.9",
92
+ "@storybook/react": "^10.1.9",
93
+ "@storybook/react-vite": "^10.1.9",
94
+ "@storybook/test": "^8.6.14",
95
+ "@storybook/test-runner": "^0.24.2",
138
96
  "@testing-library/jest-dom": "^6.0.0",
139
97
  "@testing-library/react": "^16.0.0",
140
98
  "@testing-library/user-event": "^14.0.0",
141
99
  "@types/node": "^20.19.25",
142
100
  "@types/react": "^19",
143
101
  "@types/react-dom": "^19",
102
+ "@typescript-eslint/types": "^8.47.0",
103
+ "@typescript-eslint/utils": "^8.47.0",
144
104
  "@vitejs/plugin-react": "^4.0.0",
145
105
  "@vitest/coverage-v8": "^4.0.15",
146
106
  "@vitest/ui": "^4.0.15",
147
107
  "autoprefixer": "^10.0.0",
148
108
  "axe-core": "^4.10.0",
109
+ "chromatic": "^13.3.4",
149
110
  "conventional-changelog-conventionalcommits": "^9.1.0",
150
111
  "eslint": "^9.38.0",
151
112
  "eslint-config-prettier": "^9.1.2",
152
113
  "eslint-plugin-react": "^7.37.2",
153
114
  "eslint-plugin-react-hooks": "^5.2.0",
154
115
  "eslint-plugin-simple-import-sort": "^12.1.1",
116
+ "eslint-plugin-storybook": "10.1.9",
155
117
  "eslint-plugin-unused-imports": "^4.3.0",
156
118
  "husky": "^9.1.7",
157
119
  "jsdom": "^27.3.0",
@@ -161,14 +123,12 @@
161
123
  "prettier-plugin-tailwindcss": "^0.7.1",
162
124
  "rimraf": "^6.0.1",
163
125
  "semantic-release": "^25.0.2",
164
- "storybook": "^8.0.0",
126
+ "storybook": "^10.1.9",
165
127
  "tailwindcss": "^3.0.0",
166
128
  "tsup": "^8.5.1",
167
129
  "tsx": "^4.19.2",
168
130
  "typescript": "^5.9.3",
169
131
  "typescript-eslint": "^8.47.0",
170
- "@typescript-eslint/utils": "^8.47.0",
171
- "@typescript-eslint/types": "^8.47.0",
172
132
  "vite": "^5.0.0",
173
133
  "vitest": "^4.0.15",
174
134
  "vitest-axe": "^0.1.0"
@@ -195,5 +155,44 @@
195
155
  "import": "./dist/theme/index.mjs",
196
156
  "require": "./dist/theme/index.cjs"
197
157
  }
158
+ },
159
+ "scripts": {
160
+ "storybook": "storybook dev -p 6006",
161
+ "format": "prettier . --write",
162
+ "lint:fix": "./scripts/lint-local.sh",
163
+ "typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
164
+ "test": "vitest run",
165
+ "ci:local": "./scripts/ci-local.sh",
166
+ "test:ui": "vitest --ui",
167
+ "ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
168
+ "build": "tsup",
169
+ "dev": "vite build --watch",
170
+ "clean": "rimraf dist",
171
+ "format:check": "prettier . --check",
172
+ "lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
173
+ "lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
174
+ "lint:ci": "./scripts/lint-ci.sh",
175
+ "lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
176
+ "lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
177
+ "precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
178
+ "test:watch": "vitest",
179
+ "test:coverage": "vitest run --coverage",
180
+ "test:a11y": "vitest run a11y.test",
181
+ "a11y:contrast": "tsx scripts/a11y-contrast-check.js",
182
+ "build-storybook": "storybook build",
183
+ "chromatic": "./scripts/chromatic.sh",
184
+ "chromatic:ci": "CHROMATIC_CI_MODE=true ./scripts/chromatic.sh",
185
+ "preview": "vite preview",
186
+ "validate": "npm run typecheck && npm run lint:check && npm run format:check",
187
+ "theme:create": "tsx scripts/theme-cli.ts create",
188
+ "theme:validate": "tsx scripts/theme-validate.ts",
189
+ "ui:check": "tsx scripts/check-ui-consistency.ts",
190
+ "tokens:export": "npx tsx scripts/export-tokens.ts",
191
+ "commitlint": "commitlint",
192
+ "publish:patch": "./scripts/publish.sh patch",
193
+ "publish:minor": "./scripts/publish.sh minor",
194
+ "publish:major": "./scripts/publish.sh major",
195
+ "safelist:generate": "tsx scripts/generateTailwindSafelist.ts",
196
+ "verify:interaction-authority": "node scripts/verify-interaction-authority.mjs"
198
197
  }
199
- }
198
+ }