@segmentify/ui 0.0.26 → 0.0.28

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 +16 -6
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -56,14 +56,24 @@ import '@segmentify/ui/dist/ui.css';
56
56
  - `pnpm format`: Format the codebase using Prettier.
57
57
  - `pnpm release`: Publish the package using Changesets.
58
58
 
59
- ### Creating Changesets
59
+ ## Releasing
60
60
 
61
- This project uses Changesets for versioning and releases. To create a new version:
61
+ This project uses Changesets for versioning and releases.
62
62
 
63
- 1. Run `pnpm changeset`.
64
- 2. Select the packages to version and the type of change (patch, minor, major).
65
- 3. Provide a brief description of the changes.
66
- 4. Commit the generated changeset file.
63
+ ### Configuration
64
+
65
+ To publish new releases, you must have an `.npmrc` file in the root of the project with a valid npm authToken:
66
+
67
+ ```text
68
+ @segmentify:registry=https://registry.npmjs.org/
69
+ //registry.npmjs.org/:_authToken=YOUR_NPM_AUTH_TOKEN
70
+ ```
71
+
72
+ ### Process
73
+
74
+ 1. **Create a Changeset**: Run `pnpm changeset` and follow the prompts to document your changes.
75
+ 2. **Version Packages**: Run `pnpm version-packages` to update versions and the changelog.
76
+ 3. **Publish**: Run `pnpm release` to publish the new version to npm.
67
77
 
68
78
  ## License
69
79
 
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/segmentify-frontend/segmentify-ui.git"
8
8
  },
9
9
  "license": "MIT",
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
10
13
  "homepage": "https://github.com/segmentify-frontend/segmentify-ui#readme",
11
14
  "type": "module",
12
15
  "main": "./dist/segmentify-ui.cjs",