Bump components version and add single publish instructions (https://github.com/woocommerce/woocommerce-admin/pull/6736)

This commit is contained in:
Paul Sealock 2021-04-02 12:28:03 +13:00 committed by GitHub
parent 762663cb4e
commit 3dcb7697e5
3 changed files with 11 additions and 2 deletions

View File

@ -89,3 +89,12 @@ Changes:
If you accept, Lerna will create git tags, publish those to github, then push your packages to npm.
🎉 You have a published package!
### Publishing a single package
Sometimes, its helpful to release a singular package. This can be done directly through npm. Be sure versions and builds are correct.
- Bump the version in the package's package.json as well as its CHANGELOG file.
- `npm install && npm run build` to build packages.
- `cd packages/<package-name>`
- `npm publish`

View File

@ -1,4 +1,4 @@
# Unreleased
# 6.0.0
- Change styling of `<ProductImage />`.
- Remove the `showCount` prop from `<SearchListItem>`. Count will always be displayed if any of those props is not undefined/null: `countLabel` and `item.count`.

View File

@ -1,6 +1,6 @@
{
"name": "@woocommerce/components",
"version": "5.1.2",
"version": "6.0.0",
"description": "UI components for WooCommerce.",
"author": "Automattic",
"license": "GPL-3.0-or-later",