Skip to content

Commit 9ce8e14

Browse files
committed
chore: use bumpp
1 parent 4c03367 commit 9ce8e14

File tree

3 files changed

+179
-1569
lines changed

3 files changed

+179
-1569
lines changed

bump.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { defineConfig } from 'bumpp'
2+
3+
export default defineConfig({
4+
execute: 'npm run changelog',
5+
all: true,
6+
})

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"lint": "eslint . --ext .mjs,.js,.jsx,.ts,.tsx",
1818
"lint:fix": "yarn lint --fix",
1919
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
20-
"pub": "np --no-publish",
20+
"release": "bumpp",
21+
"release:beta": "bumpp --preid beta --no-push",
2122
"version": "npm run changelog && git add .",
2223
"snyk-protect": "snyk-protect",
2324
"prepare": "npm run snyk-protect && husky install",
@@ -84,6 +85,7 @@
8485
"babel-plugin-module-resolver": "^5.0.0",
8586
"babel-plugin-twin": "^1.1.0",
8687
"bluebird": "^3.7.2",
88+
"bumpp": "^9.1.1",
8789
"bytes": "^3.1.0",
8890
"chart.js": "^4.3.3",
8991
"chartjs-adapter-dayjs-4": "^1.0.4",
@@ -116,7 +118,6 @@
116118
"lodash-es": "^4.17.15",
117119
"lucide-react": "^0.263.1",
118120
"node-sass": "^9.0.0",
119-
"np": "^8.0.4",
120121
"npm-debug-log-cleaner": "^1.0.3",
121122
"path-browserify": "^1.0.1",
122123
"postcss": "^8.4.27",

0 commit comments

Comments
 (0)