@reactor-team/ui 0.1.4 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +28 -2
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -92,6 +92,32 @@ The library uses CSS custom properties for design tokens:
92
92
  ### Shadows
93
93
  - `--reactor-shadow-button`: Multi-layer box shadow
94
94
 
95
- ## License
95
+ ## Contributing
96
96
 
97
- MIT
97
+ This project uses [semantic-release](https://github.com/semantic-release/semantic-release) for automated versioning and publishing. Your commit messages determine the version bump:
98
+
99
+ | Commit message | Release type |
100
+ |----------------|--------------|
101
+ | `fix: fix button hover state` | Patch (0.1.0 → 0.1.1) |
102
+ | `feat: add Input component` | Minor (0.1.0 → 0.2.0) |
103
+ | `feat!: redesign Button API` | Major (0.1.0 → 1.0.0) |
104
+ | `BREAKING CHANGE: remove shadow prop` | Major (0.1.0 → 1.0.0) |
105
+ | `chore: update deps` | No release |
106
+ | `docs: update readme` | No release |
107
+
108
+ ### Releasing
109
+
110
+ Just push to `main` with a valid commit message:
111
+
112
+ ```bash
113
+ git add .
114
+ git commit -m "feat: add new component"
115
+ git push
116
+ ```
117
+
118
+ The GitHub Action will automatically:
119
+ 1. Analyze your commits
120
+ 2. Bump the version
121
+ 3. Update CHANGELOG.md
122
+ 4. Publish to npm
123
+ 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.0",
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",