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