Skip to content

Commit 2ce8db6

Browse files
committed
chore: use release-it deps for releasing new versions
1 parent 973b72f commit 2ce8db6

File tree

2 files changed

+2279
-71
lines changed

2 files changed

+2279
-71
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
"start": "ng serve --port 4300",
1919
"postinstall": "ngcc",
2020
"prebuild": "npm-run-all delete:dist lint",
21-
"build": "npm run packagr",
21+
"build": "ng-packagr -p ng-package.json",
2222
"delete:dist": "cross-env rimraf dist",
2323
"lint": "ng lint",
2424
"packagr": "ng-packagr -p ng-package.json",
2525
"build:demo": "ng build --configuration=production --base-href=\"\"",
26-
"pack-lib": "npm pack ./dist"
26+
"pack-lib": "npm pack ./dist",
27+
"release": "release-it --only-version"
2728
},
2829
"repository": {
2930
"type": "git",
@@ -62,6 +63,7 @@
6263
"@angular/platform-browser": "^14.2.10",
6364
"@angular/platform-browser-dynamic": "^14.2.10",
6465
"@angular/router": "^14.2.10",
66+
"@release-it/conventional-changelog": "^5.1.1",
6567
"@types/jquery": "^3.5.14",
6668
"@types/node": "^18.7.16",
6769
"@typescript-eslint/eslint-plugin": "^5.42.1",
@@ -73,6 +75,7 @@
7375
"ng-packagr": "^14.2.2",
7476
"ngx-markdown": "^14.0.1",
7577
"npm-run-all2": "^6.0.4",
78+
"release-it": "^15.5.1",
7679
"rimraf": "^3.0.2",
7780
"sass": "^1.56.1",
7881
"ts-node": "^10.9.1",

0 commit comments

Comments
 (0)