Skip to content

Commit

Permalink
fix: remove commitlint upgrade semantic release (#63)
Browse files Browse the repository at this point in the history
* chore: remove local commit check

* ci: use mjs config

* deps(semantic-release): upgrade deps
  • Loading branch information
robence authored Jun 7, 2024
1 parent 471aab4 commit 4fbd888
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 407 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
node-version: lts/*

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -32,4 +32,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release@23
run: npx semantic-release@24
1 change: 0 additions & 1 deletion .husky/commit-msg

This file was deleted.

7 changes: 0 additions & 7 deletions commitlint.config.js

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,18 @@
"build": "rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh",
"lint": "eslint .",
"unit": "mocha --exit",
"test": "eslint . && c8 --temp-directory=./test/coverage/tmp vitest run && c8 report --reporter=text-lcov --report-dir=./test/coverage/ --reporter=lcovonly | coveralls",
"prepare": "husky"
"test": "eslint . && c8 --temp-directory=./test/coverage/tmp vitest run && c8 report --reporter=text-lcov --report-dir=./test/coverage/ --reporter=lcovonly | coveralls"
},
"type": "module",
"dependencies": {
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/github": "^10.0.3",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^13.0.0",
"@semantic-release/release-notes-generator": "^14.0.0",
"amqplib": "^0.10.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"c8": "^9.1.0",
Expand All @@ -52,10 +49,9 @@
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"husky": "^9.0.11",
"protobufjs": "^7.2.3",
"seed-random": "^2.2.0",
"semantic-release": "^23.1.1",
"semantic-release": "^24.0.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vitest": "^1.6.0"
Expand Down
2 changes: 1 addition & 1 deletion release.config.cjs → release.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
export default {
branches: ['master', { name: 'beta', prerelease: true }],
// eslint-disable-next-line no-template-curly-in-string
tagFormat: '${version}',
Expand Down
Loading

0 comments on commit 4fbd888

Please sign in to comment.