@reactor-team/ui 0.1.4 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +27 -4
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -89,9 +89,32 @@ The library uses CSS custom properties for design tokens:
89
89
  ### Typography
90
90
  - `--reactor-font-mono`: 'IBM Plex Mono', monospace
91
91
 
92
- ### Shadows
93
- - `--reactor-shadow-button`: Multi-layer box shadow
92
+ ## Contributing
94
93
 
95
- ## License
94
+ This project uses [semantic-release](https://github.com/semantic-release/semantic-release) for automated versioning and publishing. Your commit messages determine the version bump:
96
95
 
97
- MIT
96
+ | Commit message | Release type |
97
+ |----------------|--------------|
98
+ | `fix: fix button hover state` | Patch (0.1.0 → 0.1.1) |
99
+ | `feat: add Input component` | Minor (0.1.0 → 0.2.0) |
100
+ | `feat!: redesign Button API` | Major (0.1.0 → 1.0.0) |
101
+ | `BREAKING CHANGE: remove shadow prop` | Major (0.1.0 → 1.0.0) |
102
+ | `chore: update deps` | No release |
103
+ | `docs: update readme` | No release |
104
+
105
+ ### Releasing
106
+
107
+ Just push to `main` with a valid commit message:
108
+
109
+ ```bash
110
+ git add .
111
+ git commit -m "feat: add new component"
112
+ git push
113
+ ```
114
+
115
+ The GitHub Action will automatically:
116
+ 1. Analyze your commits
117
+ 2. Bump the version
118
+ 3. Update CHANGELOG.md
119
+ 4. Publish to npm
120
+ 5. Create a GitHub release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactor-team/ui",
3
- "version": "0.1.4",
3
+ "version": "1.0.1",
4
4
  "description": "Reactor UI Component Library - Reusable React components for Reactor applications",
5
5
  "type": "module",
6
6
  "main": "./dist/reactor-ui.cjs",
@@ -53,6 +53,8 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@chromatic-com/storybook": "^3.2.6",
56
+ "@semantic-release/changelog": "^6.0.3",
57
+ "@semantic-release/git": "^10.0.1",
56
58
  "@storybook/addon-essentials": "^8.6.12",
57
59
  "@storybook/addon-interactions": "^8.6.12",
58
60
  "@storybook/addon-links": "^8.6.12",
@@ -65,6 +67,7 @@
65
67
  "@vitejs/plugin-react": "^4.5.2",
66
68
  "react": "^19.2.3",
67
69
  "react-dom": "^19.2.3",
70
+ "semantic-release": "^25.0.2",
68
71
  "storybook": "^8.6.12",
69
72
  "typescript": "^5.9.3",
70
73
  "vite": "^6.3.5",