From 3dcb7697e551cde4bff4abe6d01862f422385b35 Mon Sep 17 00:00:00 2001 From: Paul Sealock Date: Fri, 2 Apr 2021 12:28:03 +1300 Subject: [PATCH] Bump components version and add single publish instructions (https://github.com/woocommerce/woocommerce-admin/pull/6736) --- plugins/woocommerce-admin/packages/README.md | 9 +++++++++ .../woocommerce-admin/packages/components/CHANGELOG.md | 2 +- .../woocommerce-admin/packages/components/package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/packages/README.md b/plugins/woocommerce-admin/packages/README.md index b118ce87c93..5db3385144a 100644 --- a/plugins/woocommerce-admin/packages/README.md +++ b/plugins/woocommerce-admin/packages/README.md @@ -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/` +- `npm publish` diff --git a/plugins/woocommerce-admin/packages/components/CHANGELOG.md b/plugins/woocommerce-admin/packages/components/CHANGELOG.md index 1e99b30d2ff..44187f7b38a 100644 --- a/plugins/woocommerce-admin/packages/components/CHANGELOG.md +++ b/plugins/woocommerce-admin/packages/components/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 6.0.0 - Change styling of ``. - Remove the `showCount` prop from ``. Count will always be displayed if any of those props is not undefined/null: `countLabel` and `item.count`. diff --git a/plugins/woocommerce-admin/packages/components/package.json b/plugins/woocommerce-admin/packages/components/package.json index f18df880a88..63583f0e6fd 100644 --- a/plugins/woocommerce-admin/packages/components/package.json +++ b/plugins/woocommerce-admin/packages/components/package.json @@ -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",