@tenerife.music/ui 1.1.1 → 1.2.1

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": "@tenerife.music/ui",
3
- "version": "1.1.1",
3
+ "version": "1.2.1",
4
4
  "private": false,
5
5
  "packageManager": "pnpm@10.26.0",
6
6
  "type": "module",
@@ -34,57 +34,59 @@
34
34
  "module": "dist/index.mjs",
35
35
  "types": "dist/index.d.ts",
36
36
  "files": [
37
- "dist"
37
+ "dist",
38
+ "README.md"
38
39
  ],
39
40
  "publishConfig": {
40
41
  "access": "public"
41
42
  },
42
43
  "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",
44
+ "dev": "tsup --watch",
51
45
  "build": "tsup",
52
- "dev": "vite build --watch",
53
46
  "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/**'",
47
+ "preview": "vite preview",
48
+ "storybook": "storybook dev -p 6006",
49
+ "build-storybook": "storybook build",
50
+ "chromatic": "./scripts/chromatic.sh",
51
+ "chromatic:ci": "CHROMATIC_CI_MODE=true ./scripts/chromatic.sh",
52
+ "test": "vitest run",
61
53
  "test:watch": "vitest",
54
+ "test:ui": "vitest --ui",
62
55
  "test:coverage": "vitest run --coverage",
63
56
  "test:a11y": "vitest run a11y.test",
64
57
  "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",
58
+ "typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
59
+ "lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
60
+ "lint:fix": "./scripts/lint-local.sh",
61
+ "lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
62
+ "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/**'",
63
+ "lint:ci": "./scripts/lint-ci.sh",
64
+ "lint:rules": "eslint --config eslint-rules/eslint.config.mjs eslint-rules",
65
+ "format": "prettier . --write",
66
+ "format:check": "prettier . --check",
67
+ "validate": "pnpm typecheck && pnpm lint:check && pnpm format:check",
68
+ "ci": "pnpm typecheck && pnpm lint:strict && pnpm format:check && pnpm build && pnpm test",
69
+ "ci:full": "pnpm run ci && pnpm test:coverage && pnpm ci:a11y",
70
+ "ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
71
+ "ci:local": "./scripts/ci-local.sh",
75
72
  "publish:patch": "./scripts/publish.sh patch",
76
73
  "publish:minor": "./scripts/publish.sh minor",
77
74
  "publish:major": "./scripts/publish.sh major",
75
+ "prepublishOnly": "pnpm clean && pnpm build && pnpm typecheck",
76
+ "theme:create": "tsx scripts/theme-cli.ts create",
77
+ "theme:validate": "tsx scripts/theme-validate.ts",
78
+ "tokens:export": "tsx scripts/export-tokens.ts",
79
+ "ui:check": "tsx scripts/check-ui-consistency.ts",
78
80
  "safelist:generate": "tsx scripts/generateTailwindSafelist.ts",
79
81
  "verify:interaction-authority": "node scripts/verify-interaction-authority.mjs",
80
- "chromatic": "./scripts/chromatic.sh",
81
- "chromatic:ci": "CHROMATIC_CI_MODE=true ./scripts/chromatic.sh",
82
82
  "docs:dev": "cd docs-app && npm run docs:dev",
83
83
  "docs:build": "cd docs-app && npm run docs:build",
84
84
  "docs:start": "cd docs-app && npm run docs:start",
85
85
  "docs:generate-api": "cd docs-app && npm run docs:generate-api",
86
86
  "docs:validate": "cd docs-app && npm run docs:validate",
87
- "docs:analyze": "cd docs-app && npm run docs:analyze"
87
+ "docs:analyze": "cd docs-app && npm run docs:analyze",
88
+ "commitlint": "commitlint",
89
+ "prepare": "husky"
88
90
  },
89
91
  "peerDependencies": {
90
92
  "react": "^18 || ^19",
@@ -133,12 +135,12 @@
133
135
  "@semantic-release/github": "^12.0.2",
134
136
  "@semantic-release/npm": "^13.1.2",
135
137
  "@semantic-release/release-notes-generator": "^14.1.0",
136
- "@storybook/addon-a11y": "^10.1.9",
137
- "@storybook/addon-docs": "^10.1.9",
138
- "@storybook/addon-links": "^10.1.9",
139
- "@storybook/addon-onboarding": "^10.1.9",
140
- "@storybook/react": "^10.1.9",
141
- "@storybook/react-vite": "^10.1.9",
138
+ "@storybook/addon-a11y": "^10.1.10",
139
+ "@storybook/addon-docs": "^10.1.10",
140
+ "@storybook/addon-links": "^10.1.10",
141
+ "@storybook/addon-onboarding": "^10.1.10",
142
+ "@storybook/react": "^10.1.10",
143
+ "@storybook/react-vite": "^10.1.10",
142
144
  "@storybook/test": "^8.6.14",
143
145
  "@storybook/test-runner": "^0.24.2",
144
146
  "@testing-library/jest-dom": "^6.0.0",
@@ -161,7 +163,7 @@
161
163
  "eslint-plugin-react": "^7.37.2",
162
164
  "eslint-plugin-react-hooks": "^5.2.0",
163
165
  "eslint-plugin-simple-import-sort": "^12.1.1",
164
- "eslint-plugin-storybook": "10.1.9",
166
+ "eslint-plugin-storybook": "10.1.10",
165
167
  "eslint-plugin-unused-imports": "^4.3.0",
166
168
  "husky": "^9.1.7",
167
169
  "jsdom": "^27.3.0",
@@ -171,7 +173,7 @@
171
173
  "prettier-plugin-tailwindcss": "^0.7.1",
172
174
  "rimraf": "^6.0.1",
173
175
  "semantic-release": "^25.0.2",
174
- "storybook": "^10.1.9",
176
+ "storybook": "^10.1.10",
175
177
  "tailwindcss": "^3.0.0",
176
178
  "tsup": "^8.5.1",
177
179
  "tsx": "^4.19.2",