Skip to content

Commit

Permalink
chore: v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Apr 10, 2024
1 parent 3ac50b9 commit 034e4f8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
29 changes: 29 additions & 0 deletions .release-it.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
git: {
commitMessage: 'chore(release): v${version}',
push: true,
commit: true,
tag: true,
requireCommits: false,
requireCleanWorkingDir: false
},
github: {
release: true,
draft: true
},
npm: {
publish: true,
ignoreVersion: false
},
plugins: {
'@release-it/conventional-changelog': {
preset: 'angular',
infile: 'CHANGELOG.md',
header: '# Changelog'
}
},
hooks: {
'after:bump': 'pnpm run build',
'after:release': 'echo Successfully released ${name} v${version} to ${repo.repository}.'
}
}
35 changes: 3 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pansy/request",
"version": "3.3.0",
"version": "4.0.0",
"description": "基于 Axios 的统一网络请求和错误处理方案",
"main": "dist/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -39,47 +39,18 @@
"@antfu/eslint-config": "^2.13.2",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@release-it/conventional-changelog": "^7.0.0",
"@release-it/conventional-changelog": "^8.0.1",
"@testing-library/jest-dom": "^6.4.2",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"release-it": "^16.1.3",
"release-it": "^17.1.1",
"tsup": "^8.0.2",
"typescript": "^5.4.4",
"vitest": "^1.4.0",
"vitest-mock-axios": "^0.1.0"
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}",
"push": true,
"commit": true,
"tag": true,
"requireCommits": false,
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"draft": true
},
"npm": {
"publish": true,
"ignoreVersion": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
},
"hooks": {
"after:bump": "pnpm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
},
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit 034e4f8

Please sign in to comment.