@qodo/design-system 0.12.0 → 0.14.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/README.md +2 -20
- package/dist/index.cjs.js +37 -37
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.esm.js +1640 -1594
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -239,29 +239,11 @@ If you encounter issues:
|
|
|
239
239
|
|
|
240
240
|
The design system is automatically published to NPM through GitHub Actions. There are multiple ways to deploy new versions:
|
|
241
241
|
|
|
242
|
-
###
|
|
243
|
-
|
|
244
|
-
Create and push a version tag to automatically trigger deployment:
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
# Bump version and create tag
|
|
248
|
-
npm version patch # or minor, major
|
|
249
|
-
# Checkout to main..
|
|
250
|
-
git push origin main --tags
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
This will:
|
|
254
|
-
|
|
255
|
-
- Run tests and linting
|
|
256
|
-
- Build the design system
|
|
257
|
-
- Publish to NPM registry
|
|
258
|
-
- Create a GitHub release
|
|
259
|
-
- Send Slack notifications
|
|
260
|
-
|
|
261
|
-
### Manual Deployment
|
|
242
|
+
### Deployment
|
|
262
243
|
|
|
263
244
|
For more control over the release process:
|
|
264
245
|
|
|
246
|
+
0. **Prerequisites**: Bump version and commit to `main` branch (`npm version patch # or minor, major`)
|
|
265
247
|
1. **Go to GitHub Actions** in your repository
|
|
266
248
|
2. **Select "Publish to NPM"** workflow
|
|
267
249
|
3. **Click "Run workflow"**
|