From c5fef1231884397914eb4670c0b1a0d02fe19452 Mon Sep 17 00:00:00 2001 From: Joel Denning Date: Tue, 27 Jul 2021 17:09:03 -0600 Subject: [PATCH] v5.0.2 --- CONTRIBUTING.md | 18 ++++++++++++++++++ libs/single-spa-angular/package.json | 2 +- yarn.lock | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index acd679c..65493c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,3 +65,21 @@ yarn add file:../single-spa-angular/lib yarn build yarn start ``` + +# Publishing + +1. Modify `libs/single-spa-angular/package.json` to have the new `"version"` +2. Terminal commands + +```sh +yarn build +cd lib +yarn publish # do not change the version - it already has correct version from step 1 +cd .. +git add . +git commit -m "v1.2.5" # replace 1.2.5 with the newly published version +git tag -a v1.2.5 -m v.1.2.5 # replace 1.2.5 with the newly published version +git push +``` + +3. Create Github release diff --git a/libs/single-spa-angular/package.json b/libs/single-spa-angular/package.json index b086af8..967a649 100644 --- a/libs/single-spa-angular/package.json +++ b/libs/single-spa-angular/package.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/ng-packagr/ng-package.schema.json", "name": "single-spa-angular", - "version": "5.0.1", + "version": "5.0.2", "description": "Helpers for building single-spa applications which use Angular 2", "schematics": "./schematics/schematics.json", "repository": { diff --git a/yarn.lock b/yarn.lock index 7fb963e..90aeb3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@angular-builders/custom-webpack@^12.0.0-beta.0": +"@angular-builders/custom-webpack@12.0.0": version "12.0.0" resolved "https://registry.yarnpkg.com/@angular-builders/custom-webpack/-/custom-webpack-12.0.0.tgz#370b4a8794d760a3e2cd6404a085d191ac8932ee" integrity sha512-IvgSdapwopWpT2s34h18ubmQqADiA9jKQruhBVnQIWQP6Ro3mk1JIzIlOe09iKqpQH1zqYG6b4l3Gg/TjqJSaQ==