Skip to content

Commit 5826f25

Browse files
committed
Release 5.1.0
1 parent 3b31b71 commit 5826f25

File tree

1 file changed

+29
-2
lines changed
  • projects/angular-material-extensions/password-strength

1 file changed

+29
-2
lines changed

projects/angular-material-extensions/password-strength/package.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@angular-material-extensions/password-strength",
33
"description": "Material password strength meter to indicate how secure is the provided password",
4-
"version": "5.0.0",
4+
"version": "5.1.0",
55
"homepage": "https://github.com/angular-material-extensions/password-strength",
66
"author": {
77
"name": "anthonynahas",
@@ -41,7 +41,7 @@
4141
"release:patch": "../../../node_modules/.bin/release-it --patch --ci",
4242
"release:minor": "../../../node_modules/.bin/release-it --minor --ci",
4343
"release:major": "../../../node_modules/.bin/release-it --major --ci --no-git.requireCleanWorkingDir --dry-run",
44-
"release:custom": "../../../node_modules/.bin/release-it 5.0.0 --ci --no-git.requireCleanWorkingDir",
44+
"release:custom": "../../../node_modules/.bin/release-it 5.1.0 --ci --no-git.requireCleanWorkingDir",
4545
"ng:test": "../../../node_modules/.bin/ng test @angular-material-extensions/password-strength",
4646
"test": "../../../node_modules/.bin/jest --coverage",
4747
"test:watch": "../../../node_modules/.bin/jest --coverage --watch"
@@ -57,6 +57,33 @@
5757
"engines": {
5858
"node": ">=10.13"
5959
},
60+
"release-it": {
61+
"github": {
62+
"release": true
63+
},
64+
"npm": {
65+
"publish": true,
66+
"publishPath": "../../../dist/angular-material-extensions/password-strength"
67+
},
68+
"publishConfig": {
69+
"access": "public"
70+
},
71+
"plugins": {
72+
"@release-it/conventional-changelog": {
73+
"preset": "angular",
74+
"infile": "../../../CHANGELOG.md"
75+
}
76+
},
77+
"hooks": {
78+
"before:init": [
79+
"npm run clean"
80+
],
81+
"after:bump": "echo \"building lib v${version}... \" && npm run build",
82+
"before:git:release": "echo \"Updating CHANGELOG.md for v${version} \" && git commit -m \"Updating CHANGELOG.md for v${version} \" ../../../CHANGELOG.md",
83+
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}.",
84+
"before:npm": "echo building the library..."
85+
}
86+
},
6087
"jest": {
6188
"preset": "jest-preset-angular",
6289
"roots": [

0 commit comments

Comments
 (0)