Skip to content

Commit 02b6d0c

Browse files
committed
replaces np
1 parent f37b510 commit 02b6d0c

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

.release-it.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"git": {
3+
"requireBranch": "main",
4+
"requireCleanWorkingDir": true,
5+
"requireUpstream": true
6+
},
7+
"npm": {
8+
"publish": true
9+
},
10+
"hooks": {
11+
"before:init": [
12+
"npm run test"
13+
],
14+
"after:bump": [
15+
"npm run version"
16+
]
17+
}
18+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"cover:html": "c8 report --reporter=html",
4141
"test": "run-s lint test:ci",
4242
"version": "run-s lint docs",
43-
"release": "np",
43+
"release": "release-it",
4444
"prepare": "husky"
4545
},
4646
"dependencies": {
@@ -63,11 +63,11 @@
6363
"documentation": "^14.0.3",
6464
"husky": "^9.1.7",
6565
"lint-staged": "^17.0.4",
66-
"np": "^11.2.1",
6766
"npm-run-all": "^4.1.5",
6867
"prettier": "^3.8.3",
6968
"prettier-eslint": "^16.4.2",
7069
"prettier-eslint-cli": "^8.0.1",
70+
"release-it": "^17.6.0",
7171
"tempfile": "^6.0.1"
7272
},
7373
"peerDependencies": {

0 commit comments

Comments
 (0)