Skip to content

Commit 94a76e9

Browse files
committed
chore: update release config
1 parent 9b7eb3e commit 94a76e9

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint": "oxlint",
1515
"format": "oxfmt",
1616
"format:check": "oxfmt --check",
17-
"release": "release-it"
17+
"release": "pnpm --dir projects/lib exec release-it"
1818
},
1919
"dependencies": {
2020
"@angular/cdk": "^21.2.11",
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"npm": {
1414
"publish": true,
15-
"publishPath": "./dist/lib"
15+
"publishPath": "../../dist/lib"
1616
},
1717
"github": {
1818
"release": true,
@@ -22,16 +22,12 @@
2222
"releaseName": "Release v${version}"
2323
},
2424
"hooks": {
25-
"after:bump": ["pnpm run build:lib"]
25+
"after:bump": ["pnpm --dir ../.. run build:lib"]
2626
},
2727
"plugins": {
2828
"@release-it/conventional-changelog": {
2929
"preset": "angular",
30-
"infile": "CHANGELOG.md"
31-
},
32-
"@release-it/bumper": {
33-
"in": "projects/lib/package.json",
34-
"out": "projects/lib/package.json"
30+
"infile": "../../CHANGELOG.md"
3531
}
3632
}
3733
}

0 commit comments

Comments
 (0)