@openfin/ui-library 0.14.1-alpha.1680266745 → 0.14.1-alpha.1680287202

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 +10 -24
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -116,6 +116,8 @@ Also keep in mind, UI Library is a home of centralized common components, **used
116
116
 
117
117
  Meaning: While there are no hard rules about what belongs in _our_ library, if a change is too opinionated or too specialized, it may make sense to leave it out. **A library that does less, is a lot easier to know and work with**.
118
118
 
119
+ **Please be sure to update the package version before submitting your pull request.** If you are unsure what the new verison should be, please refer to [Semantic Versioning](https://semver.org/).
120
+
119
121
  ### Storybook
120
122
 
121
123
  Great for exploring and experimenting with UI Library components. It's also used for [testing our components](https://storybook.js.org/docs/react/workflows/unit-testing).
@@ -191,32 +193,16 @@ npm run test
191
193
 
192
194
  ### 1. Create a release branch
193
195
 
194
- Note the new release version, and create a branch from `main` solely for versioning:
195
-
196
- ```sh
197
- # Fetch and merge latest main branch
198
- $ git checkout main && git pull
199
-
200
- # Create new release branch
201
- $ git checkout -b release/<new-version-number>
202
-
203
- # Commit new version
204
- $ npm version <major|minor|patch>
205
-
206
- # Push release branch remotely
207
- $ git push -u origin release/<new-version-number>
208
- ```
209
-
210
- ### 2. Create a pull request
211
-
212
- You should now be able to open a pull request with `release/<new-version-number>` against `main`. Get that approved and merged.
196
+ Once all PRs meant for a release are merged into `main` branch, you should now create a new release branch in github. To do so, go to the [list of branches](https://github.com/openfin/ui-library/branches) and click 'New Branch.' Name the new branch `release/<new-version-number>` (for example `release/0.14.3`) and make sure the branch source is `main`.
213
197
 
214
- ### 3. Create a new release on Github
198
+ ### 2. Create a new release on Github
215
199
 
216
- Once your release branch is merged into main, you should now create a release through github:
200
+ Once you have created the release branch, you should now create a release through github:
217
201
 
218
202
  - Click [Create a New Release](https://github.com/openfin/ui-library/releases/new)
219
- - Enter the version name as the tag and the release title
220
- - Enter a description that includes all feature ticket numbers that were included since the previous release. Don't worry, you can always go back and edit it later.
203
+ - Create a new tag, labelled `<new-version-number>`. (for example `0.14.3`)
204
+ - Change the target branch to the release branch you just created.
205
+ - Enter the release title to match the tag you just created. (for example `0.14.3`)
206
+ - In the description, enter the changelog from the previous tag. (for example if previous tag is `0.13.0` then your description should be "Change log: `https://github.com/openfin/ui-library/compare/0.13.0...0.14.3`") (Don't worry, you can always go back and edit the description later.)
221
207
 
222
- This triggers a Github Action to automatically build the latest version of the `ui-library` and package it for remote installation. Check the status of this task within this repo's actions tab.
208
+ This triggers a Github Action to automatically build the latest version of the `ui-library` and package it for remote installation. You can check the status of this task within this repo's actions tab.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openfin/ui-library",
3
3
  "description": "OpenFin UI Component Library",
4
- "version": "0.14.1-alpha.1680266745",
4
+ "version": "0.14.1-alpha.1680287202",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "repository": "github:openfin/ui-library",